%title Connecting to WiFi using wpa_cli
:ops:cli:linux:
%date 2021-12-26 15:26

First make sure you're on the right interface:
>	`interface wlp3s0`

Then:

> `scan`
`OK`

> `scan_results`
`bssid / frequency / signal level / flags / ssid`
`00:55:ab:25:ac:5a 2462 -71 [WPA2-PSK-CCMP][ESS] WLAN-Network`
`00:11:99:51:ba:f0 2437 -64 [WPA2-PSK-CCMP][ESS] WLAN-Network2`

> `add_network`
`0` (network ID)

> `set_network 0 ssid "WLAN-Network"`
> `set_network 0 psk "SupahSecretPassphrase"`

And that should do it!
