Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Why wpa_cli save_config FAIL ?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
eoffer
Posts: 6
Joined: 2020-04-09 12:12

Why wpa_cli save_config FAIL ?

#1 Post by eoffer »

sudo wpa_cli

After add_network set_network try to "save_config" but always fail

Code: Select all

 sudo wpa_cli -i wlp3s0 save_config 
always FAIL

Should I create a /etc/wpa_supplicant.conf file first ?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Why wpa_cli save_config FAIL ?

#2 Post by Head_on_a_Stick »

eoffer wrote:always FAIL
Please always post the exact, full error message.
eoffer wrote:Should I create a /etc/wpa_supplicant.conf file first ?
Yes, you need these lines for wpa_cli to work:

Code: Select all

ctrl_interface=/run/wpa_supplicant 
update_config=1
https://wiki.debian.org/WiFi/HowToUse#W ... d_WPA2-PSK
deadbang

eoffer
Posts: 6
Joined: 2020-04-09 12:12

Re: Why wpa_cli save_config FAIL ?

#3 Post by eoffer »

It there a way like "strace" to find out which configuration file is used by systemd
under path usr/lib/systemd/system there are four wpa_supplicant related service
wpa_supplicant-nl80211@.service
wpa_supplicant.service
wpa_supplicant@.service
wpa_supplicant-wired@.service

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Why wpa_cli save_config FAIL ?

#4 Post by Head_on_a_Stick »

Are you actually trying to wind me up?

Here's a deal: if you respond to my last post then I will respond to your last question, even though it is clearly off-topic for this thread.
deadbang

Post Reply