added NM workaround for password-related error messages
This commit is contained in:
parent
03c9d2aabd
commit
d341f20a92
|
@ -279,3 +279,14 @@ See [Modem Manager](modem_manager.md) for details on integrating a 3G/LTE modem
|
|||
## Auto Config
|
||||
|
||||
Once the above is setup Network Manager should handle the auto configuration of your WAN/LAN/Modems/etc for you.
|
||||
|
||||
## Real World Uses and Troubleshooting
|
||||
|
||||
If you're using your Lollipop as a router and have a collection of preferred networks, at the command line (and/or using Cockpit), to switch access points on the fly:
|
||||
|
||||
```nmcli con down wan-wifi-connection-name
|
||||
nmcli con up wan-wifi-connection-name```
|
||||
|
||||
If you receive an error message like ```Warning: password for '802-11-wireless-security.psk' not given in 'passwd-file' and nmcli cannot ask without '--ask' option. Error: Connection activation failed.``` the workaround is to include --ask in your nmcli con up command:
|
||||
|
||||
```nmcli --ask con up wan-wifi-name```
|
||||
|
|
Reference in New Issue