wifi: add `key_mgmt=WPA-PSK-SHA256` and `ieee80211w=1` by default

Some APs with WPA2-PSK/WPA3-SAE mixed mode only support WPA-PSK-SHA256 key
management mode and also require IEEE 802.11w support. Adding these two
lines to the configuration will avoid some troubles when connecting to some
newer APs.

Signed-off-by: Yangyu Chen <cyy@cyyself.name>
pull/1254/head
Yangyu Chen 3 months ago
parent 3b8edefc4d
commit f47fa8ef39

@ -39,6 +39,7 @@ Alternatively you can connect to the PiKVM via SSH. The built-in Web Terminal (a
```
# wpa_passphrase 'MyNetwork' 'P@assw0rd' > /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
# sed -i '$i\\tkey_mgmt=WPA-PSK-SHA256 WPA-PSK\n\tieee80211w=1' /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
# chmod 640 /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
```

Loading…
Cancel
Save