Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Wifi Issue
#10
(01-20-2021, 06:52 PM)abhiroopd Wrote: I switched from Volumio actually, and it was working fine there, and I just verified the password once again.
When I go to raspi-config, system options -> wireless LAN, I get the following error message: 

Code:
Could not communicate with wpa_supplicant. There was an error running option S1 Wireless LAN

And then I tried the following commands - 

Code:
pi@moode:~ $ sudo killall wpa_supplicant
pi@moode:~ $ sudo wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: Failed to initialize driver interface

If you used rasps-config or ssh commands to alter system or network settings then the config that moOde needs to see is prolly broken.

The way to troubleshoot WiFi adapter issues is to first start with a FRESH image then try the following:

1. Plug in Ethernet cable and WiFi adapter.
2. Power up the system
3. Menu, Configure, Network
4. Enter SSID and password then SAVE
5. Power off
6. Unplug Ethernet cable
7. Power up the system
8. Wait several minutes for system startup and either successful WiFi connection, AP mode startup or no WiFi
9. Plug in Ethernet cable

Then connect via SSH and do the following

1. Check syslog for wlan related errors

Code:
cat /var/log/syslog | grep wlan

2. Verify that the moOde generated wpa_supplicant.conf file is valid. It should look like below with your SSID and a numeric WPA pre-shared key. This key should exactly match the output of the following command:

Code:
wpa_passphrase "SSID" "password"

Code:
pi@rp3:~ $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

network={
       ssid="xxxxxxxx"
       scan_ssid=1
       psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Wifi Issue - by abhiroopd - 01-19-2021, 04:59 PM
RE: Wifi Issue - by TheOldPresbyope - 01-19-2021, 06:35 PM
RE: Wifi Issue - by abhiroopd - 01-20-2021, 10:12 AM
RE: Wifi Issue - by zOr7gA8 - 01-20-2021, 12:32 PM
RE: Wifi Issue - by abhiroopd - 01-20-2021, 06:52 PM
RE: Wifi Issue - by Tim Curtis - 01-23-2021, 02:22 PM
RE: Wifi Issue - by abhiroopd - 01-25-2021, 03:54 PM
RE: Wifi Issue - by TheOldPresbyope - 01-20-2021, 10:50 PM
RE: Wifi Issue - by abhiroopd - 01-23-2021, 12:14 PM
RE: Wifi Issue - by TheOldPresbyope - 01-23-2021, 01:39 PM
RE: Wifi Issue - by abhiroopd - 01-23-2021, 01:53 PM
RE: Wifi Issue - by TheOldPresbyope - 01-23-2021, 02:43 PM
RE: Wifi Issue - by Tim Curtis - 01-25-2021, 04:22 PM
RE: Wifi Issue - by abhiroopd - 01-25-2021, 04:35 PM
RE: Wifi Issue - by Tim Curtis - 01-25-2021, 04:43 PM
RE: Wifi Issue - by abhiroopd - 01-25-2021, 04:52 PM
RE: Wifi Issue - by TheOldPresbyope - 01-25-2021, 08:44 PM
RE: Wifi Issue - by Tim Curtis - 01-25-2021, 05:50 PM
RE: Wifi Issue - by abhiroopd - 01-25-2021, 05:57 PM
RE: Wifi Issue - by Tim Curtis - 01-25-2021, 06:08 PM
RE: Wifi Issue - by Tim Curtis - 01-25-2021, 09:16 PM
RE: Wifi Issue - by abhiroopd - 01-27-2021, 11:43 AM

Forum Jump: