jeffbrasel
Posts: 4
Joined: Sun Jun 17, 2012 11:48 pm

USB Wireless Issues

Mon Jun 18, 2012 12:01 am

Good afternoon!

I've been playing with my raspy for a while now and am trying to get it on a wireless network. I grabbed the one from the verified hardware list hoping to remove some hurdles.

Based on the HCL stating:

"Wireless 11N USB adapter (uses Realtek RTL8188CUS) Install using Micronet script. Works only through powered usb hub"

I put it on a powered USB hub and ran the script with no luck. I see the device in my lsusb results:

[email protected]:~$ lsusb
Bus 001 Device 008: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
Bus 001 Device 006: ID 062a:3286 Creative Labs
Bus 001 Device 007: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
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 005: ID 058f:6254 Alcor Micro Corp. USB Hub


But have errors in dmesg:

[ 8.835065] usb 1-1.3.1.1: new high speed USB device number 8 using dwc_otg
[ 8.987216] usb 1-1.3.1.1: New USB device found, idVendor=0bda, idProduct=8176
[ 9.020493] usb 1-1.3.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9.051657] usb 1-1.3.1.1: Manufacturer: Realtek
[ 9.080571] usb 1-1.3.1.1: SerialNumber: 00e04c000001
[ 10.441573] 8192cu: disagrees about version of symbol alloc_etherdev_mqs
[ 10.595373] 8192cu: Unknown symbol alloc_etherdev_mqs (err -22)
[ 10.624965] 8192cu: disagrees about version of symbol skb_copy_bits
[ 10.651062] 8192cu: Unknown symbol skb_copy_bits (err -22)
[ 10.666749] 8192cu: disagrees about version of symbol skb_put
[ 10.681304] 8192cu: Unknown symbol skb_put (err -22)
[ 10.695245] 8192cu: disagrees about version of symbol __netif_schedule


iwconfig says no wireless extensions.

My linux is quite rusty, but I'm an IT Consultant by trade so I can follow direction well.

Any thoughts on what I'm doing wrong? Thanks in advance! :)

texy
Forum Moderator
Forum Moderator
Posts: 5155
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: USB WIreless Issues

Mon Jun 18, 2012 6:22 am

You didn't say which image you are using, but I would suggest looking through this thread :
http://www.raspberrypi.org/phpBB3/viewt ... =26&t=6256

The new Wheezy image now appears to be working with suitable drivers, so I,d suggest starting afresh.

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

jeffbrasel
Posts: 4
Joined: Sun Jun 17, 2012 11:48 pm

Re: USB WIreless Issues

Mon Jun 18, 2012 2:03 pm

Thanks for the guidance! I found a lot of threads on this, but not that one.

I forgot to say I'm using Debian, but am willing to use whichever image cooperates with me.



I've started fresh a few times, and will again tonight after work with this new info. Thanks! :P

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

Re: USB WIreless Issues

Mon Jun 18, 2012 3:33 pm

jeffbrasel wrote:"Wireless 11N USB adapter (uses Realtek RTL8188CUS) Install using Micronet script. Works only through powered usb hub"
From the error messages looks like you have the latest linux version but do not have the latest driver installed.

Which script version are you using? Latest is "install-rtl8188cus-20120617.sh" to cover latest version of rpi-update.

Check the code version with command "uname -a". You should see something like #125 PREEMPT. You need the latest script if it shows #122 or #125.

You can either generate a new SD card image and run the latest install script or you can update to the latest driver manually. There is a link to it on the wiki page where the script is found. Or install using the commands

Code: Select all

sudo wget http://dl.dropbox.com/u/80256631/8192cu-20120617.tar.gz
tar -xzvf 8192cu-20120617.tar.gz
sudo install -p -m 644 8192cu.ko /lib/modules/3.1.9+/kernel/drivers/net/wireless/
sudo depmod -a
Unplug the wifi adapter and plug it back in and it should start up.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

jeffbrasel
Posts: 4
Joined: Sun Jun 17, 2012 11:48 pm

Re: USB WIreless Issues

Wed Jun 20, 2012 4:20 am

Thank you so much for your help, MrEngman!!

I started with a fresh debian image, extended the fs to 8GB, updated everything, and ran the script. BINGO!

It works only in the USB slot directly on the raspy and not on my 'decent' grade powered hub. I've ordered a hub that's on the list; I hope it'll run on that.

Thanks again!! I have an enormous smile on my face thanks to your work. :idea:

texy
Forum Moderator
Forum Moderator
Posts: 5155
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: USB Wireless Issues

Wed Jun 20, 2012 3:39 pm

Which Debian image are you using?
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

jeffbrasel
Posts: 4
Joined: Sun Jun 17, 2012 11:48 pm

Re: USB Wireless Issues

Wed Jun 20, 2012 3:44 pm

I'm using debian6-19-04-2012 and ran the the 20120617 version of the script.

texy
Forum Moderator
Forum Moderator
Posts: 5155
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: USB Wireless Issues

Wed Jun 20, 2012 3:54 pm

Ok! Just wanted to check if you had squeeze or wheezy.
Texy.
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Return to “Beginners”