mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 18:12:34 +09:00
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.
This commit is contained in:
parent
0b239e51db
commit
1c8fe32195
1 changed files with 0 additions and 4 deletions
|
@ -174,8 +174,6 @@ commands:
|
||||||
OK
|
OK
|
||||||
> set_network 0 psk "mypassword"
|
> set_network 0 psk "mypassword"
|
||||||
OK
|
OK
|
||||||
> set_network 0 key_mgmt WPA-PSK
|
|
||||||
OK
|
|
||||||
> enable_network 0
|
> enable_network 0
|
||||||
OK
|
OK
|
||||||
```
|
```
|
||||||
|
@ -191,8 +189,6 @@ OK
|
||||||
OK
|
OK
|
||||||
> set_network 0 password "mypassword"
|
> set_network 0 password "mypassword"
|
||||||
OK
|
OK
|
||||||
> set_network 0 key_mgmt WPA-EAP
|
|
||||||
OK
|
|
||||||
> enable_network 0
|
> enable_network 0
|
||||||
OK
|
OK
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue