Wifi Driver

Lee, with the dongle that does not work:

uname -a:
Linux raspberrypi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux

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 0bda:8179 Realtek Semiconductor Corp.

find /lib/modules -type f -path “wireless” -name “*.ko” :
{Nothing responds}

lsmod:
Module Size Used by
rfcomm 33132 0
bnep 11030 2
bluetooth 225845 10 bnep,rfcomm
rfkill 19567 2 bluetooth
i2c_dev 5277 0
snd_bcm2835 18169 0
snd_soc_pcm512x 8909 0
snd_soc_wm8804 7833 0
snd_soc_bcm2708_i2s 5486 0
regmap_mmio 2818 1 snd_soc_bcm2708_i2s
snd_soc_core 128166 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_bcm2708_i2s
regmap_spi 1913 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm_dmaengine 5481 1 snd_soc_core
snd_pcm 81518 3 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc 5168 1 snd_pcm
regmap_i2c 1657 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_compress 8136 1 snd_soc_core
snd_seq 54581 0
snd_timer 20353 2 snd_pcm,snd_seq
snd_seq_device 6485 1 snd_seq
leds_gpio 2055 0
led_class 4119 1 leds_gpio
snd 61518 7 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
spi_bcm2708 4808 0
i2c_bcm2708 4719 0

modinfo 8192cu | grep -i v0bdap8179
{no response}

The wifi dongle that DOES work and shows up on wlan0:

uname -a
Linux raspberrypi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux

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 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

find /lib/modules -type f -path “*wireless*” -name “*.ko”

{No response again.}

lsmod

Module Size Used by
8192cu 551136 0
rfcomm 33132 0
bnep 11030 2
bluetooth 225845 10 bnep,rfcomm
rfkill 19567 3 bluetooth
i2c_dev 5277 0
snd_bcm2835 18169 0
snd_soc_pcm512x 8909 0
snd_soc_wm8804 7833 0
snd_soc_bcm2708_i2s 5486 0
regmap_mmio 2818 1 snd_soc_bcm2708_i2s
snd_soc_core 128166 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_bcm2708_i2s
regmap_spi 1913 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm_dmaengine 5481 1 snd_soc_core
snd_pcm 81518 3 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc 5168 1 snd_pcm
regmap_i2c 1657 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_compress 8136 1 snd_soc_core
snd_seq 54581 0
snd_timer 20353 2 snd_pcm,snd_seq
snd_seq_device 6485 1 snd_seq
leds_gpio 2055 0
led_class 4119 1 leds_gpio
snd 61518 7 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
spi_bcm2708 4808 0
i2c_bcm2708 4719 0

modinfo 8192cu | grep -i v0bdap8179
{No response.}

Thanks for pasting that output John. It is the driver- and the new dongles have a green LED. Note that the one that works was 0bda:8176 with the 8192cu driver and the one that didn’t was the same as mine 0bda:8179 (and probably the same as Lucas).

The good news is there is a driver that works with the 8179 and apparently it’s bundled in the latest raspbian kernel already.

If you have the time, you should try compiling the 8188eu driver and see if it works for you and if you see a green LED :smiley:

I followed the instructions here http://blog.samat.org/2014/12/15/realtek-8188eu-based-wi-fi-adapters-on-the-raspberry-pi/ and got it working.

I installed the latest Raspbian for Robots and it included a driver for the new model (green LED) wifi dongle. Unfortunately it does not work out of the box- you have to install the non free firmware for it which can be downloaded from http://ftp.de.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-nonfree_0.43.tar.gz

The missing file is rtl8188eufw.bin which should be copied to /lib/firmware/rtlwifi/

But once that was done I was able to follow the instructions at http://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md and get on my home wifi!

I also found this article tonight and he followed the same path I did http://omarriott.com/aux/raspberry-pi-wifi/ only with a different dongle and drivers.

I think we can whip up a tool to automate the discovery and configuration that would work on the old and the new DI images and dongles.

leetrout is a genius.

Lee’s directions were perfect and I got the non-working device to work by following them.

I have a truncated set of directions that will hopefully work. It would be awesome if anyone else with a bum wifi device from Dexter could test these. I’ve tried to make them as easy as possible.

1). Connect your pi to the internet. Since wifi isn’t working, this probably means connecting directly into your router and connecting via SSH.
2). In the command line type the following commands.
3). cd /lib/firmware/rtlwifi/
4). sudo wget http://www.dexterindustries.com/files/rtl8188eufw.bin
5). ‘sudo reboot’

This healed the problem for me. To make it easier and cleaner for anyone else wanting an immediate fix, I put the uncompressed bin file up on the DI page for download.

Hi John,
I copied rtl8188eufw.bin to /lib/firmware/rtlwifi/ as suggested in your recent post. The LED light on the wifi dongle is still not coming on. Do you have any other suggestions?

Thanks for your help and patience!

Lucas

Lucas,

If you run uname -r and the 2nd number is less than 18 you don’t have the driver built in.

For example, on the 2014-07-30 sd card the output from uname -r is “3.12.22+” and we’re looking at the 12- so I don’t have the driver built in.

If that’s what you see as well do the following:

On the pi run these commands (Note the wget command is all one line with a space between wget and the URL):

wget https://www.dropbox.com/s/zu28vtd0cjq7vdb/rtl8188eu.tgz

tar -xzf rtl8188eu.tgz

cd rtl8188eu/

sudo make install

Then plug in your usb wifi dongle and it should work.

Hi everyone!

The solution worked, we got wifi working tonight. A big thank you to everyone for helping me!

THANK YOU!!!

Lucas