Thank you for your donation!


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


Problem: Wifi Issue
#12
Tim Curtis Wrote: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
}

Thank you so much for your reply, Mr Curtis. I have done exactly what you asked me to, in fact, I downloaded a FRESH image again and followed your instructions carefully step by step. But no success.

1. Here are the error messages of syslog for wlan related errors - 

Code:
Jan 25 09:33:42 moode dhcpcd[335]: wlan0: waiting for carrier
Jan 25 09:34:52 moode dhcpcd[369]: wlan0: removing interface
Jan 25 09:34:53 moode dhcpcd[633]: wlan0: waiting for carrier
Jan 25 09:35:23 moode hostapd[653]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Jan 25 09:35:23 moode hostapd[653]: wlan0: interface state UNINITIALIZED->DISABLED
Jan 25 09:35:23 moode hostapd[653]: wlan0: AP-DISABLED
Jan 25 09:35:23 moode hostapd[653]: wlan0: CTRL-EVENT-TERMINATING
Jan 25 09:35:23 moode hostapd[653]: hostapd_free_hapd_data: Interface wlan0 wasn't started
Jan 25 09:35:23 moode dnsmasq[658]: dnsmasq: unknown interface wlan0
Jan 25 09:35:23 moode dnsmasq[658]: unknown interface wlan0
Jan 25 09:35:25 moode hostapd[670]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0

2. I also checked the output of wpa_passphrase "SSID" "password" and confirmed that the psk matched with that in the wpa_supplicant.conf, using the command that you supplied. And just so you know, my password only contains uppercase, lowercase alphabets and numbers. No special characters. 


And I also tried a fresh image of Volumio yesterday (this time without ethernet), to my surprise, it started in AP mode. And normal WiFi connection also worked out of the box. I also tried the picoreplayer, and that also worked with my WiFi adapter. So I can confirm that my WiFi adapter is fine, and it also supports AP mode. 
@TheOldPresbyope I think you misunderstand me. I'm not doubting all the hard work that Mr Curtis, you and the whole team has done, I'm highly grateful to all of you for this wonderful free software. Moodeaudio clearly has a lot of advantages against all the other audio servers for the pi, that is why most people recommend Moode so much, reading and watching good reviews about Moode has led me here. But I'm not here to complain about the issues of a free software, I only want to help to make it better.  

Regards,
Abhiroop
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: