rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Sun May 19, 2013 12:30 am

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
PostPosted: Fri Jul 04, 2008 4:45 pm 
Offline

Joined: Fri Jul 04, 2008 4:34 pm
Posts: 12
Hi,
I recently updated my kernel from 2.6.22-14 to 2.6.22-15 and obviously my rt2570 wireless card stopped working. So, I downloaded and reinstalled the newest version of the driver for the new kernel in exactly the same way as I installed it for 2.6.22-14. After loading the module the card started working and everything was fine. The problem is that when I restart my machine, my wireless card is not working. When I do "lsmod | grep rt2570", I get these two lines:
:> lsmod | grep rt2570
rt2570 190912 0
usbcore 138632 5 rt2570,usbhid,ehci_hcd,uhci_hcd

At this point if I just try to restart the card with 'ifdown' and 'ifup', I get an error:
:> sudo ifdown rausb0
ifdown: interface rausb0 not configured

Apparently rt2570 is loaded but is not used by any device. If I do:
:> sudo rmmod rt2570
:> sudo modprobe rt2570
:> sudo ifdown rausb0
:> sudo ifup rausb0

everything starts working, but it's annoying that I have to do this every time. Does any one have any idea why this is happening?

Thanks a lot.

BTW: I am in Ubuntu Gutsy.


Top
 Profile  
 
PostPosted: Fri Jul 04, 2008 6:01 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
hormati wrote:
At this point if I just try to restart the card with 'ifdown' and 'ifup', I get an error:
You might try "ifconfig -a" at this point and see what you do have. It may be that your upgrade also changes the interface name.

Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Fri Jul 04, 2008 6:56 pm 
Offline

Joined: Fri Jul 04, 2008 4:34 pm
Posts: 12
Thanks for your suggestion, but that's not the problem here. As I said, if I do:
:> sudo rmmod rt2570
:> sudo modprobe rt2570
:> sudo ifdown rausb0
:> sudo ifup rausb0

the card starts working. So, the interface name is the same. Something else is wrong.

Thanks
Amir


Top
 Profile  
 
PostPosted: Fri Jul 04, 2008 7:06 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Did you do what I asked?

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Fri Jul 04, 2008 7:53 pm 
Offline

Joined: Fri Jul 04, 2008 4:34 pm
Posts: 12
hehehe :D I did not initially, but now i did it and you are right. The name is changed to wlan0. The thing that I don't understand is why it gets changed to rausb0 if I do rmmod and insmod again? :? :? :?

Everything is working now :D
Thanks a lot


Top
 Profile  
 
PostPosted: Fri Jul 04, 2008 8:02 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
Check your modprobe config file, it probably contains a line giving the ifname=wlan0 parameter to the rt2570 module.
Note that wlan0 is the correct name for a wireless interface and rausb0 is not, hence the reason we have a module parameter to configure the name.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Fri Jul 04, 2008 9:22 pm 
Offline

Joined: Fri Jul 04, 2008 4:34 pm
Posts: 12
in my modprob.conf file i have this line:
alias rausb0 rt2570

I added this line when I originally installed this driver on my old kernel. I still don't understand why rausb0 is changed to wlan0 and why if I rmmod and insmod rt2570 manually after system startup, the name gets changed to rausb0 again! :? :? :? :? :?

Thanks


Top
 Profile  
 
PostPosted: Mon Jul 07, 2008 4:54 pm 
Offline

Joined: Sun Jun 03, 2007 4:00 pm
Posts: 195
Location: France
Maybe because at startup udev gives the name wlan0 but when you rmmod/modprobe only the alias rausb0 line is read.
To avoid that, change the line in your modprobe.conf to :
alias wlan0 rt2570.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group