From 248ba78e1598e8e22e02e95a9bc2fa025bf44e1b Mon Sep 17 00:00:00 2001 From: Cobra Date: Wed, 8 Apr 2026 15:56:48 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20WiFi:=20enable=20wpa=5Fsupplicant@wlan0?= =?UTF-8?q?=20=E2=80=94=20instance=20was=20never=20linked?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- operator_setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/operator_setup.sh b/operator_setup.sh index bc9f07c..c94ee34 100755 --- a/operator_setup.sh +++ b/operator_setup.sh @@ -529,6 +529,11 @@ EOF # Both would fight over wlan0, causing WiFi instability and SSH drops rm -f "${MOUNT_POINT}/etc/systemd/system/multi-user.target.wants/wpa_supplicant.service" + # Enable the per-interface instance — this is what actually drives wlan0 + mkdir -p "${MOUNT_POINT}/etc/systemd/system/multi-user.target.wants" + ln -sf /lib/systemd/system/wpa_supplicant@.service \ + "${MOUNT_POINT}/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service" + # Disable WiFi power saving — aw859a driver drops under load with power save on mkdir -p "${MOUNT_POINT}/etc/udev/rules.d" cat > "${MOUNT_POINT}/etc/udev/rules.d/70-wifi-pm.rules" << 'EOF'