How to connect to open wifi networks using wpa_cli?
1
vote
1
answer
18717
views
I am failing to connect to open wifi networks using wpa_cli. I am trying to connect to the open wifi networks in the following way:
$ sudo wpa_cli -i wlp3s0
> add_network
0
> set_network 0 ssid "Guest"
> enable_network 0
When I try to enable the network sometimes it just replies OK and then nothing. Few times, I have seen it to reply following:
CTRL-EVENT-SCAN-STARTED
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-NETWORK-NOT-FOUND
wpa_cli is working without any issue for password protected networks.
Asked by Ashfaqur Rahaman
(382 rep)
Aug 17, 2021, 08:47 PM
Last activity: Aug 18, 2021, 09:40 PM
Last activity: Aug 18, 2021, 09:40 PM