RaLink rt2500 chipset pci card problems in my Ubuntu 6.06
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
RaLink rt2500 chipset pci card problems in my Ubuntu 6.06
Ubuntu 6.06 (Dapper) is supposed to recognize cards using the rt2500 chipset automatically. I bought such a card precisely for this reason, so that I could get off of my current card with which I have to use ndiswrapper.
The problem I get is that the card looks like it should be working. It is present in the network setup gui and I can set the ESSID and such. And the output makes it look like it should be working as well. Nevertheless, it will not connect to anything. I can't even ping my router. So something strange is going on.
I have tried "modprobe -r ndiswrapper" and "modprobe rt2500", but I still get the same result.
I have also tried putting in the Ubuntu 6.06 boot/install CD, and I get basically the same problem and the same output.
Below is the output of several relevant commands. Notice that the "iwlist scan" command indicates that it is at least seeing my router.
Beagle2, I have consulted the referenced ubuntu help page on the rt2500. You will notice that it says that Ubuntu 6.06 should just plug and play.
rickh, I use the System >> Administration >> Networking gui and, when ra0 appears I activate it (after setting the ESSID in preferences). I does activate (though it takes a while -- maybe 5 minutes), but then I still can't connect to anything.
Sorry for the delay on getting back to you. One of my hard drives crashed and so I'd been dealing with that (everything's repaired now).
So last night before I went to bed I plugged in the RaLink card so that I could get the lsmod and lspci -v output. Unfortunately, I'm finding it difficult to boot the machine when I have the new card in there. Of course I booted successfully before, but I've since forgotten how I did it (I think maybe I deleted the "auto wlan" line in /etc/networking/interfaces (or whatever it is) ). Didn't have time to try it again last night.
I can tell you that from a fresh, successful boot, lsmod would show ndiswrapper but not rt2500. At least, that's what I was getting when I could boot successfully.
In any case, I thought that it might be productive to tell you what happens when I try to boot with the RaLink card plugged into my machine. It hangs on the "setting up network interface" (or whatever the phrase is). I think I have to type CNTL+C pretty much every time to get it to skip that step and move on with the rest of the boot. When I get to the login prompt and input my login and password, it goes to a blank screen (not black, but Ubuntu brown). The color you get just before little window pops up and shows all of your stuff loading. I don't get that window. It just freezes on the brown screen.
My gut tells me that there's a conflict with Ndiswrapper. But of course I'm not sure. I've tried inserting "modprobe -r ndiswrapper" and "modprobe rt2500" into /etc/rc.local, but it doesn't seem to work. My guess is rc.local doesn't get read early enough in the boot process to do me any good.
Anyway, maybe that'll give you some ideas. When I get home tonight (I'm at work now) I'll get the lspci -v info. Even if I can't boot normally, I'll at least be able to boot with the Ubuntu CD.
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417
Rep:
Ok just wondering the significance of ra0 RT61 Wireless in your iwconfig . Think your on the right track with the conflict thing tho. As for the hanging at the setting up interfaces thing, mine does that as well sometimes and I've removed all other interfaces except wlan0 - ndiswrapper and 6.06 with tne acx module blacklisted (acx111 chipset).
Ok just wondering the significance of ra0 RT61 Wireless in your iwconfig . Think your on the right track with the conflict thing tho. As for the hanging at the setting up interfaces thing, mine does that as well sometimes and I've removed all other interfaces except wlan0 - ndiswrapper and 6.06 with tne acx module blacklisted (acx111 chipset).
So how do you remove interfaces and blacklist modules? ~daveZ
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417
Rep:
To blacklist modules add them to /etc/modprobe.d/blacklist , interfaces are in /etc/network/interfaces so I just # out unneeded ones. Was interested in the rt61 because there is a version of your card that uses rt61 module not the rt2500. lspci should tell us tho :-)
0000:01:09.0 Network controller: RaLink: Unknown device 0301
Subsystem: RaLink: Unknown device 2561
Flags: bus master, slow devsel, latency 32, IRQ 201
Memory at e4000000 (32-bit, non-prefetchable) [size=32K]
Capabilities: <available only to root>
Incidentally, wireless stuff--ndiswrapper included--seems to result in wierd stuff in general. For example, When I reboot my machine without having removed the windows driver (ndiswrapper -e mrv8k51) it will fail to boot. I used to get a failed error about xorg not working, and lately it seems to be telling me about a failed hard disk. I don't know. It's very confusing. To fix it I have to boot into an old kernel, and ndiswrapper -e mrv8k51, then reboot.
I also tried just now to blacklist ndiswrapper, disable other devices in /etc/network/interfaces, and boot with my new wireless card.
I got some errors in boot and it said that ndiswrapper driver loaded blah blah. So it didn't seem to work--ndiswrapper seemed to load despite the blacklist. So maybe it's listed somewhere else. Revealingly, the second time I booted (this time with my old wireless card) it said there was a failed link to ndiswrapper. But when everything loaded, lsmod showed ndiswrapper. So basically I'm really confused.
Anyway, hope this gives you some ideas. Thanks for the help.
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417
Rep:
Ok as far as I can tell you have rt61 module loaded and as I mentioned Zonet ZEW1601 can use that driver or the rt2500 depending on the version. RaLink: Unknown device 0301 does appear in some posts and it is for the rt61 chipset. Don't know if you dual boot but if so then word search /WINDOWS/setupapi.log for wireless or ralink and see which driver used. Try rmmod rt61 and use ndiswrapper with the windows driver. Ralink do have a linux driver and there is a link from here http://doc.gwos.org/index.php/RalinkDrivers . Don't know where that rt61 came from in your lsmod tho - didn't realise Ubuntu included it! You would't add ndiswrapper to the blacklist because you've added it to /etc/modprobe.d, just kernel modules that are included by default that you don't want loaded. It's late here so hope that helped.
Edit: rt61 IS included in 6.06 - if it doesn't work on it's own then rmmod that and try ndiswrapper with your windows driver. Failing that rmmod the rt61 and try the rt2500 as that's what you originally thought it was - clutching at straws here.
Ok as far as I can tell you have rt61 module loaded and as I mentioned Zonet ZEW1601 can use that driver or the rt2500 depending on the version. RaLink: Unknown device 0301 does appear in some posts and it is for the rt61 chipset. Don't know if you dual boot but if so then word search /WINDOWS/setupapi.log for wireless or ralink and see which driver used. Try rmmod rt61 and use ndiswrapper with the windows driver. Ralink do have a linux driver and there is a link from here http://doc.gwos.org/index.php/RalinkDrivers . Don't know where that rt61 came from in your lsmod tho - didn't realise Ubuntu included it! You would't add ndiswrapper to the blacklist because you've added it to /etc/modprobe.d, just kernel modules that are included by default that you don't want loaded. It's late here so hope that helped.
Edit: rt61 IS included in 6.06 - if it doesn't work on it's own then rmmod that and try ndiswrapper with your windows driver. Failing that rmmod the rt61 and try the rt2500 as that's what you originally thought it was - clutching at straws here.
OK. Thanks for the help. It's super frustrating because I got the Zonet card specifically because it had the rt2500 chipset which I heard worked with Ubuntu well. I mistakenly thought it ONLY had the rt2500 chipset. My intention was to get off of ndiswrapper since it seems always to cause my machine problems.
Apropos, after I posted last night I decided to change my xorg.conf file to reflect the nvidia driver. I had changed it to the default nv driver because the nvidia driver seemed to be malfunctioning when combined with ndiswrapper. In any case, when I booted after the change, I got an "ndiswrapper insertion error". "Crap", I said, and replaced my xorg.conf file again with the default nv driver... To no avail. I'm still getting an ndiswrapper insertion error. Argh!
I'm at work now and will try to find time to troubleshoot tonight. Maybe I didn't actually remove my ndiswrapper line from the blacklist file. I thought I did, but maybe I didn't. Anyway thanks for your help. I'm probably just going to buy another card that I'm sure sure sure will work without ndiswrapper. (Any suggestions?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.