![]() |
[PROBLEM] wpa_suplicant not started automatically - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] wpa_suplicant not started automatically (/showthread.php?tid=2016) |
wpa_suplicant not started automatically - luisrosety - 12-26-2019 Hi all, I have been struggling setting up Moode 6.4 on my Raspberry Zero W The problem is that WiFi is not connected and I have tried creating a wpa_supplicant.conf but it does not fix it. I tried to configure with Code: $ sudo raspi-config Then I tried Code: $ wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 There is something avoiding wpa_supplicant to start on boot but it does work when manually launching it. Any help? Thanks Luis RE: wpa_suplicant not started automatically - TheOldPresbyope - 12-26-2019 @luisrosety You need to read and follow the Setup Guide. Here's the link, which is prominently displayed on the moodeaudio.org homepage: https://github.com/moode-player/moode/blob/master/www/setup.txt In a nutshell: Start with a clean copy of moOde on a uSD card and boot your RPi0W. It will come up in AP mode. If you prefer to have it come up in WiFi client mode, you'll have to create a moodecfg.txt file in the /root directory of the uSD card with appropriate info in it. Again, read and follow the Setup Guide. Regards, Kent RE: wpa_suplicant not started automatically - luisrosety - 12-27-2019 (12-26-2019, 11:27 PM)TheOldPresbyope Wrote: @luisrosety I have followed the instructions but no results. I find this configuration procedure non easily customizable when some changes need starting from a clean non used SD card. In any case, my WiFi settings on http://moode configuration menu, show correct values so I find it strange it is not working. Finally, I really can't understand the added value of configuring the Raspberry Pi as Access Point since for using it one must turn on WiFi on the mobile phone or computer but once you are connected to your home WiFi you have direct access to http://moode server. So, why is that AP for? In any case, thanks for your explanation. RE: wpa_suplicant not started automatically - Tim Curtis - 12-27-2019 AP mode is primarily used to configure a Home network SSID and password. It eliminates the need for users to have to hack in via SSH (most users don't know SSH). AP mode takes a couple of minutes to start on the slower single core ZeroW. If it's not working in your case on a stock image then the issue is external to moOde software. Also, hacking the wpa_supplicant.conf file will not work because moOde manages it via the Network Config screen which writes out the file and updates a SQL table with the settings. If you want to manually set Home network SSID and password the moodecfg.txt file method must be used. RE: wpa_suplicant not started automatically - quaelgeist - 02-15-2020 I am facing the same issue on 6.4.2 2020-02-12 I am using a raspberry pi 2 and an WIFI USB Dongle which is working fine on every other Rasbian-based system on the very same pi so far. I followed (https://github.com/moode-player/moode/blob/master/www/setup.txt) Code: 1. CONFIGURE FOR WIFI CONNECTION Without success. I am able to find my own wifi (step d) and was entering the correct key. Restarting the Pi will not automatically connect to my wifi, most likely due the issue with wpa_supplicant. RE: wpa_suplicant not started automatically - TheOldPresbyope - 02-15-2020 There is not generally an issue with wpa_supplicant. A more appropriate title for this thread would have been "I can't get moOde to come up in WiFi client mode". In any case, you really should have started a new thread of your own. I expect you aren't entering a key but a passphrase (aka password) which is converted into a pre-shared key (PSK) after it is entered. Once you've entered the passphrase, and saved the settings, the computed PSK will be revealed when you click on the eye icon. moOde's WiFi configuration panel has worked fine for me in all my test cases. Tim did recently fix a bug which bit when MS/Windows line-ends occur in the moodecfg.txt, but that was unrelated to the configuration panel. Caveat: I live in the USA and use only ASCII characters in my passphrase. The IEEE spec for WPA2 says Quote:Each character in the passphrase must have an encoding in the range of 32 to 126 (decimal), inclusive. (IEEE Std. 802.11i-2004, Annex H.4.1) Does your passphrase by any chance contain non-ASCII characters, perhaps with diacritics such as umlaut, acute, grave, circumflex, diaresis, tilde, cedilla? I ask because some routers ignore the IEEE requirement but some software does not, and diacritics occur frequently in a number of Latin-script alphabets. I have no way of testing this since my AP strictly conforms to the spec. If your passphrase is strictly ASCII and between 8 and 63 characters long then we have more digging to do to figure out why you player isn't associating with your AP. Regards, Kent RE: wpa_suplicant not started automatically - quaelgeist - 06-26-2020 Hi. I mainly wanted to confirm this issue, which still seems to be unfixed in verison. 6.5.2 2020-05-03 Quote:A more appropriate title for this thread would have been "I can't get moOde to come up in WiFi client mode" I agree. It seems to be the essential issue. Quote:I expect you aren't entering a key but a passphrase (aka password) which is converted into a pre-shared key (PSK) after it is entered. Yes, this is correct, but matters very little from the users perspective. What I was entering was the passphrase. Quote:Does your passphrase by any chance contain non-ASCII characters No. It does not. My passphrase only contains numbers. Way more than 8, way less than 63 Quote:If your passphrase is strictly ASCII and between 8 and 63 characters long then we have more digging to do to figure out why you player isn't associating with your AP. That is the case. More digging it is. Here is what I was doing step by step, as verbose as I seem necessary
RE: wpa_suplicant not started automatically - Tim Curtis - 06-26-2020 Doesn't look like linux support is all that great based on the support link you provided but in any case you can try MrEngman's nice WiFi driver install service. Run the command below to print out the help (-h), then either run it with -c (check if driver available) or run it with no options and it will try to find and install the kernel-specific driver for WiFi adapter thats plugged in. If it fixes your issue then just remember to run it whenever the kernel is updated. Code: pi@rp3:~ $ sudo install-wifi -h RE: wpa_suplicant not started automatically - TheOldPresbyope - 06-26-2020 Even with the correct driver and firmware, that model WiFi adapter may not be able to run in access-point mode using hostapd. May be time to buy a different adapter. Regards, Kent |