What's the purpose of wpa_cli?

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.
 
Back
Top