From f47fa8ef3914be941e28cb35f0fb642e1f9035a6 Mon Sep 17 00:00:00 2001 From: Yangyu Chen Date: Tue, 20 Feb 2024 16:32:34 +0800 Subject: [PATCH] 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 --- docs/wifi.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/wifi.md b/docs/wifi.md index 9418a098..445558cb 100644 --- a/docs/wifi.md +++ b/docs/wifi.md @@ -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 ```