Page 1 of 1

WiFi Dongle Not Supported

Posted: Tue May 07, 2019 3:03 pm
by G8FKL
I've set up a hotspot with a repurposed Raspberry Pi2 B and a DV-Mega dual-band hat and I can access it fine over Ethernet. But I want to use WiFi as the main connection. The Pi came with a custom home automation app (now replaced by Pi-Star) on SD card and a TP-Link USB dongle for WiFi support. But the version of Pi-Star I'm using (4.14.79-v7+) does not apparently support the TP-Link dongle. It remains resolutely 'down' even though I have a correct wpa_supplicant file installed.

The lsusb command shows the dongle to be: Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n. The driver for this is apparently not included in standard Pi OS distributions but needs to be added.

Would perhaps a different version of Pi-Star include the driver for TP-Link? Or is there a known dongle that does work?

Or should I just junk the Pi 2 and start with a new Pi 3 with onboard WiFi?

Re: WiFi Dongle Not Supported

Posted: Tue May 07, 2019 8:15 pm
by M1DNS
You'll need to manually update/ install the driver for Ur hardware.

Or purchase a rasp pi supported WiFi dongle from adafruit, pimorini, pi-hut etc.
Which would work with the std. drivers included with the raspbian image.

Andrew M1DNS, (Mod)


Re: WiFi Dongle Not Supported

Posted: Fri May 10, 2019 11:44 am
by G8FKL
Just fitted a genuine PiHut dongle and still not recognised with an 'Interface is down' message in the config screen. This with both the latest Beta and the release versions of PiStar.

Beginning to think there's a hardware problem. Next stop Pi3 with onboard WiFi?

Re: WiFi Dongle Not Supported

Posted: Fri May 10, 2019 2:45 pm
by WU0V
Don’t know if this will help, but have you tried to bring up the wireless interface manually? SSH in, then run “ifup wlan0”. If no luck try a 1 instead of a zero (wlan0 may be for an onboard wifi interface). If you get a message that the interface is up, then you can see if the config screen in pi-star will get you going. You may have to use sudo before the ifup command, I don’t recall. ifdown wlan0 shuts off the wireless interface, btw. I use the ifdown command when connected via USB to my phone and don’t want or need the wifi interface.

Re: WiFi Dongle Not Supported

Posted: Fri May 10, 2019 2:51 pm
by G8FKL
Many thanks for the suggestion. I'll give that a try. Failing that I'll attach a keyboard and screen and boot into a vanilla Raspbian OS and see if I can get wireless to work that way.

Re: WiFi Dongle Not Supported

Posted: Fri May 10, 2019 3:17 pm
by K0TI

Re: WiFi Dongle Not Supported

Posted: Fri May 24, 2019 2:21 pm
by G8FKL
After a full-on two weeks with both my day jobs, I finally got back to this.

SSH into pi-star.local and the following:

ifup wlan0
ifup: failed to open lockfile /run/network/ifstate.wlan0: Permission denied

ifup wlan1
ifup: unknown interface wlan1 - which is what I expected given there is only one WiFi device.

I'm still none the wiser I'm afraid.

EDIT - tried instead with 'sudo ifup wlan0' and it responds with 'interface wlan0 already configured' but the pi-star config screen still shows 'interface is down'

Re: WiFi Dongle Not Supported

Posted: Wed May 29, 2019 9:55 am
by G8FKL
Finally fixed.

To close the loop on this - and to help any others in the same boat - I have found and fixed the problem. It was the wireless router that was to blame.

I'm aware that some routers simply don't like some other makes of WiFi adaptors. So instead of the Cisco device I was trying to connect to, I changed the network to one based around a Mikrotik Routerboard and it connected instantly.

But to be fair the error message ' interface is down' is a bit misleading. It suggests there's a physical problem somewhere. Maybe 'not connected to wlan' or 'wlan not connected' would be better in the circumstances?