iwctl
- It's an alternative to
wpa_supplicant - In general
iwdis more modern, easy to use and well maintained
device
iwctl
[iwd] device list
station
iwctl
[iwd] station "wlan0" get-networks
[iwd] station "wlan0" connect "ssid" # asks for passphrase
[iwd] station "wlan0" show