Can't connect to wifi Raspberry Pi 3A+ - 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: Can't connect to wifi Raspberry Pi 3A+ (/showthread.php?tid=5375) |
RE: Can't connect to wifi Raspberry Pi 3A+ - adam_zzz - 02-15-2023 I think I am getting closer to the possible cause... I connected to my router through ethernet cable and changed the wpa_supplicant.config directly and then ran wpa_supplicant manually. After rebooting, the Moode access point didn't start, probably because since I edited the file manually, the entry is missing from the db, so at least we can determine this part is not causing any issues. Code: systemctl stop wpa_supplicant So I could reproduce the same situation and get more verbose logs (I've obfuscated some parts) Code: nl80211: Connect (ifindex=3) After looking more online, seems to be related to the Broadcom firmware, then I checked if Kerberos.io is using the same firmware and it's not, it's actually using outdated versions that actually work better at least for me... Moode firmware: Code: pi@moode:~ $ dmesg | grep -i firmware Kerberos.io firmware: Code: [root@kios-48b2fa60 ~]# dmesg | grep -i firmware I'm going to try and install a previous version for the driver later to see if it fixes it, I couldn't figure out how to do that so far... -* Tim, would you mind checking if the Raspberry Pi 3A+ that you've tested has the same firmware? I find it weird that no one else had this issue For reference, this is my Pi version: Hardware : BCM2835 Revision : 9020e0 Model : Raspberry Pi 3 Model A Plus Rev 1.0 RE: Can't connect to wifi Raspberry Pi 3A+ - TheOldPresbyope - 02-15-2023 @adam_zzz My Pi3A+ Rev 1.0 has worked flawlessly for several years in WiFi client-mode against various access points from both my old and my new ISP, in both cases with WPA2-PSK. A quick check now with moOde 8.2.5 and I see the same firmware info in the dmesg output that you reported. ETA I should have mentioned the connection is using CCMP Group and Pairwise ciphers, not TKIP. Some refer to this mode as WPA2-AES. As suggested previously, this seems an issue better raised in the Raspberry Pi forum (or even their github repos) where the RPF's code jockeys hang out. Regards, Kent RE: Can't connect to wifi Raspberry Pi 3A+ - Tim Curtis - 02-15-2023 (02-15-2023, 06:49 AM)adam_zzz Wrote: I think I am getting closer to the possible cause... The constituent parts of the firmware are listed here https://github.com/raspberrypi/firmware. Since the firmware is a software component of the OS image all Pi models running the same unmodified image will report the same firmware version. # This is a 3B pi@pb1:~ $ sudo vcgencmd version Jan 5 2023 10:48:31 Copyright © 2012 Broadcom version 8ba17717fbcedd4c3b6d4bce7e50c7af4155cba9 (clean) (release) (start) The kerberos OS is prolly running an old kernel. Our release images are based on current Raspberry Pi OS Lite release plus APT upgrade which may include new kernel, boot loader, libs, etc. The 8.2.5 release shipped with kernel 5.15.84. RE: Can't connect to wifi Raspberry Pi 3A+ - adam_zzz - 02-16-2023 Thanks for checking @TheOldPresbyope, @Tim Curtis. I checked now Moode 8.2.5 version on a Raspberry Pi 3 Model B+ and I have the same issue with the connection, so maybe there is an incompatibility between the kernel/firmware and some settings on my router. Raspberry Pi OS latest version has the same issue for me. I've also tried 2 different power supplies, an original Raspberry Pi (5.1V) and an ifi iPower (5V) with no improvement for the wi-fi. For Kerberos.io I just followed the download link from their website, section "Etcher", that points to an archived repository with the last release being Dec 31, 2019, so no wonder it's using old kernel/firmware: https://doc.kerberos.io/opensource/installation/#kios RE: Can't connect to wifi Raspberry Pi 3A+ - Tim Curtis - 02-16-2023 (02-16-2023, 12:50 PM)adam_zzz Wrote: Thanks for checking @TheOldPresbyope, @Tim Curtis. I checked now Moode 8.2.5 version on a Raspberry Pi 3 Model B+ and I have the same issue with the connection, so maybe there is an incompatibility between the kernel/firmware and some settings on my router. It sounds like Pi has trouble with Routers running the dual authentication protocols. Try posting an issue in the Raspberry Pi Linux Git in case its some sort of kernel bug. https://github.com/raspberrypi/linux/issues RE: Can't connect to wifi Raspberry Pi 3A+ - TheOldPresbyope - 02-16-2023 It takes two to tango, so be sure to include your AP/router's make/model and firmware rev when you post to the repo. Regards, Kent RE: Can't connect to wifi Raspberry Pi 3A+ - adam_zzz - 02-16-2023 Not sure what I was missing before but I finally managed to connect it... I didn't had to change anything in Moode, I only set my router to accept WPA2-PSK and restarted the router and the Raspberry Pi. I double checked and having WPA2-PSK/WPA3-SAE mixed mode still won't work with the Raspberry Pi, none of my other devices in my home ever complained about this, only the 2 raspberry PIs and even those won't complain with older firmware like I said... Not sure if this can be fixed in Moode, but I guess this should be at least reproducible if you have a router that supports WPA2-PSK/WPA3-SAE mixed mode. Edit: Moode also connects without problems to WPA-PSK/WPA2-PSK mixed mode. RE: Can't connect to wifi Raspberry Pi 3A+ - TheOldPresbyope - 02-16-2023 I was toying with the idea of spinning up an instance of OpenWrt (open-source router/AP code) on a spare SBC just to see what's up with the mixed mode. I've used OpenWrt in experiments in the past so I figured grokking WPA3 configuration wouldn't be too big a hurdle. Went off to visit their documentation and stumbled across this issue: FS#3108 - some devices unable to connect in mixed mode (WPA3/WPA2 Personal) which was opened almost 3 years ago and has been commented at various times since. Yes, I see RPis mentioned but a number of other devices are mentioned too. Clearly details matter: which release of which OS yada yada yada. Given the ongoing messiness of this issue I think I'll back away quietly and dream up some other project instead. Regards, Kent RE: Can't connect to wifi Raspberry Pi 3A+ - adam_zzz - 02-16-2023 Ok, so I tried again Tim's suggestion to add the extra parameters to the wpa_supplicant.conf mentioned here: https://github.com/raspberrypi/linux/issues/4718#issuecomment-1279951709 I've added these 2 lines and with my router set to WPA2-PSK/WPA3-SAE all is well, it was able to connect after restart: Code: key_mgmt=WPA-PSK-SHA256 Maybe an improvement for Moode would be to be able to select WPA2-PSK/WPA3-SAE in the dropdown and update wpa_supplicant.conf with these 2 lines when selected... RE: Can't connect to wifi Raspberry Pi 3A+ - TheOldPresbyope - 02-16-2023 So it's actually working the way it's supposed to. I thought that wasn't the case. For reference, the ever helpful Arch LInux wiki wpa_supplicant page gives exactly the same instructions for connections to mixed WPA2-PSK/WPA3-SAE access points so it's not just a Pi thing. Regards, Kent |