|
Post by busothobo on Feb 4, 2021 5:50:46 GMT -8
I cannot find wpa-supplicant file in the ssd card supplied by Switchdoc and am unable create one due to permission restrictions. I am in the UK and am unable to connect to lan or wlan. When I sudo raspi-config and try to set country it says unable to communicate with wpa-supplicant. Its doing my head in with this system setup. I have tried to reset permissions with chmod, no joy. Any help would be good
|
|
|
Post by SDL on Feb 4, 2021 15:43:07 GMT -8
Hmmm. What is going on here?
cd /etc/wpa_supplicant
sudo nano wpa_suppicant.conf
That will fix he permissions problem. If not, then post an ls -l of the directory and let me look at it!
BP
|
|
|
Post by busothobo on Feb 5, 2021 6:46:49 GMT -8
this is the conf file country=gb ctrl_interface=DIR=/var/run/wpa_supplicant Group=netdev update_config=1 network={ scan-ssid=1 ssid="VM055830" psk="px9CtrcxVnwt" key_mgmt=wpa-psk } [email protected]:~ $ cd /etc/wpa_supplicant [email protected]:/etc/wpa_supplicant $ ls -l total 44 -rwxr-xr-x 1 root root 937 Jun 6 2019 action_wpa.sh -rw-r--r-- 1 root root 25569 Jun 6 2019 functions.sh -rwxr-xr-x 1 root root 4696 Jun 6 2019 ifupdown.sh -rw-r--r-- 1 root root 159 Feb 5 14:22 wpa_supplicant.conf [email protected]:/etc/wpa_supplicant $ Still no joy when I raspi-config. I get cannot communicate with wpa_supplicant???
|
|
|
Post by SDL on Feb 5, 2021 10:31:42 GMT -8
Do you have your SSID and ask correct? And the key_mgmt parameter correct?
I take it you can't connect to WiFi?
Why are you trying to use raspy-config? For a test, do a "sudo chmod 666 wpa_supplicant.conf" and see if that fixes your raspi_config problem.
You are running "sudo raspi_config"?
BP
|
|
|
Post by busothobo on Feb 6, 2021 3:49:48 GMT -8
Finally cracked it
cd /root sudo nano wpa_supplicant.conf set it to gb ssid psk etc rebooted and hey presto lan and wireless working fine.
|
|
|
Post by SDL on Feb 7, 2021 16:14:34 GMT -8
cd /root?
The wpa_supplicant.conf was in root?
Odd.
BP
|
|
|
Post by busothobo on Feb 8, 2021 2:10:36 GMT -8
The ssd disk you sent me did not have the config file in the root. I originally thought that was where it should be, but again thought you programmed this and maybe it was somewhere different, hence the problems. You instructed me in a previous post to nano it into /etc/wpa_supplicant which I duly did.
It's solved now so time to move on.
|
|
|
Post by SDL on Feb 8, 2021 15:15:54 GMT -8
No, it shouldn't be in the root. Don't that confuse with putting in /boot for startup.
Glad it is solved.
BP
|
|
|
Post by busothobo on Feb 20, 2021 14:32:32 GMT -8
Finally after a bit of digging on the net have found an answer to the problem with raspi-config - unable to communicate with wpa_supplicant sudo killall wpa_supplicant sudo wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -d this resets the raspi-config and the it works as it should. Yippee I've done it
|
|