Thank you for your donation!


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


Can't connect to wifi Raspberry Pi 3A+
#11
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
sudo rm wlan0
/var/run/wpa_supplicant $ sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -d


So I could reproduce the same situation and get more verbose logs (I've obfuscated some parts)

Code:
nl80211: Connect (ifindex=3)
 * bssid_hint=xx:xx:xx:xx:xx:xx
 * freq_hint=xxxx
 * SSID=HOMENETWORK
 * IEs - hexdump(len=44): xxxx
 * WPA Versions 0x2
 * pairwise=0xxxxx
 * group=0xxxxx
 * akm=0xxxxx
 * PSK - hexdump(len=32): [REMOVED]
 * htcaps - hexdump(len=26): xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 * htcaps_mask - hexdump(len=26): xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 * vhtcaps - hexdump(len=12): 00 00 00 00 00 00 00 00 00 00 00 00
 * vhtcaps_mask - hexdump(len=12): 00 00 00 00 00 00 00 00 00 00 00 00
 * Auth Type 0
nl80211: Connect request send successfully
wlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0xXXXX ([UP][LOWER_UP])
nl80211: Drv Event 46 (NL80211_CMD_CONNECT) received for wlan0
nl80211: Connect event (status=16 ignore_next_local_disconnect=0)
wlan0: Event ASSOC_REJECT (12) received
wlan0: CTRL-EVENT-ASSOC-REJECT bssid=xx:xx:xx:xx:xx:xx status_code=16
wlan0: Radio work 'connect'@0xXXXXXXX done in 7.465529 seconds
wlan0: radio_work_free('connect'@0xXXXXXXX): num_active_works --> 0
Added BSSID xx:xx:xx:xx:xx:xx into blacklist
wlan0: Blacklist count 1 --> request scan in 100 ms
wlan0: Setting scan request: 0.100000 sec
nl80211: Data frame filter flags=0x0
wlan0: State: ASSOCIATING -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0


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
[    0.144699] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-01-05T10:48:31, variant start
[    0.148717] raspberrypi-firmware soc:firmware: Firmware hash is 8ba17717fbcedd4c3b6d4bce7e50c7af4155cba9
[    9.494103] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60

Kerberos.io firmware:

Code:
[root@kios-48b2fa60 ~]# dmesg | grep -i firmware
[    0.090289] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-11-14 15:27, variant start_x
[    0.100126] raspberrypi-firmware soc:firmware: Firmware hash is 2354eac70a98807e06bed2149bc0c5613e751c15
[   21.678962] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04

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  Huh

For reference, this is my Pi version:
Hardware        : BCM2835
Revision        : 9020e0
Model           : Raspberry Pi 3 Model A Plus Rev 1.0
Reply


Messages In This Thread
RE: Can't connect to wifi Raspberry Pi 3A+ - by adam_zzz - 02-15-2023, 06:49 AM

Forum Jump: