Page 1 of 1
Can't set Wifi country (could not communicate to wpa_supplicant)
Posted: Sun Aug 12, 2018 5:07 pm
by fear3ck
Hello there!
I'm using QLC+ on my Raspberry Pi 3+. It runs well, but I'm not able to activate the wifi bc I can't set my country ... Error: "could not communicate with wpa_supplicant"
I already tried :
-expanding the filesystem option
-manually writing and creating a wpa_supplicant
-choosing another SD-Card
I also tried it with a clean Raspian Stretch Image - Wifi works perfectly, I assume it has something to be with the image (2018_06_27).
I am the only one with that Problem or did I overread something? Sorry if there's already a topic.
Thank you!
Re: Can't set Wifi country (could not communicate to wpa_supplicant)
Posted: Thu Aug 16, 2018 8:57 am
by psyka
Hi.
I have the same problem.
If anyone have an answer
Regard
Re: Can't set Wifi country (could not communicate to wpa_supplicant)
Posted: Thu Aug 16, 2018 9:53 am
by mcallegari
Hi, what is "wifi bc" ?
I just checked the sources and the RPi version overwrites /etc/wpa_supplicant/wpa_supplicant.conf
Only when you make a change to the network configuration though.
Can you point me to the relevant documentation where country setting is explained ?
The RPi image is based on vanilla Raspbian Stretch, so if it works with the original one, it has to work with my image too.
Have you tried doing a
sudo apt-get upgrade
or
sudo apt-get dist-upgrade
Re: Can't set Wifi country (could not communicate to wpa_supplicant)
Posted: Thu Aug 16, 2018 3:09 pm
by janosvitok
Autocorrect in my head assumes bc=because. I'm not fan of those shortcuts though...
Re: Can't set Wifi country (could not communicate to wpa_supplicant)
Posted: Thu Aug 16, 2018 3:11 pm
by janosvitok
Guys, can you post good and bad wpa_supplicant.conf?
Re: Can't set Wifi country (could not communicate to wpa_supplicant)
Posted: Wed Aug 22, 2018 2:10 pm
by psyka
Hi
I take some photo of the manipulation.
Even after sudo apt-get upgrade and sudo apt-get dist-upgrade -- > no WIFI
I don't know what to do now.
Raspberry Pi 3 model B+ rev 1.3.
Re: Can't set Wifi country (could not communicate to wpa_supplicant)
Posted: Thu Nov 15, 2018 4:43 am
by shad
I had the same issue. Save a ssid and password in the web page: Configuration > System > network configuration, apply changes, and reboot. Then try sudo raspi-config to set the wifi county.
raspi-config only updates an existing /etc/wpa_supplicant/wpa_supplicant.conf file. It will not create the file.
When the web page writes wpa_supplicant.conf it is missing the county line which is needed for the new raspberry 3B+ with 5GHz wifi. So, once the web page creates wpa_supplicant.conf, raspi-config can add the county.
Or edit wpa_supplicant.conf and add your county.
Either way wpa_supplicant.conf will need to look something like this:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
scan_ssid=1
ssid="ssid"
psk="password"
}
Re: Can't set Wifi country (could not communicate to wpa_supplicant)
Posted: Mon Nov 26, 2018 7:01 pm
by djcflo
I found success in doing it in two places (using a Rpi 3B+)
over SSH, or on the unit via command lin type in
Code: Select all
sudo nano /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
hit enter to open text editor. it's a blank document. paste in
Code: Select all
ctrl_interface=/run/wpa_supplicant
update_config=1
country=US
control X to quit, Y to save, enter to get back to command line
sudo shutdown -h now
2nd place we have to do it:
type in
Code: Select all
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
hit enter
in document, directly under ctrl_interface add
populate the fields with your home network info
Code: Select all
ssid=”home wifi name”
psk=”home wifi password”
control X to quit, Y to save, enter to get back to command line
sudo reboot