1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 18:26:00 +02:00

Reworked wpa_cli to adhere to one-example rule

This commit is contained in:
Ruben Vereecken 2016-01-24 16:58:52 +01:00
parent 06706baf31
commit 61d03c4fdf

View file

@ -5,16 +5,18 @@
- Scan for available networks: - Scan for available networks:
`wpa_cli scan` `wpa_cli scan`
- Show scan results:
`wpa_cli scan_results` `wpa_cli scan_results`
- Add a network: - Add a network:
`wpa_cli add_network {{number}}` `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}} ssid "{{SSID}}"`
`wpa_cli set_network {{number}} psk {{passkey}}`
- Enable network: - Enable network: