rt73 ubuntu WPA disconnects

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4710

polygrindle

02-04-2008 18:48:04

I've been trying the get my Edimax EW-7318Ug USB wireless card to work with the rt73 driver. I'm using a vanilla install of Ubuntu 7.10. I downloaded the latest CVS then

make
strip -S rt73.ko
make install

I removed all the other drivers that come with ubuntu

modprobe -r rt73usb
modprobe -r rt72570
modprobe -r rt2500usb
modprobe -r rt2x00lib

Then blacklisted then in /etc/modprobe.d/blacklist.

I loaded the new module (modprobe -v rt73), and tried to configure it as follows

ifconfig wlan0 up
ifconfig wlan0 192.168.1.5
ifconfig waln0 netmask 255.255.255.0
iwconfig wlan0 essid Cavey
iwconfig wlan0 mode Managed
iwpriv wlan0 set AuthMode=WPAPSK
iwpriv wlan0 set EncrypType=TKIP
iwpriv wlan0 set WPAPSK=xxxxxx

Whan I check the interface using iwconfig I can see that it is associated sometimes, then when I check again it is not associated. So it seems to keep trying to connect, getting a connection, then getting chucked out. The WPA password is correct (all works fine under windows).

I've run through the same procedure with the debug version of the module installed, and attached the syslog.

Help please!

Vern

02-04-2008 21:21:53

Basically, you're getting 4-way and group timeout de-authentications from your AP.

Do you know the manufacturer and model number of the AP?
What kernel (i.e output of uname -r) are you using?
What is your machine type?

Thanks,

polygrindle

03-04-2008 08:04:34

Thanks for the quick response!

My access point is an ASUS WL-500gp it's running the oleg firmware 1.9.2.7-8. The WL-500g Premium uses a Broadcom chipset, the full details are here

[code1eocknte]
Architecture: MIPS
Vendor: Broadcom
Bootloader: CFE
System-On-Chip: Broadcom 5365
CPU Speed: 266 MHz
Flash size: 8 MiB
RAM: 32 MiB (only 16 MiB enabled by default)
Wireless: integrated Broadcom BCM4306 802.11b/g Wireless LAN Controller
Ethernet: Robo switch BCM5325
USB: 2x USB 2.0
Serial: yes
JTAG: no
NVRAM: yes[/code1eocknte]


I've just checked and there is a new version of the firmware out , so I can try this to see if it helps. The connection is 100% stable using the windows drivers however so I'm not convinced it will do the trick.

I've got a vanilla install of Ubuntu 7.1 which checking online shipped with a 2.6.22 kernel. I'll get you a uname -r later on today.

My machine is a ECS A939 Motherboard with Athlon 64 3600+ and 2Gb of RAM.

polygrindle

03-04-2008 16:46:13

OK uname -a under Ubuntu gives

Linux the-cave 2.6.22-14-generic #1 SMP Sun Oct 14 230512 GMT 2007 i686 GNU/Linux

I've just upgraded the firmware on my ASUS WL-500g Premium to oleg's latest version 1.9.2.7-10 (see [url3pcmd2fk]http://oleg.wl500g.info/[/url3pcmd2fk] at the bottom). This includes the very latest WiFi Module 4.150.10.16. However I think the same problem is still occuring. I've run the rt73 module in debug again (see attached syslog).

Vern

03-04-2008 19:46:50

Hi polygrindle,

Well, its pretty much the same symptoms. Your AP is de-authenticatiing you because its wpa 4-way handshake sequence is timing out.

Would it be possible to find out how this driver and the same adapter work on a 32 bit machine when trying to connect to the same AP?

Thanks,

polygrindle

03-04-2008 20:33:05

Unfortunately I've only got the one machine. Would the processor make a difference with 32-bit linux though?

Vern

04-04-2008 15:45:18

Now that you mention it, I think that thing can run in 32 bit mode. If so that would do.

I was under the impression that you're currently running in 64 bit mode. Are you? If so, could you try 32 bit mode and see the results?

Thanks,

polygrindle

04-04-2008 19:57:43

Yes it is running under the 32-bit version of Ubuntu, and the Athlon 64 runs the 32-bit code natively (no nasty emulation like first 64-bit Intel processor).