tldr/pages/linux/wpa_cli.md

29 lines
414 B
Markdown
Raw Permalink Normal View History

2014-03-09 17:49:01 +00:00
# wpa_cli
> Add and configure wlan interfaces.
> More information: <https://manned.org/wpa_cli>.
2014-03-09 17:49:01 +00:00
- Scan for available networks:
2014-03-09 17:49:01 +00:00
`wpa_cli scan`
- Show scan results:
2014-03-09 17:49:01 +00:00
`wpa_cli scan_results`
- Add a network:
2014-03-09 17:49:01 +00:00
`wpa_cli add_network {{number}}`
- Set a network's SSID:
2014-03-09 17:49:01 +00:00
`wpa_cli set_network {{number}} ssid "{{SSID}}"`
2014-03-09 17:49:01 +00:00
- Enable network:
2014-03-09 17:49:01 +00:00
`wpa_cli enable_network {{number}}`
- Save config:
2014-03-09 17:49:01 +00:00
`wpa_cli save_config`