Igor Pecovnik
bb02c3b951
Firstlogin: run provision script if it does exists
...
- fixing motd setting executing bit at wrong place
- when setting fixed address with 1st run, remove DHCP on all lan networks
2025-01-12 20:52:08 +01:00
Igor
6148907595
Improvements and bug fixes to Armbian user-space services ( #6840 )
...
* Add a list of BASH shell aliases and merge them with ohmyZSH aliases
* Add command armbian-upgrade to the BSP which executes update + upgrade
* Display armbian-upgrade only if there are upgrades
* Generate empty folder where will store data. This doesn't exists at early start
* Move armbian-install to /usr/bin and autoexecute sudo
2024-11-18 19:12:52 +01:00
Igor Pecovnik
cc704f49a6
Cosmetic bugfix - we need to limit grep to match first character only
...
Without this, we grep upgrade options too and this fill give wrong information
2024-11-05 16:34:41 +01:00
Igor Pecovnik
01218eefa4
UX bugfix: on first run we display some warnings if userspace is unsupported. It broke down.
...
Since expanding distribution status with upgrade target, this condition stop working
Related: https://github.com/armbian/build/pull/7303
2024-11-03 17:43:02 +01:00
Igor Pecovnik
eab612e2a7
Firstlogin automation - add support for SSH key download
...
- allow automation in interactive mode too. Currently disabled for no apparent reason.
2024-10-22 13:04:11 +02:00
Alex Shumsky
73d521da42
ramlog: remove obsolete nocache; fixes #6890
2024-10-15 15:56:55 +02:00
Paolo
2960ffaff2
avoid binary led parameters, better handle :link triggers ( #7337 )
2024-10-06 12:22:45 +02:00
Ian Leung
9063695a9e
Orange Pi 3B: Vendor: Enable audio via headphone jack
2024-10-04 07:20:38 +02:00
Igor Pecovnik
140ea243fc
Replace wireless-tools app with iw in armbian-first-login
2024-09-30 18:39:23 +02:00
Gunjan Gupta
31e88922ad
Fix connecting to wifi networks where SSID contains a space or comma
2024-09-25 13:02:53 +02:00
Igor Pecovnik
17e1af68cf
UX: cosmetic improvements on motd and armbian-install
2024-09-18 16:31:46 +02:00
Igor Pecovnik
c6a0cd50a8
Cosmetic / UX: Display VENDORPRETTYNAME instead of VENDOR on 1st welcome screen
...
If defined
2024-09-17 06:54:42 +02:00
David Andreoletti
f145fc2af2
armbian-firstrun: Optionally skip OpenSSH host key regeneration
2024-09-15 11:42:29 +02:00
Igor Pecovnik
e7f9632c1f
When using CLI / minimal image, lets show motd right after initial config is done
2024-09-08 17:43:14 +02:00
Igor Pecovnik
350da61ef2
Mesa extentsion: adjust KDE related troubles with packages downgrade
...
- one is actually general fix - recommened installation of library before installing rockchip-multimedia
- second is holding package before running upgrade as it wants to pull older library from kde repositories
- remove KDE Neon base files upgrade pin
2024-08-17 17:33:28 +02:00
Alex
1e7b704c84
disable saving state for invalid leds brought up in latest kernels ( #7062 )
...
* disable saving state for invalid leds brought up in latest kernels
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-0::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-0::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-1::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-1::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-2::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-2::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-3::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-3::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-0::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-0::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-1::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-1::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-2::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-2::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-3::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-3::lan
These leds are not manageable and when restored trow up errors in kernel ring buffer
[ 13.964507] leds enP1p1s0-0::lan: Setting an LED's brightness failed (-524)
[ 13.989055] leds enP1p1s0-0::lan: Setting an LED's brightness failed (-524)
[ 13.989100] leds enP1p1s0-1::lan: Setting an LED's brightness failed (-524)
[ 14.021133] leds enP1p1s0-1::lan: Setting an LED's brightness failed (-524)
[ 14.021176] leds enP1p1s0-2::lan: Setting an LED's brightness failed (-524)
[ 14.070622] leds enP1p1s0-2::lan: Setting an LED's brightness failed (-524)
[ 14.073070] leds enP1p1s0-3::lan: Setting an LED's brightness failed (-524)
[ 14.097028] leds enP1p1s0-3::lan: Setting an LED's brightness failed (-524)
[ 14.097066] leds enP2p1s0-0::lan: Setting an LED's brightness failed (-524)
[ 14.132938] leds enP2p1s0-0::lan: Setting an LED's brightness failed (-524)
[ 14.132982] leds enP2p1s0-1::lan: Setting an LED's brightness failed (-524)
[ 14.154556] leds enP2p1s0-1::lan: Setting an LED's brightness failed (-524)
[ 14.157496] leds enP2p1s0-2::lan: Setting an LED's brightness failed (-524)
[ 14.197328] leds enP2p1s0-2::lan: Setting an LED's brightness failed (-524)
[ 14.197371] leds enP2p1s0-3::lan: Setting an LED's brightness failed (-524)
[ 14.214507] leds enP2p1s0-3::lan: Setting an LED's brightness failed (-524)
* fix basename path
2024-08-12 10:45:11 +02:00
Igor Pecovnik
8ea1a4df1b
Set fixed mac addresses
2024-08-05 09:38:22 +02:00
Igor Pecovnik
1632cf6905
Enable fixed MAC settings for Nanopi R6 series and supress iozone related error
2024-08-04 14:07:42 +02:00
Igor Pecovnik
2aff2c8e5c
Add support for wan and lan nic names when setting random mac with NetPlan
2024-08-04 14:07:42 +02:00
Jack Thomasson
e7b0c3fb4e
firstlogin: quote values if space is legal ( #6942 )
2024-07-14 07:37:25 +02:00
Viacheslav Bocharov
b739dfdf6b
Fix armbian-firstrun service not disabled on start.
...
Fixes: 7b33243c27
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in >
2024-07-11 11:53:15 +03:00
ColorfulRhino
ccf17a20e8
Purge s5p6818 board family
...
The family consists of 4 boards, but hasn't seen any activity in years,
is unmaintained, stuck on EOL Linux 4.14 and the bootloader does
not build.
2024-07-03 06:49:46 +02:00
Aleksey Vasenev
d5df9f06be
Fix btrfs and xfs resize
2024-07-01 19:15:27 +02:00
Igor Pecovnik
2b494ae46f
Add support for multiple wireless devies at firstlogin
2024-06-30 21:23:27 +02:00
Igor Pecovnik
c0c3102be9
Bugifx: addressing two problems at firstlogin script
...
- removing network manager dependancy
- errors when wireless networking is still not detected
2024-06-30 21:23:27 +02:00
ColorfulRhino
35f19090f9
bsp: armbian-firstrun: Remove old htop
...
They don't work on current versions of `htop`.
2024-06-30 12:27:41 +00:00
ColorfulRhino
c21b416c6e
bsp: hardware-optimization: Add check for BOOT_SOC to fix rk322x optimizations
...
BOARDFAMILY `rk322x` was integrated into the `rockchip` BOARDFAMILY in https://github.com/armbian/build/pull/6092
This integration made the hardware optimization for rk322x not apply anymore.
Also remove a rk322x optimization for an old 4.4 kernel
2024-06-30 10:20:26 +00:00
Igor Pecovnik
d317e5418e
Remove random-mac workaround for rockchip64 family
2024-06-24 12:31:11 +02:00
Igor Pecovnik
7b33243c27
Use netplan mac setting only with systemd-networkd
2024-06-24 12:31:11 +02:00
Alessandro Lannocca
5711d09775
comment network link-state saving prevention
2024-06-20 20:00:33 +02:00
Alessandro Lannocca
7653def211
fix armbian-leds-state-save.sh:
...
don't store parameters for networking link establishment (avoid ghost wan/lan/eth link led up on bootup)
2024-06-20 20:00:33 +02:00
Igor Pecovnik
692574592b
Add support for displaying multiple IP addresses at first login
...
If we have more ethernet devices, we want to list them one after another
Before:
IP address: 1.1.1.1
2.2.2.2
After
IP address: 1.1.1.1,2.2.2.2
2024-06-20 19:59:52 +02:00
Igor Pecovnik
942bd4188d
Replace Network manager nmtui-connect with own method
2024-06-20 19:59:52 +02:00
Igor Pecovnik
ce16e75642
We can only set fixed map for ethernet devices as netplan wants to have defined AP for wifi. Which we don't have yet.
2024-06-20 19:59:52 +02:00
ColorfulRhino
ed45c8bfee
cli: firstlogin: Fix and improve IP address retrieval
...
This should also include the case if zero retries are left, but the IP address has been found on this last retry.
2024-06-20 19:59:52 +02:00
ColorfulRhino
b6f018a2b1
net: Use resolved for DNS resolution
...
- Use resolved no matter what manages the network (networkd or NetworkManager)
- Use resolved.conf.d/ directory to set DNS as recommended by resolved itself
- In armbian-firstrun, remove config specific to mvebu64|mt7623 since this is now done by default
2024-06-20 19:59:52 +02:00
ColorfulRhino
6b7284be3e
bsp: firstrun: Use Netplan for setting fixed MACs
...
Also remove `$BRANCH == dev` line since dev branch does not exist anymore
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a65cf4d9bb
Remove ifupdown leftovers in the code
2024-06-20 19:59:52 +02:00
ColorfulRhino
56267aa0ad
cli: firstlogin: Move IP address retrieval into function and don't run in bg
...
Trying to run this in the background does not work correctly in its current iteration, setting the correct place on the screen for displaying did not work out.
Includes minor fixes and wording improvements.
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a95bdd920f
Refactor automatic configuration at first run
2024-06-20 19:59:52 +02:00
ColorfulRhino
e6fc6d0990
cli: Make IP address retrieval on firstlogin run in the background
...
Otherwise we have to wait until the while loop finishes.
Also includes some fixes and comments.
2024-06-20 19:59:52 +02:00
Igor Pecovnik
f4b160abde
Move Network Manager bits into extensions
...
- use Chrony with Network Manager
- use timesync with systemd-networkd
- use NetPlan with Network manager only
- move command-not-found to CLI image only
- improve firstlogin ip detection
2024-06-20 19:59:52 +02:00
Echoo
3096ee452d
Add new user to render group
2024-05-18 09:47:24 +01:00
Alex
fe64f1f435
RFC: disable ssh.service - enable ssh.socket AND switch firstlogin reload ssh to restart ( #6586 )
...
* reload-or-restart ssh prevents botching if sshd is started by a systemd socket
* restart ssh prevents botching if sshd is started by a systemd socket
* move sshd activation from ssh.service to ssh.socket:
- more realiable, avoids possible race condition on first boot
- supplementary to PR#6586 - and commits ffee50a8a6 and 6725032191
* Add display_alert explaining the change in SSH activation
2024-05-17 15:30:13 +02:00
Lane Jennison
6f33e4f9ca
armbian-hardware-optimize: add thought-provoking FIXMEs to inspire the next generation of tuners
2024-04-26 18:18:03 +08:00
Thomas Kaiser
26dec02ea1
Fully replace Armbian's former limited utilization of cpufrequtils package
2024-04-26 18:18:03 +08:00
Thomas Kaiser
71bd6633c6
Fix RK3588 NAS performance
2024-04-26 18:18:03 +08:00
Antony Kurniawan
4df3bddd64
ramlog: harden the zram mounting
...
this is to improve the score of /var/log for FILE-6374 in Lynis audit
2024-04-17 10:44:55 +00:00
Igor
c16151bed0
Add KDE Neon DE which provides latest and greates KDE DE v6.x ( #6380 )
...
* Add KDE Neon DE which provides latest and greates KDE DE v6.x
* Fixing most obvious problems
2024-03-09 19:49:59 +01:00
Igor Pecovnik
c2fe587716
Unifying style of variables
2024-03-03 16:08:04 +01:00