From 9f31576f15c3fa7eb1cfce2216d9ab65875f2f0a Mon Sep 17 00:00:00 2001 From: Andrei Aldea Date: Tue, 7 Apr 2026 10:06:46 -0500 Subject: [PATCH] feat(firstlogin): add support for web setup fallback --- packages/bsp/common/usr/lib/armbian/armbian-firstlogin | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/bsp/common/usr/lib/armbian/armbian-firstlogin b/packages/bsp/common/usr/lib/armbian/armbian-firstlogin index 6f520334b6d9..620a4fca67a0 100755 --- a/packages/bsp/common/usr/lib/armbian/armbian-firstlogin +++ b/packages/bsp/common/usr/lib/armbian/armbian-firstlogin @@ -763,6 +763,14 @@ if [[ -f /root/.not_logged_in_yet && -n $(tty) ]]; then # Try to get the local IP address (script halts until IP was found or x retries were done) get_local_ip_addr + if systemctl is-active --quiet armbian-web-config.service; then + WEB_SSID="$(cat /etc/hostname)-armbiansetup" + echo -e "\n\e[1m\e[96mWeb Configuration Available!\x1B[0m" + echo -e "Connect to Wi-Fi SSID: \e[1m\e[92m${WEB_SSID}\x1B[0m" + echo -e "Then open \e[1mhttp://10.42.0.1\x1B[0m in your browser" + echo -e "Or continue with CLI setup below...\n" + fi + [[ -z "$PRESET_ROOT_PASSWORD" ]] && echo "" # empty line trap '' 2