Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] wpa_cli stopped working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Fri Jul 26, 2019 1:43 pm    Post subject: [solved] wpa_cli stopped working Reply with quote

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
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Sat Dec 07, 2019 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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