From 77dc691c8783a13e23fe0754a9863eae68d6da1d Mon Sep 17 00:00:00 2001 From: Yangyu Chen Date: Mon, 3 Mar 2025 09:13:09 +0800 Subject: [PATCH] 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 --- docs/wifi.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/wifi.md b/docs/wifi.md index 86d0f65e..2db80a53 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 ```