LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-23-2010, 06:15 AM   #1
erskie
LQ Newbie
 
Registered: Feb 2008
Distribution: Kubuntu
Posts: 6

Rep: Reputation: 0
Upgrading to a Ralink based USB wireless device - Ubuntu seems to see it....


Dear All,

After much searching I think a number of threads probably have the answer to this problem, but I am too under-educated to understand them. I hope someone can help me in simple terms!

I have recently upgraded my USB wireless network connection for one of my computers to N from G. As I am (temporarily) based in China the device (and all documentation) are in Chinese. I THINK it is based on a Ralink 28XX chip. I am running Ubuntu 10.04.

Network Manager claims that the wireless network is disconnected does not list any sources

This is the basic info that I am able to find (I am using these commands in ignorance, by the way!)

lsusb shows:
Code:
Bus 002 Device 002: ID 1d57:d2d1  
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 148f:3070 Ralink Technology, Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg shows (after plugging the thing in):
Code:
[ 2081.028069] usb 1-1: new high speed USB device using ehci_hcd and address 5
[ 2081.178000] usb 1-1: configuration #1 chosen from 1 choice
[ 2081.208886] phy2: Selected rate control algorithm 'minstrel'
[ 2081.210640] Registered led device: rt2800usb-phy2::radio
[ 2081.210678] Registered led device: rt2800usb-phy2::assoc
[ 2081.210715] Registered led device: rt2800usb-phy2::quality
[ 2081.227584] rt2800usb 1-1:1.0: firmware: requesting rt2870.bin
[ 2081.491408] ADDRCONF(NETDEV_UP): wlan0: link is not ready
There is some reference to a rt2870, so based on some threads I checked:
Code:
lsmod |grep rt2870
rt2870sta             461971  0
iwlist scan gave me:
Code:
lo        Interface doesn't support scanning.
eth0      Interface doesn't support scanning.
wlan0     No scan results
iwconfig gives me:
Code:
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=10 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
So it seems to be there, but not doing anything? Is Ubuntu just guessing at the chipset, and might that be wrong?

Any suggestions would be VERY helpful!

Thank you,
erskie

Last edited by erskie; 05-26-2010 at 08:42 AM. Reason: Solved
 
Old 05-24-2010, 04:57 AM   #2
zidane_tribal
Member
 
Registered: Apr 2005
Location: chained to my console.
Distribution: LFS 6.1
Posts: 143

Rep: Reputation: 18
Oh the joys of usb wifi on linux!

Whilst I can't give you an exact answer to your problem (there are many), i have been through a similar process trying to get a cisco/linksys usb device to work. you'd think such big names would be better supported, but alas, not.

I know it's a silly question, but someone has to ask it.... There is often a little "wifi on/off" switch on laptops these days... just double-check that it's in the "on" position. To my shame I have to admit to spending several hours trying to fix my own wifi, only to have my g/f point out "it's little light isnt on, maybe it needs a new light"....

After that, which version of Kubuntu are you using? There was an outstanding bug in ubuntu (and by extension in Kubuntu, Xubuntu EDubuntu etc etc) with regard to the system loading multiple modules for some usb wifi devices.

i see that you used lsmod to check the device driver was loading correctly (yay!), can you use lsmod to check if the module “rt2800usb” is loading? if it is, that's probably the problem. (there are lots of posts on launchpad about this, with the ultimate answer being here: https://answers.launchpad.net/ubuntu...question/87970)

I suspect it will be there, since all the information you have provided pretty much matches exactly with the various posts about this chipset (see also here: https://bugs.launchpad.net/ubuntu/+s...ux/+bug/460323


long story short, if this is your problem, take the following steps to fix it.

1. as root, edit the file "/etc/modprobe.d/blacklist.conf" and add the line "blacklist rt2800usb" to the end of the file.

2. turn your computer off and back on again. (shutdown and reboot, don't just yank the cord out!)


If this makes it work, yay!
if it breaks it more, just remove the line "blacklist rt2800usb" from "/etc/modprobe.d/blacklist.conf" and it will go back to how it is now.

good luck!
 
1 members found this post helpful.
Old 05-26-2010, 08:40 AM   #3
erskie
LQ Newbie
 
Registered: Feb 2008
Distribution: Kubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
No on/off switch - this is a usb wireless adaptor on a desktop machine.

But other than that, you called it PERFECTLY!!!

IT WORKS!!!

Thank you sooooo much.

To answer your questions: I am running 10.04. The original install was setup with usb wireless adaptor A (which worked). I switched to adaptor B with no success. I tried B on a liveCD of 10.04, also did not work.

But your advice certainly did!

Last edited by erskie; 05-26-2010 at 08:44 AM. Reason: extra info
 
Old 05-28-2010, 10:35 AM   #4
zidane_tribal
Member
 
Registered: Apr 2005
Location: chained to my console.
Distribution: LFS 6.1
Posts: 143

Rep: Reputation: 18
awesome! good to see you got it up and running. i know how frustrating it can be when everything *should* work, but just doesn't.

happy wifi'ing
 
Old 07-23-2010, 08:01 PM   #5
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Kubuntu ( Current Version )
Posts: 112

Rep: Reputation: 15
I've been following this excellent forum, so far it has been more help to me than anything else on the net.
I installed the driver on My Friend's Kubuntu 10.04, then I installed the firmware and edited the file "/etc/modprobe.d/blacklist.conf" and add the line "blacklist rt2800usb" to the end of the file, rebooted my friend's machine and for some reason it still doesn't work. "Waaaah"
So I decided to come crawling here to begg for help. "Please Help"

I ran these commands and here is the output. I noticed that this Buffalo WLI-UC-G300N USB Device is listed as rt2870sta most of the time, but under lsusb it is: Bus 001 Device 003: ID 0411:016f MelCo., Inc.as it is also listed that way in Kinfo Center.

What confuses me the most so far is, as far as I can tell, the driver and the module both show normally, yet it just isn't working ?

Anyway Here are the outputs:

lana@Lana1:~$ lsmod |grep rt2870
rt2870sta 555473 0
lana@Lana1:~$ lsmod
Module Size Used by
nls_iso8859_1 3249 1
nls_cp437 4919 1
vfat 8933 1
fat 47767 1 vfat
usb_storage 39425 1
vboxnetadp 6326 0
vboxnetflt 15162 0
vboxdrv 190594 2 vboxnetadp,vboxnetflt
snd_hda_codec_conexant 22641 1
i915 285076 2
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ppdev 5259 0
rt2870sta 555473 0
lp 7028 0
parport 32635 3 ppdev,parport_pc,lp
ohci1394 26950 0
r8169 34076 0
mii 4381 1 r8169
ieee1394 81181 1 ohci1394
lana@Lana1:~$ lsusb
Bus 005 Device 003: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Bus 005 Device 002: ID 413c:2107 Dell Computer Corp.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0781:5406 SanDisk Corp. Cruzer Micro 1/2/4GB Flash Drive
Bus 001 Device 003: ID 0411:016f MelCo., Inc.
Bus 001 Device 002: ID 0c45:6310 Microdia
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lana@Lana1:~$ ifconfig
eth0 Link encap:Ethernet HWaddr b8:ac:6f:b8:0e:ff
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:27 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5280 (5.2 KB) TX bytes:5280 (5.2 KB)

lana@Lana1:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

lana@Lana1:~$ iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
[interface] bitrate
[interface] rate
[interface] encryption
[interface] keys
[interface] power
[interface] txpower
[interface] retry
[interface] ap
[interface] accesspoints
[interface] peers
[interface] event
[interface] auth
[interface] wpakeys
[interface] genie
[interface] modulation
lana@Lana1:~$ modprobe rt2870sta
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
lana@Lana1:~$
 
Old 07-23-2010, 08:09 PM   #6
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Kubuntu ( Current Version )
Posts: 112

Rep: Reputation: 15
Here is a small portion of my dmesg Output, I believe it shows what is needed to see:

lana@Lana1:~$ dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32-24-generic (buildd@vernadsky) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #38-Ubuntu SMP Mon Jul 5 09:22:14 UTC 2010 (Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5)
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] NSC Geode by NSC
[ 0.000000] Cyrix CyrixInstead
[ 0.000000] Centaur CentaurHauls
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] UMC UMC UMC UMC
[ 0.000000] BIOS-provided physical RAM map:
[ 8.919467] mmc0: SDHCI controller on PCI [0000:01:00.2] using DMA
[ 8.940782] Linux agpgart interface v0.103
[ 8.941985] intel_rng: FWH not detected
[ 8.944750] agpgart-intel 0000:00:00.0: Intel G41 Chipset
[ 8.945244] agpgart-intel 0000:00:00.0: detected 32764K stolen memory
[ 8.966704] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[ 9.005698] input: Integrated Webcam as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/input/input5
[ 9.005761] usbcore: registered new interface driver uvcvideo
[ 9.005763] USB Video Class driver (v0.1.0)
[ 9.039437] [drm] Initialized drm 1.1.0 20060810


[ 9.134117] rt2870sta: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.139189] rtusb init --->
[ 9.139246] usbcore: registered new interface driver rt2870


[ 9.330531] r8169: eth0: link up
[ 9.330536] r8169: eth0: link up
[ 9.337393] type=1505 audit(1279930740.471:5): operation="profile_replace" pid=814 name="/sbin/dhclient3"
[ 9.337891] type=1505 audit(1279930740.471:6): operation="profile_replace" pid=814 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless USB device DWA-130 on Ubuntu vwr0527 Linux - Hardware 4 10-28-2010 08:55 PM
Ubuntu 9.04: RaLink Integrated Wireless Trouble roosh Linux - Networking 0 04-26-2009 10:53 AM
Help Ubuntu with wireless card Ralink italiano40 Linux - Wireless Networking 1 10-14-2006 07:34 AM
9.3 USB wireless config 2570 ralink chipset wini_g Suse/Novell 4 12-28-2005 11:29 PM
Ralink USB device on suse krypton.kr Linux - Networking 1 11-03-2005 06:02 PM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration