What's the purpose of wpa_cli?

D

Deleted member 85362

Guest
For scanning available wireless networks we can run ifconfig wlan0 scan, and to join a protected one we just edit /etc/wpa_supplicant.conf. What's the utility of wpa_cli?

Thank you.
 
For scanning available wireless networks we can run ifconfig wlan0 scan, and to join a protected one we just edit /etc/wpa_supplicant.conf. What's the utility of wpa_cli?
wpi_cli allows you to dynamically connect to the wpa_supplicant socket and control it dynamically. I.e so you don't need to terminate and restart the wpa_supplicant daemon if you want to change to a different access point.

It also can modify and write the wpa_supplicant.conf

Admittedly, I don't use wpa_cli much.
 
Perhaps for GUI or TUI application to dynamically control the wpa_supplicant daemon for scan/add/update/delete password protected wifi AP.

wpa_supplicant is the daemon handling the encryption/decryption parts of the password protected wifi AP specially on wpa personal and enterprise spaces. afaik.
 
Back
Top