waffleShirt
Posts: 4
Joined: Wed Sep 12, 2012 12:48 pm

Re: Trying to get an RTL8188CUS wireless USB NIC working.

Thu Sep 13, 2012 1:10 pm

Thanks! I'll try that out ASAP and hopefully get it working.

Once its working on Wheezy it'll be time to get Raspbmc happening!

waffleShirt
Posts: 4
Joined: Wed Sep 12, 2012 12:48 pm

Re: Trying to get an RTL8188CUS wireless USB NIC working.

Thu Sep 13, 2012 3:43 pm

Try as I might I still get no love. I even used your auto install script Engman. The device seems to be detected fine but no wlan0 device ever gets created. When I check dmesg I always see the "8192cu disagrees about version of symbol module_layout" error that I have noticed a few other people having.

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Trying to get an RTL8188CUS wireless USB NIC working.

Thu Sep 13, 2012 8:44 pm

waffleShirt wrote:Try as I might I still get no love. I even used your auto install script Engman. The device seems to be detected fine but no wlan0 device ever gets created. When I check dmesg I always see the "8192cu disagrees about version of symbol module_layout" error that I have noticed a few other people having.
The message you see indicates the driver is not the right one for the version of linux you have. What image are you using? What is the output of the command uname -a?

If you've tried installing manually and then tried using the script you have to be careful how you use it. To use the script it is best to start with a new image. If you've tried installing manually you may get the script to install the correct driver but at the appropriate point in the script you need to indicate you are updating an already installed wifi, not adding a new one. This should install the correct driver version but not change the configuration files. Whether it then works then depends on the configuration files being correctly setup. If you run the script without having an internet connection the script can tell you what driver file you need to use or whether the image you are using can have the wifi configured by the script. If you have an internet connection to your Pi the script will automatically install the correct driver if it recognises the kernel version you image uses.

You can find a list of linux versions and compatible driver versions near the end of the instructions for the script here http://dl.dropbox.com/u/80256631/install-rtl8188cus.txt If the output of command uname -a agrees with an entry in the list then you can download the driver version that should work with the version of linux you have and manually install it. Provided /etc/network/interfaces is set up correctly then the wifi should work.

if you have a wired connection to your Pi you can do this with the commands

Code: Select all

sudo wget http://dl.dropbox.com/u/80256631/8192cu-2012xxyy.tar.gz -O 8192cu-2012xxyy.tar.gz
tar -zxf 8192cu-2012xxyy.tar.gz
sudo install -p -m 644 8192cu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/
sudo depmod -a
substitute the correct numbers for xxyy in the commands above.

If you don't have a wired connection you will have to download the driver on to another machine and copy it to the SD card. You can do this by copying the file to a USB stick and then copying from the USB stick on to the Pi. You can then use the commands above to install it - excluding the wget command of course.

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

waffleShirt
Posts: 4
Joined: Wed Sep 12, 2012 12:48 pm

Re: Trying to get an RTL8188CUS wireless USB NIC working.

Sun Sep 23, 2012 1:38 pm

Thanks MrEngman.

I never got a chance to properly try out these new suggestions, and when I finally had time tonight I discovered that there was a new Raspbian image containing a lot of your work. With the new image Wifi worked out of the box with my adapter!

Thanks for all your help, good to finally get this working in the end :)

ulrichard
Posts: 3
Joined: Sat Sep 29, 2012 1:57 pm

Re: Trying to get an RTL8188CUS wireless USB NIC working.

Sat Sep 29, 2012 2:08 pm

I copied the ko and bin to my system, and edited the blacklist.
It looks much better than before, but I just doesn't find any networks.

Code: Select all

$ lsusb
Bus 001 Device 004: ID 0586:341f ZyXEL Communications Corp. NWD2205 802.11n Wireless N Adapter [Realtek RTL8192CU]

$lsmod
Module                  Size  Used by
bnep                    7912  2 
rfcomm                 25240  4 
bluetooth             118996  10 bnep,rfcomm
fuse                   49036  1 
8192cu                409936  0 

$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

$ iwlist wlan0 scan
wlan0     No scan results
The same dongle works nicely on my ubuntu workstation.

Genius23008
Posts: 54
Joined: Sun Jun 03, 2012 6:50 am

Re: Trying to get an RTL8188CUS wireless USB NIC working.

Sat Sep 29, 2012 6:51 pm

I have I a Realtek RTL8188 and it didn't work with the autoscript. When it is connected, it is not picked up in any way, and the Pi instantly stops responding or cuts off the USB ports.

Updated to the new Wheezy, works instantly from the GUI.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13009
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Trying to get an RTL8188CUS wireless USB NIC working.

Sat Sep 29, 2012 7:02 pm

But the Pi hangs when I insert the USB device . Any ideas ?
Just a tip:
If you have a rev2 board (with mounting holes) do not put a USB stick in while already booted up, insert the stick before you reboot. On a rev 2 the act of plugging in the stick may cause a very short power fail.

StickUmTom
Posts: 5
Joined: Mon Dec 24, 2012 8:41 pm

Re: Trying to get an RTL8188CUS wireless USB NIC working.

Mon Dec 24, 2012 8:43 pm

Hi,

Can anyone who has got the EW-7811Un working under arch linux tell me does setting the Wi-Fi into monitor more work?

This can be achieved by doing

ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

Thank you.

Return to “Troubleshooting”