Commit graph

629 commits

Author SHA1 Message Date
ThomasKaiser
b283ddb7f9 Add virtual memory settings to monitoring 2018-09-27 16:15:13 +02:00
ThomasKaiser
39a1b80585 Adjust another swap anachronism
Allowing the kernel to handle individual pages slightly decreases wear on flash storage and compression/decompression cycles with zram/zswap
2018-09-25 22:13:47 +02:00
ThomasKaiser
7851473fef Bypass/minimize file system caching for ramlog
https://bugzilla.samba.org/show_bug.cgi?id=9560#c3
2018-09-24 17:01:59 +02:00
Thomas Kaiser
9688c96a04 Introduce MEM_LIMIT_PERCENTAGE variable for zram
(defaulting to 50% so zram will not use more than this treshold anyway
2018-09-24 15:48:57 +02:00
Gauthier Provost
7adf9f70cf Fix prefix for generated MAC 2018-09-19 16:25:42 +08:00
Igor Pecovnik
bb81585c61 Set correct file permission 2018-09-18 14:16:26 +02:00
Gauthier Provost
d375c46f4e Helios4 : Linux use eth1addr variable form U-boot as eth0 mac address.
Make armbian-firstrun script also randomizes mac address for eth1addr in armbianEnv.txt
2018-09-18 16:03:41 +08:00
Igor Pecovnik
9ec439f0a7 Meson64 family fixes: set mac addr in kernel, few patches for Lepotato default, kernel config update 2018-09-17 20:31:10 +02:00
Igor Pecovnik
f2d368916a Fix random MAC creation and remove one deprecated patch 2018-09-17 17:38:44 +02:00
Igor Pecovnik
b3d98ecbdb Proper random MAC handling. Set range for Allwinner and locally administered addresses for others. 2018-09-17 14:46:50 +02:00
Igor Pecovnik
acf84bac59 Fix xradio not showing up on Nanopi Duo, set fixed network MAC when using shield, small 1st run script RFC, removing deprecated stuff 2018-09-17 13:25:53 +02:00
5kft
9c15130252 add "discard" option to armbian-ramlog zram mount
When using a zram device mounted and formatted as ext4 it should be mounted using
the "discard" option so that the actual allocated memory is freed and returned to
the system when files are deleted.
2018-09-15 22:10:44 +00:00
5kft
115075f1d6 add "discard" option to zram tmpfs mount
When using a zram device mounted and formatted as ext4 it should be mounted using
the "discard" option so that the actual allocated memory is freed and returned to
the system when files are deleted (as opposed to just flagging the delete in the
metadata, and leaving the underlying memory still allocated).
2018-09-15 16:41:42 +00:00
ThomasKaiser
7521bb7ff1 Consolidate partition handling in nand-sata-install
Use lsblk to identify disks and partitions and treat SATA, USB and NVMe the same
2018-09-12 07:23:50 +02:00
Werner
c3a8d55f3a Allow interface selection on NetworkMonitorMode (#1108)
When running armbianmonitor -N/n and two or more routable network interfaces are detected create a dynamic dialog box to select which interface should be monitored. Otherwise proceed as usual. Also reverts #1106
2018-09-11 22:25:31 +02:00
ThomasKaiser
845baff038 Switch to lzo for zram swap\nhttps://forum.armbian.com/topic/8161-swap-on-sbc/?do=findComment&comment=61668 2018-09-11 14:33:27 +02:00
Werner
00d44fe40f Crude fix for multiple interfaces (#1106)
I ran into an issue that `armbianmonitor -N` and `-n` spit out an `sed` error message and noticed this is caused when multiple network interfaces (like additional `tun`) are detected.
This is a quick and dirty fix and just grabs the first result to make it work.
2018-09-11 12:08:02 +02:00
Igor Pečovnik
4dcceb3f12
Double waiting time
Just in case.
2018-09-10 21:29:19 +02:00
ThomasKaiser
be0778b176 Improve NVMe support
Running with btrfs on el cheapo NVMe SSD: http://ix.io/1mpG
2018-09-10 20:06:46 +02:00
Werner
53819a6212 Fix monitormode run unprivileged (#1107)
* Fix monitormode run unprivileged

Running `armbianmonitor -m/M` non privileged leading into an no permission error as user do not have permission to read `cpuinfo_cur_freq`. This will prevent the error and adds a hint.
2018-09-10 18:33:13 +02:00
Lane Jennison
13ea64b1e9 Revert "Try to fix DNS (privacy) issues"
This reverts commit f10acc0080.

Making room for alternative approach
2018-09-09 23:59:45 -04:00
Igor Pecovnik
fa88e5c2aa Implement bulding and packing all different boot firmware for Espressobin, bump u-boot and ATF sources to latest version 18.09 2018-09-09 23:22:50 +02:00
ThomasKaiser
9eff058568 Improve zram related monitoring 2018-09-06 23:44:37 +02:00
ThomasKaiser
098a391996 Prepare zram compressed /tmp
Will only be active when /tmp entry is removed from /etc/fstab.
2018-09-06 23:08:02 +02:00
Thomas Kaiser
c24ceea4b1
Allow also RAMLOG_ALGORITHM to be defined with zram 2018-09-06 21:56:51 +02:00
Thomas Kaiser
3d0a5a38ca
Split zram swap and ramlog creation
armbian-zram-config acts partially only as helper for armbian-ramlog so use the latter's config.
2018-09-06 21:19:12 +02:00
ThomasKaiser
e0d8b11ade Make SWAP_ALGORITHM also configurable with zram swap 2018-09-06 01:36:18 -07:00
Thomas Kaiser
4804c91114
Make ZRAM_PERCENTAGE and ZRAM_MAX_DEVICES configurable 2018-09-06 10:04:37 +02:00
Igor Pecovnik
50cd819a4d Swappiness correction for update and a few bugfixes https://forum.armbian.com/topic/5565-zram-vs-swap/?page=2&tab=comments#comment-61168 2018-09-04 22:13:43 +02:00
Igor Pecovnik
5d57dbea3a OrangePi win GMAC is very unstable on gigabit. Limit it down to 100Mb solve problems + enlarge desktop image size for 5% 2018-09-03 10:21:07 +02:00
Tanarri
83e593e13e Stop also service "fail2ban"
Apache service is stopped. Why not stopping also the service fail2ban, which is often installed beside apache
2018-09-02 22:31:51 +02:00
Igor Pecovnik
fda2c1c424 Meson64 boot script bugfix and 1st run setting MAC via Network manager for boards where is random 2018-09-02 14:04:16 +02:00
Igor Pečovnik
51b5cfdc42
Merge pull request #1069 from zhiverbox/master
Redo of implementation for feature request #947 on current master
2018-08-31 11:40:33 +02:00
ThomasKaiser
e0a1028797 Set dmc DRAM governor to performance on RK3399/default
https://forum.armbian.com/topic/7511-nanopi-m4/?do=findComment&comment=60848
2018-08-30 18:37:30 +02:00
ThomasKaiser
4910ad2fc2 Revert "Set dmc DRAM governor to performance on RK3398/default"
This reverts commit 3b713754a8.
2018-08-30 18:31:34 +02:00
ThomasKaiser
3b713754a8 Set dmc DRAM governor to performance on RK3399/default
https://forum.armbian.com/topic/7511-nanopi-m4/?do=findComment&comment=60848
2018-08-30 17:59:09 +02:00
zador-blood-stained
64e7dfd923 armbian-add-overlay: Fall back to always using headers dtc
dtc in Bionic still has bugs that affect some overlays
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/livetree.c?id=bba26a5291c8343101e0296b0e478deb4c9b60b0
2018-08-29 21:34:15 +03:00
Igor Pecovnik
936a0ca7b4 Disable Xscreensaver by default 2018-08-29 14:11:51 +02:00
Thomas McKahan
9b6a1c23a3 tinkerboard PA ignore ALC4040
sets udev rule to specifically ignore the USB soundcard on Tinker.
Enumeration of ALC4040 is done with manual config.
2018-08-27 22:59:38 -04:00
Martin Ayotte
f469d4c66e fix missing rockchip64 LINUXFAMILY in nand-sata-install 2018-08-27 17:22:47 -04:00
ThomasKaiser
b00ba112ac Adjust board family rename in armbian-hardware-optimization too 2018-08-26 16:30:28 +02:00
zciendor
bd83c60b23
Merge remote-tracking branch 'upstream/master' 2018-08-26 07:04:03 -05:00
ThomasKaiser
f10acc0080 Try to fix DNS (privacy) issues 2018-08-24 20:26:08 +02:00
Igor Pecovnik
c542b8fee0 Hostapd bump version to override Bionic stock build, Tinkerboard upstream patches 2018-08-23 18:54:54 +02:00
Igor Pecovnik
e04177dfba Updated RK3399 config, revert executing bit on armbian-hardware-optimisation, enable overclocking for RK3399 boards 2018-08-12 19:24:36 +02:00
Thomas Kaiser
efe63dbe7f
Run package integrity check only as root
Closes #1078
2018-08-12 12:08:46 +02:00
Thomas Kaiser
9bce3eb58b
Cosmetic log fix 2018-08-12 11:47:08 +02:00
Thomas Kaiser
68d1fae8ce
RK3399 IRQ affinity assignment first try 2018-08-12 11:41:32 +02:00
Igor Pecovnik
802c7be55f ArmbianEnv.txt file cleanup. Without LF parameters can be added to the same line and board might not boot at all. This should fix the problem. 2018-08-11 17:43:20 +02:00
ThomasKaiser
88ea83e694 armbianmonitor bugfix 2018-08-06 06:56:46 +02:00