Using the usb wifi module with antenna, plugged into a usb hub, (not powered) that is plugged into the Rasberry Pi (B), cannot seem to get a connection to the router. It seems that the Rasberry Pi does not recognize the module. I tried the following
sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "ssid"
wpa-psk "password"
hit control x
hit y
hit return
I tried sudo ifconfig and it does not list an ip address for the Pi
This is all new to me, so any help would be much appreciated - thanks
usb wifi 802.11b/g/n module with antenna
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: usb wifi 802.11b/g/n module with antenna
You have filled in the actual SSID and password of your own router here?Leif_Farr wrote:iface wlan0 inet dhcp
wpa-ssid "ssid"
wpa-psk "password"
What do you get from these:
Code: Select all
ifconfig -a
Code: Select all
iwconfig
-
- Posts: 5
- Joined: Sun Sep 29, 2013 4:15 pm
Re: usb wifi 802.11b/g/n module with antenna
Hello and thanks for the reply. Yes I did input my modems ssid and password in the correct sections. When I used ifconfig -a I got the following results:
etho Link encap:Ethernet HWaddr b8:27:eb63:7b:8c
UP BROADCAST MULTICAST MTU:1500 METRIC:1
Rx packets:0 errors:0 dropped:0 overuns:0 frame:0
Tx packets:0 errors:0 dropped:0 overuns:0 frame:0
collisions:0 txqueelen:1000
Rx bytes:0 (0.0 B) Tx bytes:0 (0.0 B)
lo Link encap: Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
Up Loopback Runnning MTO:16436 Metric:1
Tx packets:0 errors:0 dropped:0 overuns:0 carrier:0
collisions:0 txquenelen:0
Rx bytes:0 (o.o B) Tx bytes:0 (0.0 B)
Typing in iwconfig gives the following results:
lo no wireless extensions
etho no wireless extensions
etho Link encap:Ethernet HWaddr b8:27:eb63:7b:8c
UP BROADCAST MULTICAST MTU:1500 METRIC:1
Rx packets:0 errors:0 dropped:0 overuns:0 frame:0
Tx packets:0 errors:0 dropped:0 overuns:0 frame:0
collisions:0 txqueelen:1000
Rx bytes:0 (0.0 B) Tx bytes:0 (0.0 B)
lo Link encap: Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
Up Loopback Runnning MTO:16436 Metric:1
Tx packets:0 errors:0 dropped:0 overuns:0 carrier:0
collisions:0 txquenelen:0
Rx bytes:0 (o.o B) Tx bytes:0 (0.0 B)
Typing in iwconfig gives the following results:
lo no wireless extensions
etho no wireless extensions
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: usb wifi 802.11b/g/n module with antenna
So you're not talking to the thing at all. What happens if you plug it directly into the Pi?
-
- Posts: 5
- Joined: Sun Sep 29, 2013 4:15 pm
Re: usb wifi 802.11b/g/n module with antenna
Hello - I tried plugging the module directly into the Pi, (instead of the usb hub, non powered) - could not connect to modem. I tried ifconfig -a and iwconfig and the results were the same as in my previous reply.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: usb wifi 802.11b/g/n module with antenna
OK - let's try replacing it. Please email [email protected] with a link to this thread and ask for a replacement.
-
- Posts: 5
- Joined: Sun Sep 29, 2013 4:15 pm
Re: usb wifi 802.11b/g/n module with antenna
Hello
I e-mailed support and asked for a replacement as suggested. I did have a couple of questions. Should I have tried using a powered usb hub? I tried plugging the wifi module directly into the Pi, however I still had the usb hub plugged into the Pi's second usb port to run the keyboard and mouse? Secondly the module came with a small disk that contained a driver, was I supposed to have installed a driver for the module or was that just for Window OS? It seemed from the information that I was able to gather that using this wifi module with the Pi was a plug and play situation with the one task of modifying the file and putting in the ssid and password, is this correct or am I missing something?
I e-mailed support and asked for a replacement as suggested. I did have a couple of questions. Should I have tried using a powered usb hub? I tried plugging the wifi module directly into the Pi, however I still had the usb hub plugged into the Pi's second usb port to run the keyboard and mouse? Secondly the module came with a small disk that contained a driver, was I supposed to have installed a driver for the module or was that just for Window OS? It seemed from the information that I was able to gather that using this wifi module with the Pi was a plug and play situation with the one task of modifying the file and putting in the ssid and password, is this correct or am I missing something?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: usb wifi 802.11b/g/n module with antenna
An unpowered hub is essentially useless with a pi, since the pi can only supply a very limited amount of power to USB.
You definitely should give the dongle a try without anything else connected to USB.
You definitely should give the dongle a try without anything else connected to USB.
-
- Posts: 5
- Joined: Sun Sep 29, 2013 4:15 pm
Re: usb wifi 802.11b/g/n module with antenna
Hello again
Well, I tried the module plugged directly into the Pi's usb port for the second time, I also unplugged the usb hub and then just plugged the mouse into the Pi's second usb port so that I would have a way of logging out of the Pi. Still the same old problem, not connecting to modem and not recognizing the module.
Well, I tried the module plugged directly into the Pi's usb port for the second time, I also unplugged the usb hub and then just plugged the mouse into the Pi's second usb port so that I would have a way of logging out of the Pi. Still the same old problem, not connecting to modem and not recognizing the module.
- portzt
- Posts: 21
- Joined: Thu May 23, 2013 10:55 pm
Re: usb wifi 802.11b/g/n module with antenna
Hello, I am experiencing the same thing but my dongle does not have an antenna. I am running Occidentalis 0.2 on a model B Raspberry Pi with Hynix memory. I noticed at boot time if gives an error message "ignoring unknown interface wlan0:wlan0." I have tried a distribution upgrade as well as adding
deb http://ftp.us.debian.org/debian wheezy main contrib non-free
to /etc/apt/sources.list
I am wondering if a driver for my USB dongle is missing from the Occidentalis distro. I built the Raspberry Pi WiFi Radio according to your learn.adafruit.com tutorial and used Raspbian Wheezy 05-25-13 release and the dongle works fine when plugged directly into the Pi.
Here are some outputs from my device.
pi@raspberrypi ~ $ 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 0411:01a2 BUFFALO INC. (formerly MelCo., Inc.) WLI-UC-GNM Wireless LAN Adapter [Ralink RT8070]
pi@raspberrypi ~ $ lsmod
Module Size Used by
pi@raspberrypi ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:71:cb:08
inet addr:192.168.0.180 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2847 errors:0 dropped:0 overruns:0 frame:0
TX packets:768 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:366856 (358.2 KiB) TX bytes:88806 (86.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
pi@raspberrypi ~ $ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
deb http://ftp.us.debian.org/debian wheezy main contrib non-free
to /etc/apt/sources.list
I am wondering if a driver for my USB dongle is missing from the Occidentalis distro. I built the Raspberry Pi WiFi Radio according to your learn.adafruit.com tutorial and used Raspbian Wheezy 05-25-13 release and the dongle works fine when plugged directly into the Pi.
Here are some outputs from my device.
pi@raspberrypi ~ $ 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 0411:01a2 BUFFALO INC. (formerly MelCo., Inc.) WLI-UC-GNM Wireless LAN Adapter [Ralink RT8070]
pi@raspberrypi ~ $ lsmod
Module Size Used by
pi@raspberrypi ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:71:cb:08
inet addr:192.168.0.180 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2847 errors:0 dropped:0 overruns:0 frame:0
TX packets:768 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:366856 (358.2 KiB) TX bytes:88806 (86.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
pi@raspberrypi ~ $ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: usb wifi 802.11b/g/n module with antenna
Which dongle do you have? Did you get it from us?portzt wrote:Hello, I am experiencing the same thing but my dongle does not have an antenna.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: usb wifi 802.11b/g/n module with antenna
This is what you should get via 'lsusb' if you purchased any of our WiFi adapters
pi@raspberrypi:~$ 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
of course, if you bought it elsewhere, we can't help or support. the 'rtl8188CUS'/'rtl8192' modules are well supported by raspbian & occidentalis.
pi@raspberrypi:~$ 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
of course, if you bought it elsewhere, we can't help or support. the 'rtl8188CUS'/'rtl8192' modules are well supported by raspbian & occidentalis.
- portzt
- Posts: 21
- Joined: Thu May 23, 2013 10:55 pm
Re: usb wifi 802.11b/g/n module with antenna
Hello,
I didn't get the dongle from you unfortunately but the dongle works under the standard Raspbian Wheezy 05-25-2013 distribution. I assumed that Occidentalis 0.2 would have driver support for the dongle since it is a Raspbian derivative. Sorry if this should have been under a new thread.
I didn't get the dongle from you unfortunately but the dongle works under the standard Raspbian Wheezy 05-25-2013 distribution. I assumed that Occidentalis 0.2 would have driver support for the dongle since it is a Raspbian derivative. Sorry if this should have been under a new thread.
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/