Fix WiFi: enable wpa_supplicant@wlan0 — instance was never linked
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user