rt61pci failing to associate
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.
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.
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?
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
Hmm. I've got
iface wlan0 inet dhcp
wireless-essid <my essid>
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.