3Point14159
Posts: 9
Joined: Fri May 10, 2013 3:56 am

Installing USB Wifi Dongle

Mon May 13, 2013 4:44 pm

Hi guys, first post. I spent a while looking through related threads but couldn't find anything, forgive me if i am wrong.

I am having trouble getting my Wifi going. The Rpi is picking the dongle up on the lsusb command but when i attempt apt-cache search on the model nothing returns. It doesn't show up on my mod list and the drives i have attempted to update have all come back that i have the latest version.
I am probably being a real noob here. I have updated and mucked about the the network interfaces and wpa config and all sorts so it is all a bit messy. I will tackle that again when i get to it but for now i just want my dongle to be recognised.

This is the dongle.
http://www.ebay.co.uk/itm/New-Mini-USB- ... 2c6e4dc3a1

I believe it is a well known chip so i don't think that is the problem, just my ineptitude.
A point in the right direction would be much appreciated :)

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Installing USB Wifi Dongle

Mon May 13, 2013 6:46 pm

What lsusb actually says and what operating system and version you have would be a big help. Recent Raspdians have a wifi config on the desktop, which is an obvious first step.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

3Point14159
Posts: 9
Joined: Fri May 10, 2013 3:56 am

Re: Installing USB Wifi Dongle

Mon May 13, 2013 11:13 pm

Hi, thanks for the reply.

OS is 7.0 Wheezy installed via BerryBoot.
lsusb returns Bus 001 Device 005: ID 148f:3070 Ralink Technology, Corp. RT2870/3070 Wireless adapter.

I have tried using every variation of the Model numbers when apt-cache searching.

Wifi Config is on this version but does to recognise any devices, hence trying to use the terminal.

Cheers

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Installing USB Wifi Dongle

Wed May 15, 2013 6:07 am

Drivers should be there already
The firmware however may not be installed, which the card needs to work

sudo apt-get install firmware-ralink (or ralink-firmware i forget) will install the firmware.
After that either reboot or unplug and replug the usb dongle and that should activate the USB dongle
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

3Point14159
Posts: 9
Joined: Fri May 10, 2013 3:56 am

Re: Installing USB Wifi Dongle

Wed May 15, 2013 11:28 pm

Hi, I forget to mention i already done that. Doing it again returns "firmware-ralink is already the newest version. The following packages were automatically isntalled and are no longer required: icelib libblas3gf liblapack3gf.... 0 upgraded 0 newly installed 0 to remove and 13 not upgraded.

Could BerryBoot be a possible factor in this? Something tells me it is conflicting with Wheezy somehow.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Installing USB Wifi Dongle

Thu May 16, 2013 1:10 am

3Point14159 wrote:Hi, I forget to mention i already done that. Doing it again returns "firmware-ralink is already the newest version. The following packages were automatically isntalled and are no longer required: icelib libblas3gf liblapack3gf.... 0 upgraded 0 newly installed 0 to remove and 13 not upgraded.

Could BerryBoot be a possible factor in this? Something tells me it is conflicting with Wheezy somehow.
In that case, we'll need some more information

Can you paste the output of lsusb, lsmod, and ifconfig, and also the contents of your /etc/network/interfaces file ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

User avatar
sdse78
Posts: 25
Joined: Thu Apr 11, 2013 1:31 am
Location: San Diego, CA

Re: Installing USB Wifi Dongle

Thu May 16, 2013 2:45 am

3Point14159 wrote:Hi, I forget to mention i already done that. Doing it again returns "firmware-ralink is already the newest version. The following packages were automatically isntalled and are no longer required: icelib libblas3gf liblapack3gf.... 0 upgraded 0 newly installed 0 to remove and 13 not upgraded.

Could BerryBoot be a possible factor in this? Something tells me it is conflicting with Wheezy somehow.
I think I know your problem. I experienced a similar issue. I did come up with a way to fix it, but Wifi-Config does not save the settings for some odd reason and I'm still trying to figure that one out or wait for someone to reply to me about it.

Try using these steps:

"
The only way to get it started and connect is to perform these commands each time in a terminal window:

/etc/init.d/networking restart

then:

sudo ifdown wlan0

then:

sudo ifup wlan0

Once these commands are executed in that order the WIFI dongle lights up and in less two mins it connects to the configured network.
"
Hopefully this gets you somewhere. If it doesn't post the information that the last person requested of you and we'll go from there. :geek:

3Point14159
Posts: 9
Joined: Fri May 10, 2013 3:56 am

Re: Installing USB Wifi Dongle

Fri May 17, 2013 1:15 am

SirLagz wrote:
3Point14159 wrote:Hi, I forget to mention i already done that. Doing it again returns "firmware-ralink is already the newest version. The following packages were automatically isntalled and are no longer required: icelib libblas3gf liblapack3gf.... 0 upgraded 0 newly installed 0 to remove and 13 not upgraded.

Could BerryBoot be a possible factor in this? Something tells me it is conflicting with Wheezy somehow.
In that case, we'll need some more information

Can you paste the output of lsusb, lsmod, and ifconfig, and also the contents of your /etc/network/interfaces file ?
Sorry, is there an easy way i can get this over other than manually typing it all out? I can't copy over vnc or anything.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Installing USB Wifi Dongle

Fri May 17, 2013 1:20 am

3Point14159 wrote:
SirLagz wrote:
3Point14159 wrote:Hi, I forget to mention i already done that. Doing it again returns "firmware-ralink is already the newest version. The following packages were automatically isntalled and are no longer required: icelib libblas3gf liblapack3gf.... 0 upgraded 0 newly installed 0 to remove and 13 not upgraded.

Could BerryBoot be a possible factor in this? Something tells me it is conflicting with Wheezy somehow.
In that case, we'll need some more information

Can you paste the output of lsusb, lsmod, and ifconfig, and also the contents of your /etc/network/interfaces file ?
Sorry, is there an easy way i can get this over other than manually typing it all out? I can't copy over vnc or anything.
Use SSH ?
PuTTY is a ssh client so you can log onto the Pi using that.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

3Point14159
Posts: 9
Joined: Fri May 10, 2013 3:56 am

Re: Installing USB Wifi Dongle

Fri May 17, 2013 11:04 am

I use putty but obviously because its still a terminal I can't Ctrl+c or right click Copy so unless I screen shot the terminal and put it up here???

User avatar
sdse78
Posts: 25
Joined: Thu Apr 11, 2013 1:31 am
Location: San Diego, CA

Re: Installing USB Wifi Dongle

Fri May 17, 2013 2:25 pm

3Point14159 wrote:I use putty but obviously because its still a terminal I can't Ctrl+c or right click Copy so unless I screen shot the terminal and put it up here???
Sure, that works too.

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Installing USB Wifi Dongle

Fri May 17, 2013 2:47 pm

3Point14159 wrote:I use putty but obviously because its still a terminal I can't Ctrl+c or right click Copy so unless I screen shot the terminal and put it up here???
Slumming it with Windoze and Putty (I don't do it often or for anybody :) ). You can copy stuff from the pi terminal by highlighting it and pressing shift ctrl C or ctrl C. Come back to the browser and Ctrl V it in.

Code: Select all

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri May 17 14:56:54 2013 from 192.168.1.108
[email protected]:~# ^C
[email protected]:~# ^C
[email protected]:~# uname -a
Linux server-pi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux
[email protected]:~# ^C
[email protected]:~#
Carried out in its entirity with Putty on XP running in a VM. I'll go back to sanity now......
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Installing USB Wifi Dongle

Fri May 17, 2013 2:58 pm

Image

The only way to run Windoze.....
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

3Point14159
Posts: 9
Joined: Fri May 10, 2013 3:56 am

Re: Installing USB Wifi Dongle

Sun May 19, 2013 9:20 pm

Sorry for the delay i have been busy with work.

lsusb:
[email protected] ~ $ 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 03f0:0b0c Hewlett-Packard Wireless Keyboard and Optical Mouse receiver
Bus 001 Device 005: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter



lsmod:
[email protected] ~ $ lsmod
Module Size Used by
snd_bcm2835 16304 0
snd_pcm 77560 1 snd_bcm2835
snd_seq 53329 0
snd_timer 19998 2 snd_pcm,snd_seq
snd_seq_device 6438 1 snd_seq
snd 58447 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
snd_page_alloc 5145 1 snd_pcm
rt2800usb 14940 0
rt2800lib 55351 1 rt2800usb
crc_ccitt 1522 1 rt2800lib
rt2x00usb 11215 1 rt2800usb
rt2x00lib 42334 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 273413 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 184163 2 mac80211,rt2x00lib
evdev 9426 4
rfkill 18202 1 cfg80211
leds_gpio 2235 0
led_class 3562 2 leds_gpio,rt2x00lib

ifconfig:
[email protected] ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:11:da:2a
inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1284 errors:0 dropped:2 overruns:0 frame:0
TX packets:554 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76236 (74.4 KiB) TX bytes:112530 (109.8 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)

Contents of /etc/network/interfaces:

auto lo
iface lo inet loopback
auto ehto0
iface eth0 inet static
address 192.168.1.14
gateway 192.168.1.254
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

Note that the contents of network interfaces have been changed since the date of the original query. I have since set up a static ip and switched from BerryBoot to Wheezy to avoid conflicts between OS'.

Thanks

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Installing USB Wifi Dongle

Mon May 20, 2013 1:08 am

can you run ifconfig -a rather than just plain ifconfig ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

3Point14159
Posts: 9
Joined: Fri May 10, 2013 3:56 am

Re: Installing USB Wifi Dongle

Mon May 20, 2013 3:31 pm

[email protected] ~ $ ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:11:da:2a
inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9727 errors:0 dropped:1 overruns:0 frame:0
TX packets:3965 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8967138 (8.5 MiB) TX bytes:414718 (404.9 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)

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Installing USB Wifi Dongle

Tue May 21, 2013 1:20 am

Hmm.
No wlan0 interface.

Can you run 'dpkg -l | grep firmware' as well please.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

latki8
Posts: 31
Joined: Wed Aug 01, 2012 1:56 pm

Re: Installing USB Wifi Dongle

Tue May 21, 2013 10:43 am

I'll be interested to see how this goes ... my Netgear G54/N150 Wireless USB Micro Adapter (WNA1000M) has worked perfectly for nearly a year now until I did both an apt-get update and upgrade yesterday to install Motion for my new webcam and now it doesn't work at all - looks as if it is not loading the driver. Works perfectly on my Ubuntu 12.04 desktop.

User avatar
sdse78
Posts: 25
Joined: Thu Apr 11, 2013 1:31 am
Location: San Diego, CA

Re: Installing USB Wifi Dongle

Wed May 22, 2013 6:30 am

SirLagz wrote:Hmm.
No wlan0 interface.

Can you run 'dpkg -l | grep firmware' as well please.
Everything is ethernet... Hmmmm...

DirkPrefect
Posts: 24
Joined: Tue May 07, 2013 3:07 am

Re: Installing USB Wifi Dongle

Sat Jun 01, 2013 2:24 pm

auto eth0 is misspelled in your /etc/network/interfaces .

I had trouble getting my rt2870 based adapter to work. First you will want to add

Code: Select all

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "NETWORK_NAME"
wpa-psk "NETWORK_PASSWORD"


to your /etc/network/interfaces. Then sudo nano /etc/modprobe.d/wifi.conf and type in

Code: Select all

blacklist rt2x00usb 
blacklist rt2x00lib 
then save and exit. Make sure the wifi adapter is not plugged in, reboot the pi. Once it is rebooted plug in the adapter. Type dmesg at the command prompt and look for any errors in the last few lines relating to the adapter.

This keeps the older firmware from trying to load and causing a problem.

pokoleo
Posts: 4
Joined: Fri Sep 06, 2013 2:55 am

Re: Installing USB Wifi Dongle

Fri Sep 06, 2013 2:59 am

For those interested, it appears that this pull request should fix your issue: https://github.com/raspberrypi/linux/pull/321

tlmyasirs
Posts: 1
Joined: Mon Apr 16, 2018 2:13 am

Re: Installing USB Wifi Dongle

Sat May 12, 2018 4:50 am

SirLagz wrote:
Wed May 15, 2013 6:07 am
Drivers should be there already
The firmware however may not be installed, which the card needs to work

sudo apt-get install firmware-ralink (or ralink-firmware i forget) will install the firmware.
After that either reboot or unplug and replug the usb dongle and that should activate the USB dongle
i came to this thread via etho now im commenting via wla0 thanks man :D

Return to “Beginners”