Re: [Hampshire] Wireless help

Top Page

Reply to this message
Author: Jonathan Hudson
Date:  
To: hampshire
Subject: Re: [Hampshire] Wireless help
On Sun, 18 Feb 2007 11:47:34 +0000
Tim <xendistar@???> wrote:


> #change the name of the interface to a standard one
> options rt2500 ifname=wlan%d


I'd remove the ifname stuff and leave it at ra0. The following works in
Ubuntu (Edgy).

in /etc/network/interfaces

auto ra0
iface ra0 inet dhcp
pre-up ifconfig ra0 down
pre-up ifconfig ra0 up
pre-up iwconfig ra0 essid MYWLAN
pre-up iwconfig ra0 mode Managed
pre-up iwpriv ra0 set AuthMode=WPAPSK
pre-up iwpriv ra0 set EncrypType=TKIP
pre-up iwpriv ra0 set WPAPSK=somewhattopsecret
wireless-key xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx

probably don't need the last bit.

Note that it doesn't do WPA with NetworkManager (hence the above entry)
as the driver does its own WPA rather than using wpa_supplicant, which
is a PITA.

-jonathan