Can not connect to wifi
-
Hi,
I have a Raspberry Pi 3 B+ running Retropie 4.7.20. Until recently, everything was working fine, but now, I can't connect to Wifi!
On boot, I get [FAILED] messages for dhcpd and the Raise network intefaces steps.I have tried editing the /etc/network/interfaces file, and indeed, the configuration for my AP is there.
I have tried making separate SSIDs for the 2.4 and 5 GHz bands in my router config, then connecting to each in turn - neither works with the Pi (other devices are able to connect to both).
I have verified Wifi is not blocked by rfkill.
I have set the Wifi locale country, and, again, this was working before. Because it was suggested in another thread dealing with a similar issue, I tried setting it to a different value, booting, then setting it back and booting again. This did not help.
I also tried importing Wifi settings (for both the 2.4 and the 5 GHz SSID) with wifikeyfile.txt. This did not work.
The Pi can see both SSIDs in the AP list - but it fails to connect, even though the password is correct (works with other devices). The Wifi security is WPA2/PSK, and this was working previously.Edit: Running
wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0
gives me
"CTRL-EVENT-ASSOC-REJECT bssid-[mac here]I also tried the kernel module options from here, but it did not work.
-
I tried disabling WMM in my router because it was suggested in another thread, but that did not help.
-
Well, now it works again.
-
It happened again, and this time, I found this answer, which helped. In other words, I did
rmmod brcmfmac modprobe brcmfmac roamoff=1 feature_disable=0x82000
And then
wpa_supplicant
as normal, and it connected. -
This fix did not survive a reboot, so I added
modules-load=brcmfmac roamoff=1 feature_disable=0x82000
into/boot/cmdline.txt
and it seems to work.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.