View previous topic :: View next topic |
Author |
Message |
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Fri Jul 26, 2019 1:43 pm Post subject: [solved] wpa_cli stopped working |
|
|
Hello
a few months ago, wpa_cli would work just fine.
I was able to use the commands disable and select, and because they worked - they had an immediate effect as documented which showed up in iwconfig output, I had no need to try anything else.
Then it stopped. I can still supply any command to wpa_cli. For example, after "disable" a network, and then "list_networks", the network shows as disabled. Same for select, etc. But it has no effect on iwconfig output, and no effect on connectivity.
wpa_cli does not display any errors, or any unexpected output. It has the correct list of networks, it sets a preferred bssid (but it is not applied), of note: it cannot scan anything. The scan command can be submitted, but the scan results are always empty.
What makes wpa_cli fail silently like this?
Last edited by jamapii on Sat Dec 07, 2019 10:25 am; edited 1 time in total |
|
Back to top |
|
|
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Sat Dec 07, 2019 10:25 am Post subject: |
|
|
OK I think the problem was when I added "p2p" to the USE flag.
Then there would be some kind of an additional device like "p2p-wl5d16s2", and all wpa_cli commands would go to this one. Then all commands need a -p parameter. (I have only a single wifi interface)
Just add "p2p_disabled=1" to /etc/wpa_supplicant/wpa_supplicant.conf
(Or find the right -p parameter and add it to a wrapper script, or set USE=-p2p) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|