• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Cannot communicate with wpa_supplicant

Scheduled Pinned Locked Moved Help and Support
pi 4sshwifi
10 Posts 3 Posters 18.1k 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.
  • T
    themazingness
    last edited by themazingness 26 Mar 2021, 06:07

    Pi Model or other hardware: Pi 4 8gb
    Power Supply used: Vilros (Used this kit on Amazon: https://www.amazon.com/gp/product/B089ZZ8DTV/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1)
    RetroPie Version Used: 4.7.11
    Built From: Raspberry Pi 4/400 Image from retropie.org.uk, then updated via Ethernet
    USB Devices connected: 8BitDo SN30 pro, sometimes wireless mouse and/or keyboard dongle
    Controller used: 8BitDo SN30 pro
    Error messages received: cannot communicate with wpa_supplicant

    Wifi setup isn't working. If I use the Wifi setup, it just hangs and fails. If I use Raspi-Config, I get the error "Cannot communicate with wpa_supplicant" followed by "There was an error running option S1 Wireless LAN." Here is a photo of my wpa_supplicant.conf file:

    wpa error_small.jpg

    I made no changes to the conf file. As best as I can remember, I tried to setup SSH, set the wifi country to US, and then I tried to setup the wifi starting in Raspi Config and also trying the WIFI setup option through Retropie. The trouble is, my wifi was intermittent at the time, so I assumed it was the problem. I came back a few days later (today). This is as best as I remember as far as steps go, but I tried over and over again on some of it, that's just the basic order. I was not getting these errors initially, but ended up getting it before I gave up and tried today.

    I'm wanting to use SSH on my pc to transfer files, and should be able to do that theoretically if I can get this wifi issue fixed (I've done it in the past, though this is a fresh image).

    M 1 Reply Last reply 26 Mar 2021, 06:34 Reply Quote 0
    • M
      mitu Global Moderator @themazingness
      last edited by 26 Mar 2021, 06:34

      What does

      systemctl status wpa_supplicant.service
      

      reports ?

      T 1 Reply Last reply 26 Mar 2021, 07:50 Reply Quote 0
      • T
        themazingness @mitu
        last edited by 26 Mar 2021, 07:50

        @mitu !pi diagnostic.jpg

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by mitu 26 Mar 2021, 09:15

          Looks like the service is started ok. Check if your wifi isn't blocked:

          sudo rfkill list all
          sudo rfkill unblock all
          

          Do you really have a WEP-only AP ?

          T 1 Reply Last reply 30 Mar 2021, 04:01 Reply Quote 0
          • T
            themazingness @mitu
            last edited by 30 Mar 2021, 04:01

            @mitu Unfortunately, it wasn't blocked so that wasn't the answer.

            I'm not sure why the WEP line is there. I have made no edits to the config file. I don't imagine that'd cause raspi-config to be unable to use the file though and make changes.

            M 1 Reply Last reply 30 Mar 2021, 14:15 Reply Quote 0
            • M
              mitu Global Moderator @themazingness
              last edited by 30 Mar 2021, 14:15

              @themazingness Remove the file completely and try re-configuring the WiFi again.

              1 Reply Last reply Reply Quote 0
              • T
                themazingness
                last edited by 11 Apr 2021, 03:41

                Sorry this took me a while. I deleted the conf file, restarted, still got the exact same error.

                Question, can I use the Linux subsystem in Windows 10 to access the files I'm wanting to get off of it? I assume this would mean mounting it? (I've used the subsystem a little, I am just not familiar with using external drives Windows doesn't recognize in it.)

                If I were to do that I could get the files and just format and start over. The other option I'm considering is when I move in a couple of months and have a hub I can plug into, I could just use ethernet to grab the files.

                M 1 Reply Last reply 11 Apr 2021, 03:43 Reply Quote 0
                • M
                  mitu Global Moderator @themazingness
                  last edited by 11 Apr 2021, 03:43

                  @themazingness said in Cannot communicate with wpa_supplicant:

                  Question, can I use the Linux subsystem in Windows 10 to access the files I'm wanting to get off of it? I assume this would mean mounting it? (I've used the subsystem a little, I am just not familiar with using external drives Windows doesn't recognize in it.)

                  I'm not sure, I've not used WSL(2), but I don't think it includes such capabilities. You can backup the image to an .img file and open it with 7Zip, I think it can read the Linux partition.

                  T 1 Reply Last reply 24 Apr 2021, 14:06 Reply Quote 1
                  • T
                    themazingness @mitu
                    last edited by 24 Apr 2021, 14:06

                    @mitu Thanks, the backup method worked. Strangely, my psx games were missing in the .img file, but otherwise it worked and it is easy to dump those with RetroArch anyway.

                    R 1 Reply Last reply 31 Jan 2023, 08:33 Reply Quote 1
                    • R
                      rdmeneze @themazingness
                      last edited by 31 Jan 2023, 08:33

                      @themazingness
                      Hi!
                      Just for log information, I had this same problem today and I solved using this:

                      • make a copy of /etc/network/interfaces
                        sudo cp /etc/network/interfaces /etc/network/interfaces.old

                      • append to the file /etc/network/interfaces
                        allow-hotplug wlan0
                        iface wlan0 inet manual
                        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

                      • enable the wpa_supplicant service and restart
                        sudo systemctl enable wpa_supplicant.service
                        sudo systemctl restart wpa_supplicant

                      *restart the system
                      sudo reboot now

                      1 Reply Last reply Reply Quote 1
                      • 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.

                        [[user:consent.lead]]
                        [[user:consent.not_received]]