rt61pci failing to associate

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

ajd

16-04-2008 03:30:11

Forgive me if I'm posting a common question, but I can't seem to find the answer.

I'm running an AMD64 Debian Lenny/Sid system with the rt2x00 rt61pci drivers. On boot, the init scripts set the ESSID and try to bring the network up. I find that running iwconfig afterwards shows that the ESSID is indeed set but the card does not associate. After running 'iwconfig wlan0 essid <my essid>' it associates and all is fine.

I'm running kernel 2.6.24 with an Edimax card the model of which I can't remember. I recall having this problem with my previous machine, same card, which was running the legacy drivers IIRC. I think I made a workaround using another script to ensure it associated.

Thanks in advance.

ajd

24-04-2008 10:16:31

Bump (

AdamBaker

24-04-2008 19:41:19

Setting the ESSID only triggers an association attempt if the interface is up, setting the ESSID with the link down or before setting up keys won't lead to a working connection.

ajd

25-04-2008 05:23:41

Ah, OK. So the interface should be brought up, then something should be done to make it associate. What's the best way to do that from initscripts?

AdamBaker

25-04-2008 16:28:35

The answer to this is distro specific and I've only got Etch or Ubuntu here for comparison but on those I add wireless-key and wireless-essid as the last 2 lines for the interface in /etc/network/interfaces. This assumes you want the network to come up when the machine does, networkmanager ignores interfaces that are specified in /etc/network/interfaces. Things are also subtley differrent if you use WPA rather than WEP

ajd

25-04-2008 23:55:12

Hmm. I've got
[code2p49mmj8]auto wlan0
iface wlan0 inet dhcp
wireless-essid <my essid>
[/code2p49mmj8]

in /etc/network/interfaces already.

I suppose at this point it's a Debian issue, not a driver issue, so I'll go ask on the Debian forums. Thanks for your help anyway.