wifi: add `key_mgmt=WPA-PSK-SHA256` and `ieee80211w=1` by default (#1254)

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>
This commit is contained in:
Yangyu Chen 2025-03-03 09:13:09 +08:00 committed by GitHub
parent bd93ea2255
commit 77dc691c87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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
```