teslas_moustache
Posts: 4
Joined: Sun Jun 10, 2012 9:01 pm

USB wifi adapter

Tue Aug 21, 2012 9:33 pm

I bought one of [these guys](https://www.geeks.com/details.asp?invtid=NT-IM2103) from a Micro Center and I'm trying to get it to work with my Pi.

It comes with a CD that probably has drivers on it or something, but it was just plug-and-play on my Ubuntu laptop. Now I have it plugged into my Pi running Raspbian and I'm trying to figure out how to get it working.

Apparently my USB hub can't handle this thing along with a keyboard *and* a mouse, so I've removed the mouse. I'll have to fix that later.


Since I started writing this, a couple of things have happened. It was stuck on a message for a long time. I was going to write it down, but I guess it got through. It did some other stuff and was stuck on "starting internet superserver: xinetd."
Next message was "startpar: service(s) returned failure: hal ... failed!" and prompted for a login.

obcd
Posts: 917
Joined: Sun Jul 29, 2012 9:06 pm

Re: USB wifi adapter

Tue Aug 21, 2012 9:57 pm

login and check with lsusb if the stick is present.
check with ifconfig if there is an entry for wlanx If that's the case, it means the wifi stick driver is up and running, and the stick will just need some entries in /etc/network/interfaces to connect 2 an access point.
dmesg should show you some info of what happened when you inserted the wifi stick.

teslas_moustache
Posts: 4
Joined: Sun Jun 10, 2012 9:01 pm

Re: USB wifi adapter

Tue Aug 21, 2012 11:13 pm

lsusb is taking a very long time. So I restarted and did ifconfig. Nothing for wlan0. Just eth0 and lo.

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: USB wifi adapter

Tue Aug 21, 2012 11:46 pm

If you don't see it in lsusb then the system is not seeing it. lsusb should return back fairly quickly.

Sample:

Code: Select all

$lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 005: ID 0bda:0119 Realtek Semiconductor Corp.
In the list above, the WiFi adapter is Device #004. The other Realtek is a 16GB USBDrive
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

AManCalledBob
Posts: 13
Joined: Sat May 12, 2012 9:16 pm

Re: USB wifi adapter

Wed Aug 22, 2012 10:02 pm

Dweeber, What model of AirLink101 do you have? I can see 6 on their website.

I'm looking to get a USB wifi for my Pi, and want to ensure that I get one that at least one other person has got working.

Bob
---
Bob

teslas_moustache
Posts: 4
Joined: Sun Jun 10, 2012 9:01 pm

Re: USB wifi adapter

Sat Aug 25, 2012 9:47 pm

lsusb is returning results now and the wifi adapter is recognized. It shows up exactly the same as yours. However, ifconfig still has no entry for wlanX. Just eth0 and lo.

I'm going to see if it needs to be on a certain USB port. My hub seems to provide different voltages to different ports. Could be that it has enough power to be recognized, but not enough to do anything else.

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: USB wifi adapter

Sat Aug 25, 2012 10:11 pm

AManCalledBob wrote:Dweeber, What model of AirLink101 do you have? I can see 6 on their website.

I'm looking to get a USB wifi for my Pi, and want to ensure that I get one that at least one other person has got working.

Bob
Specifically I got this one off Amazon: http://www.amazon.com/gp/product/B003X26PMO

Note... each time I do a rpi-update, I need to reload the drivers. In most cases, the driver is the same, but the script that reinstalls it needs to be updated with the current kernel info to know what file to obtain. If you also have access to Eth0, this is not big deal.
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: USB wifi adapter

Sat Aug 25, 2012 10:12 pm

teslas_moustache wrote:lsusb is returning results now and the wifi adapter is recognized. It shows up exactly the same as yours. However, ifconfig still has no entry for wlanX. Just eth0 and lo.

I'm going to see if it needs to be on a certain USB port. My hub seems to provide different voltages to different ports. Could be that it has enough power to be recognized, but not enough to do anything else.
What do you have in your /etc/network/interfaces file?
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

vpelletier
Posts: 1
Joined: Thu Dec 13, 2012 8:14 am

Re: USB wifi adapter

Thu Dec 13, 2012 8:42 am

(off-topic)
Dweeber: I'm trying to reach you, but the contact form on your site is broken (complains about missing comment, although I input one). And I could not find a direct message action in this forum, nor your mail address.
(/off-topic)

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: USB wifi adapter

Thu Dec 13, 2012 10:10 am

vpelletier wrote:(off-topic)
Dweeber: I'm trying to reach you, but the contact form on your site is broken (complains about missing comment, although I input one). And I could not find a direct message action in this forum, nor your mail address.
(/off-topic)
Attempting to send 19k via a simple contact form is a recipe for rejection... Normally you put some basic comments and include your email for a contact back.

PM Sent
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

Return to “Troubleshooting”