ZXY007o0ePksrW7L
Posts: 18
Joined: Wed Jul 03, 2019 11:46 pm

Cannot connect to wi-fi

Thu Nov 21, 2019 12:53 am

I have a raspberry pi 2 running Raspbian Buster that I need to connect to wi-fi using a wi-fi dongle based on an RTL8188EU chip. I read that this chip is supposed to be supported out of the box in the newer versions of Raspbian, so I have not installed anything.

The setup screen that appears on first boot does not work. It just sits on "scanning" forever, and no networks ever show up. The network icon on the status bar shows "wlan0: Not associated" when I hover over it, but clicking on it gives the error "No wireless interfaces found." So I decided to try it using the command line, specifically by following the official tutorial at https://www.raspberrypi.org/documentati ... ess-cli.md.

Scanning for wi-fi networks using sudo iwlist wlan0 scan works. I see the details of several nearby networks. I only see 2.4 GHz networks, but I assume that is because my dongle only supports those.

I've read that what I need to do is open up /etc/wpa_supplicant/wpa_supplicant.conf and add

Code: Select all

network={
    ssid="testing"
    psk="testingPassword"
}
I did that, except I obviously replaced the placeholders with the actual values. I have confirmed that they are correct with no typos, and the exact same configuration works on my laptop. Then, I ran wpa_cli -i wlan0 reconfigure, but that did not connect the pi to the network and returned the error message "Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory." I've read that that error message means that there is no wi-fi dongle connected.

Basically, my wi-fi dongle doesn't work at all (as far as I can tell) except for the fact that I can scan for 2.4 GHz networks. Why would everything be broken except for that one thing?

wolf.z
Posts: 133
Joined: Thu Dec 24, 2015 8:34 pm

Re: Cannot connect to wi-fi

Thu Nov 21, 2019 7:37 am

In the past, the RTL family of chipsets needed an extra install. Mr. Engman is kind of father for this driver. I cannot guarantee this is still necessary with Raspbian Buster but there is a still open issue concerning RTL chips: https://github.com/raspberrypi/linux/issues/3102 so,

proceed with: https://www.raspberrypi.org/forums/view ... 5#p1167921

ZXY007o0ePksrW7L
Posts: 18
Joined: Wed Jul 03, 2019 11:46 pm

Re: Cannot connect to wi-fi

Sat Nov 23, 2019 10:56 pm

Sorry for late reply, I just had a chance to look at this now. I don't quite understand what I'm supposed to do there. I found the git repo at https://github.com/Hexxeh/rpi-firmware/tree/master and the relevant files within that repo. How do I install a ko file?

ZXY007o0ePksrW7L
Posts: 18
Joined: Wed Jul 03, 2019 11:46 pm

Re: Cannot connect to wi-fi

Tue Nov 26, 2019 6:50 pm

I managed to follow some tutorials. Mr. Engman had an install script somewhere. The only difference it makes is that now the LED on my card flashes slowly all the time, when it used to only flash when scanning. I still cannot connect, and it still throws nonexistent device errors. Blacklisting r8188eu doesn't help (it still loads), and removing it during runtime makes the LED stop flashing and the scanning stop working.

Return to “Troubleshooting”