Comment 47 for bug 339891

Revision history for this message
James Dupin (james.dupin) wrote :

It works but I have to disagree with Dries on the wpa supplicant stuff.

I compiled the driver without touching config.mk as per Dries (The wpa_supplicant stuff is indeed not necessary as NetworkManager does this on the fly for you). When I think about it (as I write this), was this advice for not tweaking config.mk or not fiddling with the commands (#>cd wpa_supplicant-x.x #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d)?

Anyway I had to tweak config.mk to have a working connection.

A little summary for those who struggle (like me) with compilation and such.

get rid of whatever rt2860 driver you have (1.8 or 1.7) then:

wget http://launchpadlibrarian.net/25979268/rt2860sta-connect-to-mixed-tkip-aes-routers.patch
wget http://www.ralinktech.com.tw/data/drivers/2009_0424_RT2860_Linux_STA_V2.1.1.0.tgz
tar xzf 2009_0424_RT2860_Linux_STA_V2.1.1.0.tgz
cd 2009_0424_RT2860_Linux_STA_V2.1.1.0/
patch -p1 < ../rt2860sta-connect-to-mixed-tkip-aes-routers.patch
sed -i 's/^HAS_WPA_SUPPLICANT=n/HAS_WPA_SUPPLICANT=y/;s/^HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n/HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y/' os/linux/config.mk
sudo make
sudo make install
sudo ifconfig ra0 down
sudo rmmod rt2860sta
sudo modprobe rt2860sta
sudo ifconfig ra0 up

Connected.

one last thing, I will need to find a router called Livebox (from the Orange ISP in France). Indeed I had the most weird thing yesterday with one of them at a friend's. I simply could not connect to it either with 1.8 or 1.7 with wep, wpa, no encryption. I was out of my mind. Apparently there was no mac filtering but I will need to double check with another Livebox.