Merge pull request #720 from rubenvereecken/wpa_cli

Reworked wpa_cli to adhere to one-example rule
waldyrious/alt-syntax
Ruben Vereecken 2016-01-25 00:18:31 +02:00
commit e5920c920c
1 changed files with 5 additions and 3 deletions

View File

@ -5,16 +5,18 @@
- Scan for available networks:
`wpa_cli scan`
- Show scan results:
`wpa_cli scan_results`
- Add a network:
`wpa_cli add_network {{number}}`
- Configure the network, e.g. set SSID and passkey:
- Set a network's SSID:
`wpa_cli set_network {{number}} ssid {{SSID}}`
`wpa_cli set_network {{number}} psk {{passkey}}`
`wpa_cli set_network {{number}} ssid "{{SSID}}"`
- Enable network: