Page 1 of 2
USB WIFI dongle was working and now isn't (EDIMAX EW-7811UT
Posted: Sun Jan 18, 2015 5:21 pm
by Pdog
Hi Peeps,
Looking for some advice. I purchased A Pi B+ Starter Kit which came with a NOOBS SD card. I successfully installed OpenELEC. My USB wifi dongle (Edimax EW-7811UTC) worked out of the box without any configuration.
Unfortunately it has now stopped working and in the PI only. The dongle definitely works in my PC. I have tried all USB ports and it simple not detected.
I have tried Rasplex and Raspbian, and they also cannot see the USB dongle.
I know the USB ports work because the keyboard and mice work. Can anyone offer me any advice on what I can do?
Unfortunately I have overwritten the original NOOBS SD card and can't find the NOOBS SD Card image with the openelec on it. If anyone can point me to this I would be grateful.
I have been pulling my hair out all afternoon with this.
Cheers
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 6:09 pm
by Pdog
I have seen some
Posts regarding using the terminal to perhaps force the wifi. But that is not possible if I am
Booting straight to rasplex or openelec?
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 7:17 pm
by DougieLawson
Connect your B+ to your router with a cat5 cable.
Login and run sudo apt-get update && sudo apt-get dist-upgrade
Reboot then try again with the WiFi dongle.
If it still doesn't work post the output from the following commands
ifconfig -a
lsusb # that's ell, ess, you, ess, bee.
cat /etc/network/interfaces
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf # you may want to redact the passwords in there.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 7:34 pm
by Pdog
Thanks for the reply. I'll
Give this ago.
Stupid question. I can plug it in.
So I need to SSH into the device and run the commands with the USB wifi dongle plugged in.
I'll post back the results.
Cheers
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 8:22 pm
by ThreePointOneDour
I'm having very similar problems with my Netgear dongle. My dongle is always causing me problems.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 8:39 pm
by Onira
guys, show your /etc/network/interfaces file
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 9:58 pm
by DougieLawson
Onira wrote:guys, show your /etc/network/interfaces file
More important is to show the output from an
lsusb command (that's ell, ess, you, ess, bee).
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 10:49 pm
by ThreePointOneDour
I edited my file according to this
http://www.raspberrypi.org/forums/viewt ... 35#p651635
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet static
address xxx.xxx.x.xxx
netmask xxx.xxx.xxx.x
gateway xxx.xxx.x.x
wpa-ssid...
wpa-psk ...
iface default inet dhcp
I had a longer connection, but has dropped out again.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 11:21 pm
by DougieLawson
And the output from the lsusb command shows us what?
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 11:24 pm
by ThreePointOneDour
DougieLawson wrote:And the output from the lsusb command shows us what?
Shows us that everything is there and recognised.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 11:27 pm
by DougieLawson
ThreePointOneDour wrote:DougieLawson wrote:And the output from the lsusb command shows us what?
Shows us that everything is there and recognised.
But it doesn't show that to me! Since I'm not in the room with you.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 11:40 pm
by ThreePointOneDour
DougieLawson wrote:ThreePointOneDour wrote:DougieLawson wrote:And the output from the lsusb command shows us what?
Shows us that everything is there and recognised.
But it doesn't show that to me! Since I'm not in the room with you.
I did guess that's why you asked.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Sun Jan 18, 2015 11:41 pm
by ThreePointOneDour
I'm not sure if there's some kind of ip address conflict going on. If I look at my LAN and look at attached devices, it comes and goes, MAC address changes (device name then goes to unkown), then IP address changes, something wild is going on.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Mon Jan 19, 2015 5:32 am
by Onira
Code: Select all
$ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 1d57:ad02 Xenta
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 006: ID 08bb:27c7 Texas Instruments Japan
Bus 001 Device 009: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge
Show us
your output
There is nothing to be afraid of showing it

Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Mon Jan 19, 2015 8:53 am
by Pdog
wow my post has been slightly hijacked here!
I tried this:
sudo apt-get update && sudo apt-get dist-upgrade
It didn't recognise the command.
I then typed: ifconfig -a
it should the wired ethernet and the loopback. (i'll post the output tomorrow when I back at home) along with the isusb.
Can someone elpalin how I show the: "/etc/network/interfaces" file??
Thanks
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Mon Jan 19, 2015 8:58 am
by Onira
and as we asked, show us the output of
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Mon Jan 19, 2015 8:28 pm
by ThreePointOneDour
Pdog wrote:wow my post has been slightly hijacked here!
Sorry!
Though, if we double up, maybe we can get more info to sort this out? If you'd rather me not, just say and I'll go

Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Mon Jan 19, 2015 8:38 pm
by ThreePointOneDour
Onira wrote:Code: Select all
$ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 1d57:ad02 Xenta
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 006: ID 08bb:27c7 Texas Instruments Japan
Bus 001 Device 009: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge
Show us
your output
There is nothing to be afraid of showing it

Ok, I can't keep it secret for much longer.....
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 046d:c078 Logitech, Inc.
Bus 001 Device 005: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 001 Device 006: ID 0846:9041 Netgear, Inc. WNA1000M 802.11gnb [Realtek RTL8188CUS]
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Mon Jan 19, 2015 10:20 pm
by DougieLawson
Start with this in /etc/network/interfaces
Code: Select all
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
wireless-power off
iface default inet dhcp
and this in /etc/wpa_supplicant/wpa_supplicant.conf
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="yourWiFiSSIDgoeshere"
psk="yourWiFipasswordgoeshere"
}
When that is working check your network settings & switch to a static address.
To check settings use
route -n which should get something like this
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.x.ggg 0.0.0.0 UG 0 0 0 wlan0
192.168.x.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
You can then use the gateway value and Genmask (aka netmask) to set-up your static address.
Code: Select all
iface default inet static
address 192.168.x.ppp
gateway 192.168.x.ggg
netmask 255.255.255.0
The dongle you've got should work out of the box, no special drivers needed, the drivers are built-in.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Tue Jan 20, 2015 7:36 pm
by Pdog
ThreePointOneDour wrote:Pdog wrote:wow my post has been slightly hijacked here!
Sorry!
Though, if we double up, maybe we can get more info to sort this out? If you'd rather me not, just say and I'll go

No its fine mate. I am just trying to post my information now, in the hope someone can help. I have a new SD card now and fresh install of OPENELEC from NOOBS 1.3.9
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Tue Jan 20, 2015 7:42 pm
by Pdog
I ran the commands as suggested but it would not locate the path /files I also got Permission dened.
Now running Raspbian, I have started off by running the following command:
sudo apt-get update && sudo apt-get dist-upgrade
Its pulling down a lot of packages and installing them.
Rebboted with the wifi dongle still nothing, here is the output as requested:
lsusb:
pi@raspberrypi ~ $ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 7392:a812 Edimax Technology Co., Ltd
Bus 001 Device 005: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
So it can see the Edimax device
wpa_gui in the Rasbian OS cannot see any adapter on the dropdown list.
cat /etc/network/interfaces
pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
sudo cat /etc/wpa_supplicant/wpa_supplicant.cong
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
EDIT:
I edited the cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
I was watching the console when it rebooted and it stated it didn't know what wlan0 was
It does correctly identify the Edimax device though at boot.
Tried this:
sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
Can anyone help with the above information provided?
Thanks
P
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Tue Jan 20, 2015 9:39 pm
by DougieLawson
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Tue Jan 20, 2015 9:45 pm
by Pdog
Thanks Dougie,
The device was working in the beginning!
Can you see any errors in the outputs above?
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Tue Jan 20, 2015 10:27 pm
by DougieLawson
I'd toss it in the drawer and buy a new one that has a well supported chipset.
Re: USB WIFI dongle was working and now isn't (EDIMAX EW-78
Posted: Wed Jan 21, 2015 5:55 pm
by Pdog
Shame it cost £15 and was purchased for the pi.
Could an update to the pi have caused it to stop working, even if I have reimaged the SD card multiple times?