1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 19:17:57 +01:00
tldr/pages/linux/wpa_cli.md

28 lines
364 B
Markdown
Raw Normal View History

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