rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Fri May 24, 2013 11:47 pm

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.  [ 9 posts ] 
Author Message
PostPosted: Sat May 10, 2008 1:33 pm 
Offline

Joined: Sat May 10, 2008 1:16 pm
Posts: 3
Hello all,

First and foremost: thank you very much for the effort you put into getting an open source driver out there for our hardware. Also, congratulations on making it into the mainline kernel :)

I'm having quite a bit of trouble getting my USB wifi dongle to work properly with a WPA encrypted network, and I hope you will be able to give me some advice. I have a dongle that identifies itself as "14b2:3c02 Atheros Communications Inc", and I'm running Ubuntu 8.04, kernel 2.6.24-16-generic. Ubuntu recognizes the dongle automatically, and loads the rt2500usb driver for it. This driver seems to be working nicely with WEP and even WPA for about half a minute, and then comes to a grinding halt when more than half the packets get lost and the speed drops to a few k per second.

I've solved this problem for someone else by installing the rt2570 driver from the CVS, a few weeks ago, which did the trick nicely. That is: for a WEP encrypted network. But now I've done the same thing for my own dongle I've discovered that upgrading the driver to rt2570 makes me lose the capacity to connect to a WPA encrypted network.

I've tried to compile the beta release instead of the CVS release, but this gives me an error:

Quote:
/usr/src/rt2570-1.1.0-b2/Module$ sudo make
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[2]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by `arch/x86/kernel/asm-offsets.s'. Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
rt2570.ko failed to build!
make: *** [module] Error 1


My question is: why can't I connect to a WPA encrypted network with the rt2570 driver from the CVS (even though I can with the rt2500usb driver), could I perhaps get it to work with the beta release, and if so; how do I get it to compile? Or do I perhaps need to use a different driver altogether?

Thanks for any help in advance,
Tim


Top
 Profile  
 
PostPosted: Sat May 10, 2008 1:36 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
Are you sure the rt2500usb is doing the trick? If the device is identified as "14b2:3c02 Atheros Communications Inc" then I would really assume the Atheros driver would be required instead of Ralink driver... The USB ID is however known to be rt2500usb, but with some manufacturers changing the chipset without changing the USB ID, that doesn't say much.

The compile error is simple, you need the kernel _sources_ and not the headers.

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


Top
 Profile  
 
PostPosted: Sat May 10, 2008 1:42 pm 
Offline

Joined: Sat May 10, 2008 1:16 pm
Posts: 3
I'm quite sure it's the rt2500usb driver. I've blacklisted that driver now, and the hardware isn't doing anything anymore without a modprobe rt2570 ;) The name surprised me too... It's a Conceptronic device, other than that I can't tell you much.

Do you think it would be useful to install the kernel sources and give the beta driver a try?

Thanks for the quick reply!


Top
 Profile  
 
PostPosted: Sat May 10, 2008 1:48 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
I think Ubuntu has a rt2x00 update in backports that should resolve your problem as well.
Otherwise using the legacy rt2570 should also work.

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


Top
 Profile  
 
PostPosted: Sat May 10, 2008 2:01 pm 
Offline

Joined: Sat May 10, 2008 1:16 pm
Posts: 3
IvD wrote:
I think Ubuntu has a rt2x00 update in backports that should resolve your problem as well.

Thanks, I'll try that now
Quote:
Otherwise using the legacy rt2570 should also work.

Which download would that be?


Top
 Profile  
 
PostPosted: Sat May 10, 2008 2:04 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
The rt2570 from our download page.

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


Top
 Profile  
 
PostPosted: Fri May 16, 2008 7:15 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Tim wrote:
why can't I connect to a WPA encrypted network with the rt2570 driver from the CVS
Inability to handle AES - CCMP - encryption was a long standing problem with the legacy rt2570 driver, which is what kept WPA encryption from working when that was specified - although I believe TKIP encryption was OK. A fix that handles CCMP encryption - at least for adhoc operation - was put into CVS on 5/4/08. So if you download the latest source tarball and build, WPA with AES should now work for you.

If it does not, please compile and run with debug enabled and post the log here.

Thanks,

(edit) at least for WPAPSK.

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


Top
 Profile  
 
PostPosted: Sun May 18, 2008 12:56 pm 
Offline

Joined: Sun May 18, 2008 10:46 am
Posts: 2
Hello,

I have a problem that might be related to that - I did not manage to get WPA working with the daily rt2570 CVS snapshot (taken today) on my 2.6.24 gentoo box (kernel 2.6.24-gentoo-r8).
Everything looks fine, but the connection to my AP ("f9") does not succeed. Taking logs in debug mode, there is a line saying
Code:
May 18 14:09:41 e rt2570: CNTL - AUTH FAIL, give up; try next BSS
which may indicate the final problem. I am 100% sure that I am using the right key (connection to same AP with a different PC/Wifi device works fine).
The steps that I'm performing to connect are:
Code:
e ~ # ifconfig wlan0 up
e ~ # iwpriv wlan0 auth 3
e ~ # iwpriv wlan0 enc 3
e ~ # iwconfig wlan0 essid f9
e ~ # iwpriv wlan0 wpapsk $key
e ~ # iwconfig wlan0 essid f9

It would be veeeeeery kind if someone could check the attached (commented) logfile that has been taken with debug=31 - after spending quite some time on this issue now I believe that this could be problem in the driver.
The device that I'm trying to use is an ASUS WL-167g (the first version, not the one that requires rt73).

Thanks for your help (and - of course - for all your work on the drivers!!)


Attachments:
rt2570.log.gz [14.99 KiB]
Downloaded 71 times
Top
 Profile  
 
PostPosted: Fri May 30, 2008 5:29 pm 
Offline

Joined: Sun May 18, 2008 10:46 am
Posts: 2
With today's tarball, everything works - which is strange, considering the very few changes in CVS... but most important is that it works fine now :-)


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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