Comment 8 for bug 28464

Revision history for this message
Alexander Rødseth (alexanro) wrote :

I have a rt61-card. In order to make it work for both Ubuntu Festy and Gutsy I had to:
* blacklist rt61pci in /etc/modprobe.d/blacklist
* download the latest driver from http://rt2x00.serialmonkey.com/ (I had no luck with the one from Ralink!)

Here's my card (from lspci):
05:09.0 Network controller: RaLink RT2561/RT61 rev B 802.11g

In addition, I have to shut down NetworkManager in order to enable the dhcp-client to fetch an address.

My /etc/network/interfaces looks like this, if it will save someone the many hours it took to figure out how to make WPA2 work:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.0.111
        netmask 255.255.255.0

auto wlan0
iface wlan0 inet dhcp
pre-up ifconfig wlan0 up
pre-up sleep .1
pre-up /sbin/iwpriv wlan0 set NetworkType=Infra
pre-up sleep .1
pre-up /sbin/iwpriv wlan0 set AuthMode=WPA2PSK
pre-up sleep .1
pre-up /sbin/iwpriv wlan0 set EncrypType=AES
pre-up sleep .1
pre-up /sbin/iwpriv wlan0 set essid YOUR_ESSID_GOES_HERE
pre-up sleep .1
pre-up /sbin/iwpriv wlan0 set WPAPSK=YOUR_PASSWORD_GOES_HERE
pre-up sleep .1

#auto eth1
iface eth1 inet dhcp

#auto eth2
iface eth2 inet dhcp

#auto ath0
iface ath0 inet dhcp

---

Anyways, I vote for including the drivers from http://rt2x00.serialmonkey.com/ and removing rt61pci!