PDA

View Full Version : RaLink RT61 Wireless Solved


Pages : 1 [2]

neilford
January 15th, 2007, 03:47 PM
Okay. I am very close. The only issue I can see at the moment is I cannot seem to connect to a network. I assigned my default essid in the rt61sta.dat file. It didn' take. When I run iwconfig I see ESSID:"". When I run iwlist ra0 scanning, I see all the networks around me including my own. I tried assigning the network using
sudo iwconfig ra0 essid my-network, but no go.

I ran dmesg and got:

ra0: no IPV6 routers present
ra0 (WE) : Driver using old /proc/net/wireless support, please fix driver !
What is wrong here? Thanks.

neilford

gbpacker
January 17th, 2007, 08:27 PM
Hello,

I tried following the instructions on my AMD 64 bit machine. I am running drapper 6.06 version.

But my system is stuck while rebooting. It says:

Bringing up ra0
Internet Systems Consortium DHCP client V3.0.3
interface inet 0 upnt-script: line 155: 3716 killed ifconfig $interface int 0 up

And it hangs here.

Can anyone pls suggest how to revert back the changes or how do I bypass this step?

Thanks

IrregularShed
January 19th, 2007, 12:57 PM
Well, I'd just like to say thanks for this guide - it's proved invaluable for me. It's taken me an hour and a half to get a box to connect to our WLAN and most of that has been fighting a flaky DHCP server.

Thanks!

aequanimus
January 21st, 2007, 02:43 AM
Finally seem to have got it to work with WPA and am using it to make this post ! How ?

Was able to get my router to recognise the MAC address of the adapter and to always assign it a fixed IP address (forgot to say before that I was trying to get a dynamic address using dhclient).

Even then, I wasn't not convinced that the .dat file parameters are being picked up. I manually entered all of these commands:
sudo iwpriv ra0 set SSID=<my SSID>
sudo iwpriv ra0 set AuthMode=WPAPSK
sudo iwpriv ra0 set EncrypType=AES
sudo iwpriv ra0 set WPAPSK=<my key>
Then it worked ! :D

Many thanks to all those who wrote in this thread (and others) and which left clues.

All I need to do now is to make sure it survives a boot and then get FTP, Apache, MySQL & PHP working ! Wish me luck.

Reler

Thanks for the post reler, I was close to giving up but your commands got it working! Thanks to judgekaster for the excellent guide. =D>

lukew
January 22nd, 2007, 03:27 PM
Hi,

Just wanted to say thanks for this Howto; worked a treat!!!

Only a couple of points I wanted to make for other people with frezzing problems.

My WPA Key had to be hex and not ascii; this was locking my computer up eery time!!
MY computer was locking up the firs time I:

sudo dhclient ra0

I commented out eth0 from:

/etc/network/interfaces

And not everything works great.

judgekaster thank you!!!

blazercist
February 1st, 2007, 07:55 PM
Ok, Ive got the rt61 on my MSI-1039 and I've followed the instructions exactly, only I have two problems. This laptop has a hard button to turn the wifi/bluetooth on/off, if the wifi is not turned on at boot time I cannot turn it on afterwards and access the internet via wifi, iwconfig shows a blank ESSID, and sudo iwpriv ra0 set ssid does not work.

Also, if the wifi is on at boot time and everything goes well I can use the internet via wifi, however after just a minute or two the whole laptop freezes dead in its tracks, no error messages, just freezes and I cannot move my mouse or do anything, I have to hard restart to get it back.

Any idea what could be wrong?

BTW I'm using OPEN WEP with an ASCII KEY, *** I HAVE TRIED USING HEX KEY, I get the same problems*** also dhclient sends to 255.255.255.255, my subnet is 255.255.255.0 is it supposed to be like that?

The above post says to comment out eth0 from /etc/network/interfaces but won't that render my wired connection useless in the case that I want to connect physically?

liambre
February 4th, 2007, 06:53 AM
I have a slight problem here, the ralink link to download the driver is broken. If anyone could send or re-direct me to a new one, I would be more than greatful.

http://www.ralinktech.com/drivers/Linux/2005_1230_RT61_Linux_STA_Drv1.0.3.0.tar.gz

Dr. Drone
February 4th, 2007, 01:34 PM
I have a slight problem here, the ralink link to download the driver is broken. If anyone could send or re-direct me to a new one, I would be more than greatful.

http://www.ralinktech.com/drivers/Linux/2005_1230_RT61_Linux_STA_Drv1.0.3.0.tar.gz

Yeah, I really need those Drivers.

Dr. Drone
February 4th, 2007, 01:41 PM
YAY!

I FOUND THEM! =D

http://www.ralinktech.com/ralink/Home/Support/Linux.html

:]

Botany Bay
February 10th, 2007, 09:52 AM
judgekaster (and phq) please accept my heartfelt thanks for helping me get my wifi card working. Your how-to proved invaluable. It's taken me a couple of weeks to to do it but finally - success!

I'm not a programmer or anything but I've been meaning to try Linux for years so when I bought an old Dell P3 laptop off eBay it was the perfect opportunity when it proved difficult to install XP without the right propriety Dell set-up discs.

Ubuntu Edgy installed like a treat and after a little bit of faffing about trying to get the laptop monitor to work (Xfree86 – I thank you) it was an absolutely great introduction to Linux. Except for the wifi support. Now solved and I've learnt a bit about Linux on the way.

I'm aware I sound like an *** but I'm still stunned its actually working!

booljayj
February 11th, 2007, 07:13 PM
I followed the step-by-step instructions and successfully enabled my rt61 shared WEP connection. However, the next day after I installed it, edgy seems to have no idea that the device ra0 ever existed. I used automatix2 to install firestarter and clamav, then uninstalled clamav because I thought I didn't need it. However, when I started up firestarter it recognized the eth0 connection I am using now and a new connection called sit0 (totally inactive). ra0 is nowhere to be found. All of the changes that I made when installing the new rt61 driver are still there, but the device is no longer present. What would cause this, and how do I fix it?

judgekaster
February 14th, 2007, 09:24 PM
... However, when I started up firestarter it recognized the eth0 connection I am using now and a new connection called sit0 (totally inactive). ra0 is nowhere to be found. All of the changes that I made when installing the new rt61 driver are still there, but the device is no longer present. What would cause this, and how do I fix it?

My guess is that firestarter and clamav have nothing to do with your problem.

Can you open a terminal and see whether the rt61 driver was loaded, by doing the ff:


sudo lsmod | grep rt61


If nothing comes up, that means your rt61 driver was not loaded. Then you can try:


sudo modprobe rt61


That should load it. If an error comes up saying that the module was not found, you probably forgot to copy your the rt61.ko module to the /lib/modules/`uname -r`/net directory.

a2c39a
February 22nd, 2007, 06:23 PM
Hi Folks,

Thanks for this thread. I have followed it and now have a working wireless internet connection via the Ralink Mini PCI card in my Medion MD96400 laptop.

In addition to the 'Mini How To' I needed to disable the 'ra61pci' driver that exists in Ubuntu 6.10 before it would work.

I also suffered the loss of wireless connection once I had carried out the (135) on-line updates.
I just needed to copy 'rt61.ko to /lib/modules/2.6.17-11-generic/kernel/drivers/net
and kill 'rt61pci.ko' in /lib/modules/2.6.17-11-generic/kernel/drivers/net/wireless/rt2x00
also copy back the 'DHCP' script and symbolic link, to get it working again.

However, I have a problem!

When I am at home and my wireless network is present, all works fine.

When I am at work and no wireless network is present, then booting Ubuntu starts fine but then reaches a point where it hangs (presumably it is trying to establish the wireless connection - unsuccessfully) for about 2 minutes!! It is easily possible to think the machine has locked at this point but if you are patient, then booting eventually continues (with no prompting) and brings up the log-in screen as normal. Once logged in the ra0 icons on the top bar show zero signal and a small orange block at the bottom of the pillar icon (which is full height green at home of course) as would be expected.

Is there any way to enable automatic connection when at home (which works fine at present) but without the horribly long boot delay, when away from home with no wireless network?

Many thanks in advance for your help, John.

machi
February 27th, 2007, 04:59 AM
Thank you very much about the step-by-step how-to, I have my RT61 card up and running great in my laptop now.

Just have an little question here.
After updated the .dat file, I found out there is only 1 SSID line. What if I would like to setup 2 SSID? would that works if I add another line with SSID=2nd-ssid and Key2Str=2nd-key-for-the 2nd-ssid? Anything that I can do to make my laptop to, automatically, pick up my home wireless network when I am at home, and pick up my school's wireless network when I am in school?](*,) ](*,) ](*,)

Thanks

machi

machi
February 27th, 2007, 05:08 AM
When I am at work and no wireless network is present, then booting Ubuntu starts fine but then reaches a point where it hangs (presumably it is trying to establish the wireless connection - unsuccessfully) for about 2 minutes!! It is easily possible to think the machine has locked at this point but if you are patient, then booting eventually continues (with no prompting) and brings up the log-in screen as normal. Once logged in the ra0 icons on the top bar show zero signal and a small orange block at the bottom of the pillar icon (which is full height green at home of course) as would be expected.

Is there any way to enable automatic connection when at home (which works fine at present) but without the horribly long boot delay, when away from home with no wireless network?

Many thanks in advance for your help, John.

Hi John,

I have that experience too, when the machine booting up, and when it is trying to looks for the wireless network, but can't find it, then the GUI is gone, and the CLI comes, and somelines looks like 255.255.255.0 something for a multiple times, right?

what I do is when I know I am not in my pre-set wireless network range, I will pull the PC-card out, then the boot up process probably will bypass the wireless configuration process. when I forgot to pull the PC-card out. I will hit Ctrl+D to stop that 255.255.255.0 searching CLI and go on to the boot up step. At least, it won't hang your machine.

Hope this can help you to solve your problem.

machi

omegahelix
February 28th, 2007, 11:06 AM
Could someone who has the RT61 card working with WPA-PSK please post their rt61sta.dat file? If I have my file in the /etc/Wireless/RT61STA directory then my system hangs when I try to bring up the interface with ifconfig. If I remove the file it comes up but is not configured to connect to my router. I edited the file using vim -b. Maybe I have the wrong stuff entered in the file (see it here: http://www.ubuntuforums.org/showpost.php?p=2212242&postcount=239)? I have not yet tried dos2unix on the file. Thanks for your help. This is so annoying!

brodiepearce
March 3rd, 2007, 12:48 AM
(f) connect to the network

to set a static IP address, do:


$ sudo ifconfig ra0 {IP ADDRESS} up



Should the brackets be removed? I can't tell because either way my system is still hanging on the interface configuration. Also:

(a) Do not use the "Networking" tool (network-admin). You will get a lock-up at boot time at the point where the network interfaces are bieng configured. If you have used the Networking tool, you will have to comment out the entries in the file "/etc/network/interfaces." to do this:


$ sudo vi /etc/network/interfaces # replace vi with your editor of choice (nano, gedit, kate etc.)


it should look like this:


auto lo
iface lo inet loopback

#iface ra0 inet dhcp
#wireless-essid xxxx
#auto ra0



Does this mean that even if we have a static IP configured in the script file we should still leave the /etc/network/interfaces file as DHCP?

judgekaster
March 3rd, 2007, 01:05 AM
In my experience, it is best to comment out the lines in /etc/network/interfaces pertaining to the ra0 interface. Instead just place the following line in the rt61up script:


# set static address
# replace 10.10.10.5 with your ip address
ifconfig ra0 10.10.10.5 up


instead of


# get ip address from dhcp server
dhclient ra0


cheers!

brodiepearce
March 3rd, 2007, 02:07 AM
Thanks man I'll give it a try, I think I'm close to getting this to work.

*edit* OK I set the static IP in the rt61up script, and commented out all ra0 references in /etc/interfaces/network, as a consequence Ubuntu actually does boot properly now (every method I've tried up till now have resulted in it hanging at 'Configuring Network Interfaces', so to get this far by it self is extremely pleasing).

However, the wireless does not connect automatically with the script, and I can't even get it to connect using the network manager through Administration. :( I have also reserved the static IP with my router using the MAC address as it generally doesn't like having static IPs forced on it, I think perhaps I should set DHCP on my PC and just have the router dish the static IP out as I THINK that's how I ended up doing it with Windows.

brodiepearce
March 3rd, 2007, 08:14 PM
I tried doing DHCP with reharpernc's method (http://ubuntuforums.org/showpost.php?p=1310334&postcount=117) and I still don't receive any DHCP offers.

I have this entered in the rt61up script:

#!/bin/sh
echo "Bringing up ra0"
# obtain an IP address from a DHCP server
sudo iwpriv ra0 set NetworkType=Infra
sudo iwpriv ra0 set AuthMode=OPEN
sudo iwpriv ra0 set EncrypType=NONE
sudo iwpriv ra0 set SSID=MY_SSID
dhclient ra0

# alternately, you can uncomment the following line to set a static IP address
# ifconfig ra0 {IP ADDRESS} up
# if you uncomment the line above, make sure to comment line #4


I also have the following set in my rt61sta.dat file:


[[Default]
CountryRegion=0
CountryRegionABand=7
WirelessMode=4
SSID=MY_SSID
NetworkType=Infra
Channel=11
AuthMode=OPEN
EncrypType=NONE
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
#WPAPSK=abcdefghijklmnopqrstuvwxyz
TxBurst=0
PktAggregate=0
TurboRate=0
WmmCapable=0
AckPolicy1=0
AckPolicy2=0
AckPolicy3=0
AckPolicy4=0
BGProtection=0
ShortSlot=0
IEEE80211H=0
TxRate=0
RTSThreshold=2347
FragThreshold=2346
PSMode=CAM
TxPreamble=0


Due to all the sudo iwpriv ra0 set ... commands in the rt61up script, I also get this error (presumably when Ubuntu attempts to run the script):

Interface doesn't accept private ioctl... set (8BE2): Network is down.


:(

steffen
March 4th, 2007, 09:21 AM
I haven't been able to get this to work properly on Edgy. I'm able to connect to the network (I can remote-desktop and SSH into the computer), but I'm not able to connect the same box to the internet. Don't know why that is.

Can anyone report whether this driver is working properly under the latest Feisty herd?

akjerryo
March 15th, 2007, 06:27 AM
Thank you so much for posting this how to, i have tried many different things to get my wireless working, and this worked on Edgy... You are a life saver :)

jtwyrrpirate
March 18th, 2007, 09:10 AM
Hey just a point of information for everybody, do like the howto says and don't edit the rt61sta.dat using gedit! Definitely use vi -b and you will save yourself at least several hours of "what am I doing wrong, I'm sure all the settings are right!" (not that I would know from experience or anything) :lolflag:

skot
March 19th, 2007, 02:13 AM
does anyone have a new link for the "2005_1230_RT61_Linux_STA_Drv1.0.3.0.tar.gz" file.

the address list in the first post is not working. then when searching google the only hits were to this site haha. any help would be great. or if someone could just attach it to there post that would be good too.

thanks
skot

viergeame
March 25th, 2007, 07:44 PM
I, also, am having problems finding a place to download this driver. I poked around on google and everything brought me back to here.

huygens
March 26th, 2007, 05:42 AM
I, also, am having problems finding a place to download this driver. I poked around on google and everything brought me back to here.

Just use Google and type "ralink" :-)
For the first link, it gives you some alternatives like the Linux link for ralink support (http://www.ralinktech.com/ralink/Home/Support/Linux.html).
Anyway the direct link for the latest driver as of today is: http://www.ralinktech.com.tw/data/RT61_Linux_STA_Drv1.1.0.0.tar.gz

But you should always check the Ralink Linux support link (http://www.ralinktech.com/ralink/Home/Support/Linux.html).

PS: RT61 seems to be "renamed" RT2501...

echo15
March 27th, 2007, 08:32 PM
Hi!
I'm new to linux and followed the instructions from page 1 to get my Edimax card to work. It works great when using DHCP but I can't seem to connect to the internet when I try to use static IP.
When I use static, i can ping my router/modem, but i can't ping any internet site. What could be wrong?
Any help would be greatly appreciated!
Thanks!

huygens
March 28th, 2007, 04:47 PM
[...] I can't seem to connect to the internet when I try to use static IP. When I use static, i can ping my router/modem, but i can't ping any internet site. [...]

Just a suggestion, but did you set up your modem router as the gateway to the internet? That could be the problem.
Just to be sure about this, you could try the following command. You need to go in the Applications menu, under Accessories you have an item called Terminal, just click it. You should now see a new window, that is what people refer to as the command line, terminal or console.
Just type in the following command:
routeCould you post the result here?

tictacman
March 29th, 2007, 01:39 PM
Thanks to judgekaster. I've been wondering I've been getting alot of lock ups at boot time with rt61. Now I know :) Cheers

echo15
March 29th, 2007, 08:34 PM
Just a suggestion, but did you set up your modem router as the gateway to the internet? That could be the problem.
Just to be sure about this, you could try the following command. You need to go in the Applications menu, under Accessories you have an item called Terminal, just click it. You should now see a new window, that is what people refer to as the command line, terminal or console.
Just type in the following command:
routeCould you post the result here?

Hi, Huygens.

sorry, i can't post the exact output as i'm at work. But it gave the gateway as 192.168.1.0 which is not the ip of my router/modem. I did a "route add default gw" and that solved that. Do I need to add the route everytime i boot up? or is this automatically "remembered"?

Thanks!

rukus
March 29th, 2007, 09:49 PM
erm.. first post here, been trying all sorts with my edimax EW7108PCg to no avail, then installed feisty fawn (7.04 beta) and the card popped into life with a link to my(currently - for testing) unencrypted network. This is the best result I'd had, and all out of the box from the livecd.

So now, on to a fresh disk install and try to get the encryption working.

Just thought I'd let everyone know, it's looking good so far :-)

Cheers
Ruk

huygens
March 30th, 2007, 04:13 AM
sorry, i can't post the exact output as i'm at work. But it gave the gateway as 192.168.1.0 which is not the ip of my router/modem. I did a "route add default gw" and that solved that. Do I need to add the route everytime i boot up? or is this automatically "remembered"?

OK, so no need to post the output. That is good news :)
When you use the route add thing, it is just for the current session and will be lost after next reboot.
How did you configure your static IP address? Did you modify the /etc/network/interfaces to do so? Or another file?
If you have modified and set-up the static IP address in the /etc/network/interfaces file, you could follow the example given here: https://help.ubuntu.com/community/WifiDocs/Driver/RalinkRT61?action=show&redirect=Rt61WirelessCardsHowTo#head-55e88e8e2391e6620307aa0e2e4574a9d1ccf94f
Simply edit the file I just mentioned and apply the example of static IP configuration given in the above link to your own settings. After you have modified this file just type this to restart your network without rebooting:
sudo ifdown ra0 && sudo ifup ra0In case, you have used another way to set-up your static IP address, could you give more information so we could find out how to help you defining your gateway?

Arko
April 1st, 2007, 02:04 PM
After hours of trying, finally I got my DWL-G510 card working. I have tried everything I found on tutorials and forums and did the following script that I put in /etc/init.d directory to start on boot (Ubuntu 7.04):


#!/bin/bash
ifconfig ra0 192.168.0.128 up
route add default gw 192.168.0.1 ra0
route del default
ifconfig ra0 down
ifconfig ra0 192.168.0.128 up
iwconfig ra0 mode managed
iwpriv ra0 set AuthMode=WPAPSK
iwpriv ra0 set EncrypType=TKIP
iwconfig ra0 essid MYHOME
iwpriv ra0 set WPAPSK=d23fd94e6c344514adce7549591dc7b265426e793aa bb13b767b06958c9c7b1c
iwconfig ra0 essid MYHOME
ifconfig ra0 192.168.0.128 up
route add default gw 192.168.0.1 ra0


But there is still a problem: about 50% of boots I do not get Internet working. Then I have to run "route del default gw; ifconfig ra0 down; ifconfig ra0 192.168.0.128 up; route add default gw 192.168.0.1 ra0" as root to get it working again. Eventually I have to type that three or four times, which is very annoying.

Please, any help for that?

tictacman
April 3rd, 2007, 11:48 AM
Arko, I experienced a very similar problem when I tried to get the card working with wpa_supplicant, I created a startup script to shutdown the card bring it up, etc and even then it only worked some of the time.

More recently i tried the card with a new motherboard which had a via chipset and found that irq problems were causing the card to shut down when the system loaded the via graphics driver. Try selecting recovery mode in the grub menu and seeing if the card will connect before making any changes.

rwnz
April 6th, 2007, 12:36 AM
I´m having trouble getting my wireless card working despite spending hours looking through forums, though it doesn´t help that I´m very new to Linux so don´t know what even the basic commands are. Can you please help – I expect that I´ve missed something simple somewhere so my apologies if you need to state the obvious!

PC: Toshiba Satellite 1800 Notebook
PIII 850MHz
256MB RAM
Installion OS file: Xubuntu 6.10-alternate-i386.iso
Wireless card: D-Link DWL-G650+A
H/w ver.: E1
F/w ver.: 5.00

By typing ¨lspci¨ into the terminal I obtained the line reading ¨Network Controller: RaLink Unknown Device 0302¨. From looking at forums etc I understand that the chipset is RaLink and not some others I´ve seen mention of such as Texas or Prism which look to be for previous hardware versions of the DWL-G650+.

Searching for info on the RaLink got me to this forum, and I followed page 1 steps a to d (except that I downloaded the driver curently at http://www.ralinktech.com/ralink/Home/Support/Linux.html which is RT61_Linux_STA_Drv1.1.0.0.tar.gz) and in step (d) I found that ¨vi -b¨ would display but not allow me to edit the file, but ¨nano -w¨ edits it fine.

My huge problem is the next step (e).
(e) copy the rt61.ko driver file to the modules directory then load it
Code:
$ sudo cp rt61.ko /lib/modules/`uname -r`/kernel/drivers/net/.
$ sudo depmod
$ sudo modprobe rt61

¨$ sudo cp rt61.ko /lib/modules/`uname -r`/kernel/drivers/net/.¨ tells me there is no rt61.ko. Looking through the forum I understand that this file is not standard with 6.10. and isn´t included in the downloaded driver files. However somewhere I read that installing linux headers (whatever that means) would make this file available so I ran ¨sudo apt-get install linux-headers-`uname -r`¨. When I later ran it again it confirmed that all headers are present:
rsudo apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.17-10-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 104 not upgraded.

However $ sudo cp rt61.ko /lib/modules/`uname -r`/kernel/drivers/net/ still gives the result that rt61.ko does not exist.

Thus is a summary of what I´ve done, though I´ve actually tried lots of things and have got quite confused so this may not be 100% accurate. The card seems to be recognised in some regard as when I type the command ¨sudo iwlist scanning¨ I get the result:
wlan0 Scan completed :
Cell 01 - Address: 00:18:4D:99:27:14
ESSID:"Walkers Wireless"
Mode:Managed
Frequency:2.457 GHz (Channel 10)
Quality:13/94 Signal level:-62 dBm Noise level:-154 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:wpa_ie=dd160050f20101000050f20201000050f2020 1000050f202

I don know if the signal levels are good or bad, but the channel is the same as my router and changes if I change the router setting. My guess is that the card is working but not talking to the networking part of the OS as rt61.ko is the missing interface.

I´ve seen a few questions in this thread asking about the missing rt61.ko but found no answers that solve it for me, so please advise how I install rt61.ko
:confused:

IanW
April 6th, 2007, 02:45 AM
Did you run the
sudo cp rt61.ko /lib/modules/`uname -r`/kernel/drivers/net/
command from WITHIN the untarred driver folder containing that file?

rwnz
April 6th, 2007, 07:44 AM
Thanks IanW. My problem was that I could not find rt61.ko in any directory so that I could go there to perform the cp and I could find nothing to explain where it should be or how it gets there. However, I´ve gone through the process again, also looking at the ReadMe that is in the downloaded tar.gz file and it looks like my first attempt at Makefile.6 ./Makefile didn´t work because now rt61.ko is present in the untarred folder whereas it wasn´t after I´d downloaded it, which means that the Makefile process generates it.
...... So now on to the next step.

peterhs
April 8th, 2007, 12:14 AM
Everything worked fine except for when I rebooted my laptop, specs at end. After the reboot, the connection shutdown and gave me nothing except a complete shutdown of all services, and an error of:

BUG: soft lockup detected on CPU#0!

That error kept driving me crazy because i could not determine why my system was randomly crashing on me. The keyboard was locking up and nothing was happening. I installed Ubuntu 6.10 amd 64, and the same problem came up except earlier, immedietly after loading the rt61 module.

steps taken:

followed guide up until before the modprobe rt61 step, before i loaded the rt61 module, i rmmod rt61pci

i then loaded the rt61 mod and got the error of a soft lockup on CPU#0

wireless cards bcm4311 & edimax 7608pg MIMO (rt61 chipset) both cards work with windows, but neither with any distro of linux, frustrating!!!
amd turion 64 x2 TL50
2Gb ram
dvd-rw

dmesg log file:

[ 507.076577] Unloading module: rt61pci - CVS (N/A) by http://rt2x00.serialmonkey.com.
[ 507.257700] ACPI: PCI interrupt for device 0000:09:00.0 disabled
[ 511.020307] ACPI: PCI Interrupt 0000:09:00.0[A] -> GSI 20 (level, low) -> IRQ 185
[ 511.020315] rt61 1.1.0 CVS CVS http://rt2x00.serialmonkey.com
[ 511.020528] RT61: Vendor = 0x1814, Product = 0x0401
[ 525.229138] RT61: RfIcType= 4
[ 530.490816] ra0: no IPv6 routers present
[ 533.461414] BUG: soft lockup detected on CPU#0!
[ 533.461421]
[ 533.461422] Call Trace: <IRQ> <ffffffff802b5faa>{softlockup_tick+250}
[ 533.461456] <ffffffff80299d47>{update_process_times+87} <ffffffff8027d563>{smp_local_timer_interrupt+35}
[ 533.461473] <ffffffff8027dcd1>{smp_apic_timer_interrupt+65} <ffffffff8026634e>{apic_timer_interrupt+98}
[ 533.461488] <ffffffff884babf0>{:rt61:MlmeAuthReqAction+0} <ffffffff80242604>{lock_timer_base+36}
[ 533.461532] <ffffffff80242609>{lock_timer_base+41} <ffffffff80250c98>{try_to_del_timer_sync+24}
[ 533.461546] <ffffffff802643b4>{del_timer_sync+4} <ffffffff802643bc>{del_timer_sync+12}
[ 533.461561] <ffffffff884bac8c>{:rt61:MlmeAuthReqAction+156} <ffffffff884afa37>{:rt61:MlmeEnqueue+247}
[ 533.461616] <ffffffff884b15f7>{:rt61:MlmeHandler+263} <ffffffff884ba620>{:rt61:AuthTimeout+0}
[ 533.461661] <ffffffff80299668>{run_timer_softirq+344} <ffffffff8021195f>{__do_softirq+95}
[ 533.461681] <ffffffff802669aa>{call_softirq+30} <ffffffff802733ec>{do_softirq+44}
[ 533.461693] <ffffffff80271f00>{default_idle+0} <ffffffff8026634e>{apic_timer_interrupt+98} <EOI>
[ 533.461712] <ffffffff80213270>{tcp_poll+0} <ffffffff80271f29>{default_idle+41}
[ 533.461733] <ffffffff8024ecfe>{cpu_idle+158} <ffffffff8060885b>{start_kernel+523}
[ 533.461750] <ffffffff80608293>{_sinittext+659}


if this matters at all, i get no sound

ps, i have spent ~50+ hrs trying to get linux on my laptop, trying different distros and debugging these two wireless cards, i bought the Edimax one because it is compatible with linux out of the box ;)

tictacman
April 8th, 2007, 01:33 AM
i bought the Edimax one because it is compatible with linux out of the box

peterhs - welcome to the wonderful world of edimax, hours of fun for the linux hobbiest:) .
I have an edimax card as well, the claim that its compatible with linux is a bit funny considering the time people spend trying to get it working. Like you I lost a whole weekend trying to get it work. I also experienced the scary soft lockups you talkied about, in fact I had so many problems I was convinced it was a mobo problem and went out and bought a new board and chip (I am convinced now there's nothing wrong with the original board).

I read in one post that softlocks are due to using /etc/interface to control the card. I have blanked out all references to ra0 in that file and use a script to boot the card. Since I done that I haven't had any problems

Do you have via chipset on your board? I found that the board was turning the card off after the via graphics driver loaded. I only noticed it when I booted into recovery mode and found my card had loaded perfectly, but failed to work in normal mode.

If so you might want to have a look at some of my other posts, just click on my name at the top of the post host header and select view other posts. I think I wrote a large post on a different rt61 thread on Monday where I outlined all the steps I took to get the card working for me.

peterhs
April 8th, 2007, 12:46 PM
I read in one post that softlocks are due to using /etc/interface to control the card. I have blanked out all references to ra0 in that file and use a script to boot the card. Since I done that I haven't had any problems

Do you have via chipset on your board? I found that the board was turning the card off after the via graphics driver loaded. I only noticed it when I booted into recovery mode and found my card had loaded perfectly, but failed to work in normal mode.

If so you might want to have a look at some of my other posts, just click on my name at the top of the post host header and select view other posts. I think I wrote a large post on a different rt61 thread on Monday where I outlined all the steps I took to get the card working for me.

Thanks for the help, but i still get these lockups whenever i boot with the card already inside the laptop or insert the card into the laptop when it is running. I tried all of your methods and i could not succeed. No via chipset, and commenting out the ra0 in /etc/network/interfaces did not help because network manager kept writing a new ra0 block of script after I commented the ra0 out. It writes a new script after I try ifdown ra0, ifup ra0, ... newscript written, any suggestions about that?

This is so frustrating because it works after the initial steps, I reboot and it crashes on me.

Now to rant: I am going to try some other distro next weekend to try to get a stable wireless connection. If all else fails, I will stop trying and try again in about six months, it is kind of like a semi-annual ritual, i try to switch to linux, burn about 10 cd's and 3 dvd's cannot get it to work, ask for help and then use windows for about 6 months and repeat. I kind of think my laptop hates every other OS besides Windows. It has become a: its not you, it is me relationship with my laptop and linux. I just wish my connection was a hard-wire one, because my laptop worked when attached to my router, but not wirelessly.

tictacman
April 8th, 2007, 01:25 PM
Sorry to hear that your not having much luck with the card, I'm not sure why /etc/interface is being re-written. Have you being using the network manager utility to try and configure the card? How about reinstalling and reconfiguring the driver from scratch. I did this a couple of times with different drivers until I hit upon a method that worked for me. Also, if you havent already, you might try reading through the other rt61 thread created by phq http://ubuntuforums.org/showthread.php?t=296822

I also did a bit of googling for you on the cpu softlock and found a bug report that might be worth a look: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.17/+bug/63418


Yeah I know what you mean about having a tough time ubuntu/linux and going back to windows. I used to do that about once a year for the past 6 years and until I was finally able to get everything working to my satisfaction.

Best of luck.

darkwill
April 12th, 2007, 08:44 PM
Thank You SOOOOOOOOOOOOO Much!!!!!!!! I've been trying for days on end to get a network setup and thanks to this (knock on wood) it finally works!!!!!!!!

(I know I over used the ! but you have NO IDEA how frustrating this has been,.... well .. maybe you do :p)


Thanks again
Will

jskulski
April 13th, 2007, 01:20 AM
I have a Gigabyte GN-WP01GS and am having some trouble getting it to work. I have a fresh install of ubuntu 6.10.

The driver is loaded ok, (lspci recognizes it) and there are a wlan0 device and wmaster0 device.

I installed the firmware and the *binary* rt61sta.dat file in /etc/Wireless/RT61STA as suggested. dhclient wlan0 gives me No DHCPOFFERS received.

iwpriv is a little different than what is mentioned in the howto:

it seems to want something like

iwpriv wlan0 param NetworkType Infra

but when i enter that it tells me that the interface does not accept private ioctl.

Any ideas on where to go? Any diagnostics to check? Thanks!

steffen
April 15th, 2007, 03:47 AM
After having struggled with getting this card up on my Ubuntu desktop, here's what I did:

1) I ****** up my computer so I had to reinstall the OS.

2) I installed Ubuntu 6.10, but immediately dist-upgraded (as of 13 April 2007) to Feisty (7.04).

3) I opened System | Networks and de-activated Nomad Mode on my ra0 card. My WEP 64 encrypted network was available from the drop-down, and I inserted my HEX code.

4) I chose DHCP.

Result: Card works great! :)

blazercist
April 17th, 2007, 10:18 AM
Oh steffen, that would be great if feisty actually booted with network-manager installed... I cannot get it to boot with network-manager installed at all.

huygens
April 17th, 2007, 06:00 PM
Oh steffen, that would be great if feisty actually booted with network-manager installed... I cannot get it to boot with network-manager installed at all.

On Feisty, the network card driver is correctly installed and working :-) then network manager is also up and running after the installation of Feisty. However, it works only if your network is unencrypted or uses WEP encryption. If it uses WPA or WPA2 encryption, network manager in combination with rt2x00 (the RT61 driver) will not work.

steffen
April 20th, 2007, 03:42 PM
On Feisty, the network card driver is correctly installed and working :-) then network manager is also up and running after the installation of Feisty. However, it works only if your network is unencrypted or uses WEP encryption. If it uses WPA or WPA2 encryption, network manager in combination with rt2x00 (the RT61 driver) will not work.

I must admit, I'm using WEP, not WPA. So don't get your hopes up :(

However, I wasn't able to get it working automagically with Edgy - so the world's moving forward :)

biker_bits
April 21st, 2007, 05:55 AM
WEP key entry format of XXXX-XXXX-XX i.e the need to insert '-' after each group of 4 characters -- does it still apply in Fiesty?
My Gigabyte PCI (Ralink based) card seems to be recognised OK by 7.04 (so drivers are loaded by Fiesty upon installation I assume), but upon entry of network ESSID and WEP Hex key does not do a lot at all. No ACT or LINK lights on at any time. Router is set up for WEP and DHCP. My laptop (running 6.10) configured fineon the network.
Any ideas for what to check?

lukaszJarochowski
April 22nd, 2007, 03:45 AM
To get WPA working with rt61 driver from ralink i've made this: http://ubuntuforums.org/showthread.php?t=415693

it worked like charm.

codeslicer
April 26th, 2007, 07:42 PM
here's a good link:
http://susewiki.org/index.php?title=Setting_up_RT61_Wireless_Cards#For _RT61_Cards

First, go to http://rt2x00.serialmonkey.com/wiki/index.php/Downloads and download the latest rt61 driver. Then under the list, there is a link to a graphical utility: http://cbbk.free.fr/bonrom/ Sometimes the link works...sometimes it doesn't.

After you downloaded those files, extract the files, and go to the directory where they extracted to in the Terminal using the cd command. Then cd to the Module directory. Then type in make. This is pretty much what it should look like:

Note that when you run the commands you don't actully write the # symbols. Written for Linux newbies by a Linux newbie :)

#cd Desktop/rt61-1.1.0-b1.tar.gz/
#cd Module/
#make


Now the code should complie. A few warnings should appear. That's okay. Errors, however, shouldn't occur - you may need the development packages. You should get stuff like this:

Building modules, stage 2.
MODPOST
CC /home/fred/work/rt61-cvs-2007011312/Module/rt61.mod.o
LD [M] /home/fred/work/rt61-cvs-2007011312/Module/rt61.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'


After that, do this:

#make install


Next, download Dos2Unix here:
http://www.thefreecountry.com/tofrodos/index.shtml
Get the tofrodos gzipped format and install it.
Now we have to copy the config files so do this:

#dos2unix rt61sta.dat
#mkdir -p /etc/Wireless/RT61STA
#cp *.bin /etc/Wireless/RT61STA
#cp rt61sta.dat /etc/Wireless/RT61STA


I haven't tried doing this yet, but I'm going to shortly. I'll see how it goes. . .

blazercist
May 1st, 2007, 04:07 PM
No no, you are not understanding. I have a MS-1039 laptop it has a rt61 based wifi card built-in, with a hard on/off button. Feisty will crash on boot just before X starts if the network-manager package is installed on the system. If i go into recovery mode and do sudo apt-get remove network-manager i can boot normally.

So I dunno what to tell you, I read that feisty fixes rt61, and I have been able to get it to work manually with scripting, but i'd rather do it the automagic way with network-manager.

peterhs
May 1st, 2007, 04:39 PM
No no, you are not understanding. I have a MS-1039 laptop it has a rt61 based wifi card built-in, with a hard on/off button. Feisty will crash on boot just before X starts if the network-manager package is installed on the system. If i go into recovery mode and do sudo apt-get remove network-manager i can boot normally.

So I dunno what to tell you, I read that feisty fixes rt61, and I have been able to get it to work manually with scripting, but i'd rather do it the automagic way with network-manager.

I think it is a bug in 7.04, I had the same problem, it would not start with the card loaded, and if i loaded the card, (pcmcia type, edimax 7608-pg) then the system would go into a soft-lockup, bug #40. changing back to 6.10 solved that problem.

blazercist
May 2nd, 2007, 09:03 AM
I think it is a bug in 7.04, I had the same problem, it would not start with the card loaded, and if i loaded the card, (pcmcia type, edimax 7608-pg) then the system would go into a soft-lockup, bug #40. changing back to 6.10 solved that problem.

Yea yea but still can't make it work automagically, it needs scripting in 6.10 also to work, not to mention that the driver needs to be downloaded and compiled and installed as opposed to 7.04 where its already there just a dud.

gatoruss
June 1st, 2007, 07:01 AM
I have been wrestling with wifi and Feisty for over a week. Everything worked fine until I upgraded to 7.04!

Well, after some tinkering, I have gotten the wifi to work following the tutorial mentioned in this thread, as modified by http://ubuntuforums.org/showthread.php?t=415693. However, it only boots up manually and I cannot get wifi to fire up on start up...I need to manually launch every time I boot up?" But it does not fire up wifi on start up....any suggestions?

dolphin_oracle
June 1st, 2007, 11:39 AM
in your /etc/network/interfaces file you can add an auto line to your configuration. I'm at work right now, and can't remember exactly what it looks like, but at the end of your ra0 settings, add

auto ra0

Cuppa-Chino
June 19th, 2007, 04:51 PM
Sorry to hear that your not having much luck with the card, I'm not sure why /etc/interface is being re-written. Have you being using the network manager utility to try and configure the card? How about reinstalling and reconfiguring the driver from scratch. I did this a couple of times with different drivers until I hit upon a method that worked for me. Also, if you havent already, you might try reading through the other rt61 thread created by phq http://ubuntuforums.org/showthread.php?t=296822

I also did a bit of googling for you on the cpu softlock and found a bug report that might be worth a look: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.17/+bug/63418


Yeah I know what you mean about having a tough time ubuntu/linux and going back to windows. I used to do that about once a year for the past 6 years and until I was finally able to get everything working to my satisfaction.

Best of luck.

well this is what has affected me all of a sudden.

I get the softlock and only blacklisting rt61 in /etc/modprobe.d/blacklist seems to fix it. Odd thing is that I have used the card sucessfully in Dapper, Edgy and Feisty for a year and all of a sudden this error totally freezes me today . it is really winding me up!

anyhow last thing I installed was skype 1.4 beta but that booted up fine yesterday, so I am pretty clueless any help?:confused::cry:

Cuppa-Chino
June 20th, 2007, 05:50 PM
wow
* de-installed skype 1.4 beta
* reinstalled kernel and headers (just from synaptic)
* then tried to boot wiht nosplash noapic lockup
* then knoppix fsck again no errors all okay
* then boot and all running again

I am so confused.. skype?

it gets better !

today I reinstall skype (after making a partimage!!!) and it all works again.... odd might have been a kernel file went belly up????

pat5star
June 26th, 2007, 04:19 PM
Wow, just got to say a major thank you. I had tried a dozen things to no avail before finding this article. Once I followed it, it worked perfectly. Thank you very much!

-Pat

Kzap333
June 28th, 2007, 11:54 AM
Just followed the instructions as mentioned for dapper drake for Sitecom WL-171, and it works flawlessly.

Thanks!
Hello I have a WL-171 wireless could you say where these instructions as mentioned for dapper drake for Sitecom WL-17
Help please. I realy don't have the time to read though all the posts on this fourm.

jcw122
June 29th, 2007, 07:47 PM
~/RT61_Linux_STA_Drv1.1.0.0/Module$ make all
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/-----/RT61_Linux_STA_Drv1.1.0.0/Module modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
CC [M] /home/------/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.o
/home/------/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c: In function ‘RT61_probe’:
/home/------/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:197: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
/home/-------/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c: In function ‘RT61_open’:
/home/---------/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:326: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[2]: *** [/home/------/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/home/--------/RT61_Linux_STA_Drv1.1.0.0/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make: *** [all] Error 2


I need some help. I'm following everything right, but when I type in "Make all" it gives me this^^

What do I do?

ontelo
July 27th, 2007, 10:45 AM
I can't find rt61.ko from anywhere?

eglober
July 31st, 2007, 12:07 AM
A huge thank you to the thread starter and all other contributors - I am one happy UbuntuHead now!

I am on Dapper with a Gigabyte GN-WP01GS card...iwpriv was the way to go! I do have to reboot yet, so keep your fingers crossed and once again, thank you all.

Rocky101
August 14th, 2007, 09:28 PM
(c) "No DHCPOFFERS Received"

A lot of people have posted in this thread complaining about the error "No DHCPOFFERS Received" error when they try "sudo dhclient ra0". I myself have encountered this error when trying to connect to one of the APs in the building where I work. However, I couldn't find a solution and thus could not reply to their posts. Until I read reharpernc's post which suggested using "iwpriv" instead of "iwconfig". [For more information on "iwpriv", type "man iwpriv" in your terminal.]

So for people who have encountered this problem, try:


Code:
sudo iwpriv ra0 set NetworkType=Infra
sudo iwpriv ra0 set AuthMode=SHARED
sudo iwpriv ra0 set EncrypType=WEP
sudo iwpriv ra0 set DefaultKeyID=1
sudo iwpriv ra0 set Key1=<my wep key>
sudo iwpriv ra0 set SSID=<my essid>then try to connect to your AP with


Code:
sudo dhclient ra0
If this works for you, you might want to include the above lines in the "/etc/init.d/rt61up" script so that it will run at startup

This worked for me but I don't have an /etc/init.d/rt61up file to add these coomands too. When I reboot I have to manually run these commands to get internet access

*Edited* I didn't see the instructions for this in the original post. I only read the Dapper directions :lolflag:

Schlomy
August 31st, 2007, 04:11 PM
This worked like a champ, thanks! I did wrestle for awhile because I entered the SSID with ?´s where spaces should go ('cuz usually Linux doesn't like spaces) but after I figured that out it worked great. Thanks for all your work!

Paul

DaFunks
September 1st, 2007, 02:37 PM
Hi guys,

I have just got myself a CWP-854 today thinking it would work but it has this chipset now so I am having big problems.

I am using xubuntu but am having so many problems.

I am a n00b to linux (Well not used it in about 8 years) and setting this up isa big pain in the ***.

I go into Network Manager and my new card does not show up but my Olld wired one does. It is all plugged in fine and should work...

Is there a easy way to get this working?

I tried to follow this guide but ran into problems... and by the looks of the files used it is 2 years out of date so maybe there is a new fix for this.

thanks

Pegasus_from_UA
September 6th, 2007, 06:45 PM
I installed rt61 driver and got 2 errors

buzdack@buzdack-desktop:~/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module$ cp Makefile.6 Makefile
buzdack@buzdack-desktop:~/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module$ sudo make all
make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/buzdack/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /home/buzdack/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.o
/home/buzdack/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c: В функции ‘RT61_probe’
/home/buzdack/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:197: ошибка: ‘struct net_device’ has no member named ‘get_wireless_stats’
/home/buzdack/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c: В функции ‘RT61_open’
/home/buzdack/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:326: предупреждение: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[2]: *** [/home/buzdack/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.o] Ошибка 1
make[1]: *** [_module_/home/buzdack/Documents/Wi-Fi_Dlink/RT61_Linux_STA_Drv1.1.0.0/Module] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [all] Ошибка 2


but when i done i have next by command #iwconfig
ra1 RT61 Wireless ESSID:"" Nickname:""
Mode:Managed Frequency:2.412 GHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Link Quality=0/100 Signal level:-121 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
is my wireless conection are working ???
I can't connect my laptop =(
Ubuntu 7.04 on desktop , Windows XP on laptop.
P.S. sorry for poor English

broom_hatter
September 10th, 2007, 01:55 AM
The "NO DHCPOFFERS RECEIVED" solution doesn't work for me. dhclient is still unable to connect. (I've changed the iwpriv commands to reflect my network settings--TKIP instead of WEP, et cetera.)

shakti_saran
September 12th, 2007, 07:05 AM
I resolved NO DHCPOFFERS received issue by running "dhclient ra1", restarting the router and running dhclient ra1 again. It's working now!!!

regomodo
September 12th, 2007, 07:08 AM
to save yourself farting about with /etc/network/interfaces use rutilt. Unless your comp is fixed there is no need for it unless you like setting your wifi by cli (which i've been doing for months until i found this tool)

http://cbbk.free.fr/bonrom/

eliot_waldo
September 18th, 2007, 09:56 AM
I'm stuck at the "edit /etc/Wireless/RT61STA/rt61sta.dat " point!

After typing sudo vi -b rt61sta.dat I get the page with all the wireless config setting but I'm not sure how to modify them. (My access point is using WPAPSK.)

What should I do now? Where is the readme/Docs file? I can't find it in the tar.gz dowload.

Thank you so much Eliot in Australia

eliot_waldo
September 20th, 2007, 08:02 PM
I have Dapper, Ra Link RT61 chipset in DLink 510 rev C2 card and can't get wireless working.

I've looked through most of this thread for a solution but I'm still stuck.

I'm a newbie to linux and I may be doing something wrong I suspect.

I get to the instruction "gksudo gedit /etc/Wireless/RT61STA/rt61sta.dat" , then I edit that file by replacing the "wrong" text by deleting it and typing in my wireless access point setttings (WPAPSK, TKIP, MY_essid etc) then exiting ( Is that the correct approach?).....Then

When I type iwconfig i get : lo no wireless extensions
eth0 no wireless extensions
ra0 no wireless extensions
sit0 no wireless extensions

when I type "sudo iwconfig raO" i get "Interface doesn't support scanning"

when I type "lspci" I get "0000:00:0a.0 Network Contoller: Ralink: Unknown device 0302 (so i presume linux recognises the card)

Can anyone help me out here. Thanks ELIOT

eliot_waldo
September 23rd, 2007, 01:04 AM
So, I found the answer to my problem and for those who are having the same problem here's what I did:

Firstly, I learned how to edit scripts with vi by reading the excellent tutorial by typing "vimtutor" into a terminal line. THIS IS ESSENTIAL!

I deleted rt61sta.dat file: "cd /etc/Wireless/RT61STA/" then "sudo rm rt61sta.dat"

I reloaded the rt61sta.dat file as per the instructions at the begining of this thread by judgekaster(Some Additional Notes part (b) rt61 Dapper part 2.)

Then I edited the rt61.dat file as per part (d) of the instructions using the correct vi keystrokes and saved the edited file by typing ":wq" (without the quotes) (SSID=My_Network_Name, Type= Infra, AuthMode=WPAPSK, EncrypType=TKIP, WPAPSK= My _Secret_Passphrase, All other lines I left alone).

Then I followed steps f, g and h, rebooted and BINGO IT WORKS.

THank you. It's taken me a week and lots of reading but the effort paid off

Ronin69
November 8th, 2007, 11:48 PM
4 hours of trying to get this to work. Ubuntu has nothing on Windows.

Good thing I still have a working copy of XP.

RebounD11
December 3rd, 2007, 05:06 AM
Followed tutorial ==> no more wireless... NOWHERE! it's like I don't even have a wireless card in my computer.

It failed miserably. took 5 minutes to do it, and another 55 minutes to undo... I'd rather stick to the serialmonkey drivers, so far the only one that work, even the default ones at least showed me I have a wireless card (useless but something).

PS: Sorry for the angry tone, that wasn't the point, I appreciate the tutorial, and the fact that someone took out of his time to write it, I just hate it that it doesn't work for me :D

k3lt01
December 28th, 2007, 04:28 PM
This, like the Ubuntu Wiki solution which this looks to be based on, does not work for me at all. I cannot get past the "sudo make all" command at the begining.

Stupid thing is that the driver setup that comes with Gutsy shows that I have a wireless setup, its only problem is it is eractic.

Oh well I will keep searching and see what i can find.

sunseeker888
February 12th, 2008, 11:30 AM
Guys


i am an absolute newbie, i am having problem setting up w_lan. the file below does not exist anymore can anybody help??







http://www.ralinktech.com/drivers/Li...1.0.3.0.tar.gz

k3lt01
February 27th, 2008, 11:06 PM
I finally got mine working and I did not use this solution at all. I just went the ndiswrapper way and I am now typing here on the very same machine I couldn't get working with the above solutions. Go figure hey.

zpon
April 30th, 2008, 03:55 AM
Guys


i am an absolute newbie, i am having problem setting up w_lan. the file below does not exist anymore can anybody help??







http://www.ralinktech.com/drivers/Li...1.0.3.0.tar.gz

I believe this is the one http://www.ralinktech.com.tw/data/drivers/2007_1210_RT61_Linux_STA_v1.1.2.0.tar.bz2
The tutorial needs updating

Cuppa-Chino
April 30th, 2008, 02:33 PM
Hi, what version of ubuntu are you using?

If you go to System --> Network do you see a wlan adapter ?

AdrianPtchv
May 6th, 2008, 04:27 AM
There were also problems with my ralink rt2561 pci card after the update to 8.04 version of Ubuntu.
The kernel module which came with it was not working properly (not receiving iwpriv commands). I had to download the latest CVS from serialmonkey, disable the modules, compile and install it and blacklist the previous (already unloaded modules).
After I had to mess a bit with /etc/network/interfaces file.
The following is my successful configuration:

auto lo
iface lo inet loopback

# The wireless network interface
auto wlan0
iface wlan0 inet static
address 192.168.2.2
netmask 255.255.255.0
gateway 192.168.2.1
ifconfig wlan0 down
iwconfig wlan0 essid ThenameoftheWIFIrouter
pre-up iwpriv wlan0 set AuthMode=WPAPSK
pre-up iwpriv wlan0 set EncrypType=TKIP
pre-up iwpriv wlan0 set WPAPSK="74ccaf28761b32a8b45b44b7c25e5f7c9ea45b253aa51bf72f 4ff9d26486e3b"
pre-up ifconfig wlan0 up

After the PC went online I received another update and the kernel module had to be reinstalled.
Now it is working and I am planning to try WPA2 AES.
Hope this will be useful for someone.
Generally after each major update there are problems with the wireless card on ubuntu...

cuz
May 9th, 2008, 07:23 PM
I just wanted to throw up a quick bit of info for Hardy users. Here is the simple solution that worked for me (on Toshiba Portege 4005), since I spent ages today and the solution was simple:

1. Install Hardy with the PCMIA wireless card (Orinoco Gold, rt61). I'm using a static IP, so it couldn't configure correctly. I told it to skip config for now.

2. Log in. Change network settings. The KEY: enter WEP key as hex. [Thanks to whoever mentioned that above!] Et voila! Easy peasy.

Note: appending 's:' to the ascii did not work (e.g., 's:your_pwd')

cuz Ubuntu just makes it easy-ish

k3lt01
May 9th, 2008, 09:34 PM
I installed Hardy as a clean install, not an update, and have never had a moments trouble. No changing settings, no checking anything, it just works out of the box.

You guys using Hardy now who have troubles, even minor ones, is your Hardy a clean install or was it an update from Gutsy or another version? If it was an update some old setting may be hanging and stopping it from working properly.

Payteer
May 10th, 2008, 06:28 AM
Mine was a clean install. The card is D-Link DWA-610 with a RT61 chip set. It can detect networks, but I can't put my WPA password in as it keeps on asking for it.

k3lt01
May 11th, 2008, 01:54 AM
I don't understand what might be the problem for you then sorry. I know when I had Gutsy on mine I had to try a few times, clean installs, to get it to work with ndiswrapper. The only thing I can think of in your case is something may not have installed properly when you installed Hardy.

4nt1
May 22nd, 2008, 01:02 PM
Hi everybody,

i loaded the rt61 drivers from the ratlink-page, compiled them without problems and installed the rt61,ko module. so far, the module gets loaded (tested via modprobe rt61), but its never used, so no wlan iface like ra0 or wlan0 is present! here the output of "lsmod | grep rt61":


rt61 241156 0


"modinfo rt61":


filename: /lib/modules/2.6.24-16-generic/kernel/drivers/net/rt61.ko
description: RT61 Wireless Lan Linux Driver
author: Paul Lin <paul_lin@ralinktech.com>
srcversion: 57EF7C13DC2F540964E6100
alias: pci:v00001814d00000401sv*sd*bc*sc*i*
alias: pci:v00001814d00000302sv*sd*bc*sc*i*
alias: pci:v00001814d00000301sv*sd*bc*sc*i*
depends:
vermagic: 2.6.24.3 SMP mod_unload 586


and "modinfo rt61pci":
filename: /lib/modules/2.6.24-16-generic/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
license: GPL
firmware: rt2661.bin
firmware: rt2561s.bin
firmware: rt2561.bin
description: Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version: 2.0.10
author: http://rt2x00.serialmonkey.com
srcversion: D71C36F67F7A0F8B005A78F
alias: pci:v00001814d00000401sv*sd*bc*sc*i*
alias: pci:v00001814d00000302sv*sd*bc*sc*i*
alias: pci:v00001814d00000301sv*sd*bc*sc*i*
depends: rt2x00lib,rt2x00pci,mac80211,eeprom_93cx6
vermagic: 2.6.24-16-generic SMP mod_unload 586


any suggestions?

LouReed
July 24th, 2008, 06:51 AM
Hi,
First of all sorry for my shitty english..

Anyway I couldn't find enough help in the french version of the forum so I came down here ..
(yeah I really need some help apparently)

I'm on Xubuntu 8.04 (clean install) fighting with my brand new ralink DWA-510 (rt61 chipset)

My card works (it seems) I mean it can detect lans and I even succeeded in connecting once to my router.

But the connection isn't stable even if wicd says it's like allmighty !

So my questions are :

1) Is the preloaded hardy heron driver for rt61 the same that you can find on the ralink website ? if not should I try to install the ralink instead ?

2) Is it a good idea to try the seriamonkey stuff on hardy ?

3) why the f*** do they say they have a driver if it doesn't (really)work ? :p

PS: I tried to use wicd because Network manager kept bullying me lol.
I also tried the manual way..