mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-07 01:29:55 +03:00
add wpa_cli
This commit is contained in:
parent
662bc05ca8
commit
f81fffbe1c
25
pages/linux/wpa_cli.md
Normal file
25
pages/linux/wpa_cli.md
Normal file
@ -0,0 +1,25 @@
|
||||
# wpa_cli
|
||||
|
||||
> add and configure wlan interfaces
|
||||
|
||||
- scan for available networks
|
||||
|
||||
`wpa_cli scan`
|
||||
`wpa_cli scan_results`
|
||||
|
||||
- add a network
|
||||
|
||||
`wpa_cli add_network {{number}}`
|
||||
|
||||
- configure the network, e.g. set SSID and passkey
|
||||
|
||||
`wpa_cli set_network {{number}} ssid {{SSID}}`
|
||||
`wpa_cli set_network {{number}} psk {{passkey}}`
|
||||
|
||||
- enable network
|
||||
|
||||
`wpa_cli enable_network {{number}}`
|
||||
|
||||
- save config
|
||||
|
||||
`wpa_cli save_config`
|
Loading…
Reference in New Issue
Block a user