RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Can not connect to wifi

    Scheduled Pinned Locked Moved Help and Support
    wifi
    5 Posts 1 Posters 886 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      appas
      last edited by appas

      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.

      A 1 Reply Last reply Reply Quote 0
      • A
        appas @appas
        last edited by

        I tried disabling WMM in my router because it was suggested in another thread, but that did not help.

        A 1 Reply Last reply Reply Quote 0
        • A
          appas @appas
          last edited by

          Well, now it works again.

          A 1 Reply Last reply Reply Quote 0
          • A
            appas @appas
            last edited by

            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.

            A 1 Reply Last reply Reply Quote 0
            • A
              appas @appas
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              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.