From 1c8fe3219522146a0d7c3bb7d91a7faf052740ed Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Fri, 5 Jul 2024 09:39:21 +0200 Subject: [PATCH] nixos/doc: remove key management setting in wpa_cli examples When manually setting the key management, this will actually cause wifi to not connect if a different type is used by the access point. WPA supplicant typically can detect the key management from the access point's broadcast, and not overriding it has a bigger chance of succeeding. As a `wpa_cli` newbie, I just followed the instructions in the manual on the minimal install disk and they didn't work. I tried setting `key_mgmt` what was shown in the scan results, but `wpa_cli` barfed at the string (quoted or unquoted). Only when dropping the `set key_mgmt` line entirely, it worked. So I think this would provide a better help for people using the minimal install disk. --- nixos/doc/manual/installation/installing.chapter.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/doc/manual/installation/installing.chapter.md b/nixos/doc/manual/installation/installing.chapter.md index b6db40878ba7..9f3ff2ac6bac 100644 --- a/nixos/doc/manual/installation/installing.chapter.md +++ b/nixos/doc/manual/installation/installing.chapter.md @@ -174,8 +174,6 @@ commands: OK > set_network 0 psk "mypassword" OK -> set_network 0 key_mgmt WPA-PSK -OK > enable_network 0 OK ``` @@ -191,8 +189,6 @@ OK OK > set_network 0 password "mypassword" OK -> set_network 0 key_mgmt WPA-EAP -OK > enable_network 0 OK ```