If you have installed Ubuntu on your notebook/netbook, You might experience some problems with your wireless card, as Ubuntu might load a wrong driver or don’t recognize your wireless card at all.
In my case, Ubuntu loaded the wrong driver for a Ralink rt3090 card, but you can do it for any other model without a problem, just replace the number 3090 with yours.
Here is how it’s done:
- Download the Official Driver from Ralink to your home directory, Here , Look for 3090 on the page
- Extract the downloaded archive, by right clicking it and choosing “extract here” from pull down menu.
- A folder will be created in your home directory which we will refer to it like 20***, Replace the asterisk with the actual name when needed
- Locate the file 20***/os/linux/config.mk, open it with gedit by double clicking it
- In the file config.mk find the option HAS_WPA_SUPPLICANT=n and change it to HAS_WPA_SUPPLICANT=y (if it’s already set, don’t worry, just leave it like that)
- Find the option HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n and change it to HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
- Find the option HAS_CFG80211_SUPPORT=y and change it to HAS_CFG80211_SUPPORT=n
- Locate the file ./20**/common/cmm_wpa.c and open it for editing with gedit. If it gives error about encoding, from gedit’s pull down menu choose “Western“
- find the option WPA_MIX_PAIR_CIPHER FlexibleCipher = MIX_CIPHER_NOTUSE and change “The Entire Line” to WPA_MIX_PAIR_CIPHER FlexibleCipher = WPA_TKIPAES_WPA2_TKIPAES; with the semicolon at the end
- Open the Terminal and go to the directory 20*** it’s probably here: ~/Downloads/20**, you can use the command “cd ~/Downloads/20*“
- Issue this commands, you can copy/paste them:
read [1] about step 5, read [2] about step 9,11
- sudo make
- sudo make install
- sudo ifconfig wlan0 down
- sudo rmmod rt2860sta #you might need to replace the number
- sudo mv /lib/modules/2.6.38-11-generic/kernel/drivers/staging/rt2860/rt2860sta.ko ~/rt2860sta.ko
- sudo depmod -a
- sudo modprobe rt3090sta
- sudo ifconfig wlan0 up #it might be ra0 instead of wlan0
- sudo cp ~/Downloads/20*/os/linux/rt3090sta.ko /lib/modules/2.6.38-11-generic/kernel/drivers/staging/rt2860/
- sudo mkdir /lib/modules/2.6.38-11-generic/kernel/drivers/staging/rt3090/
- sudo cp ~/Downloads/20*/os/linux/rt3090sta /lib/modules/2.6.38-11-generic/kernel/drivers/staging/rt3090/
- at the end of the file /etc/modules add “rt3090sta” without quotations.
And your are done, BUT PAY ATTENTION: you need to do this every time you update your kernel
[1]: you need to replace the number 2.6.38-11 with the current kernel version you are using, you can find that information with the command “uname -r”
[2] if it gives an error about not finding the flie rt3090sta, just replace the first appearance of number 3090 in command with 2860
Categories: tut::Ubuntu
Tags: 3090, driver, ralink, ubuntu, wireless, wireless issue
Comments: No Comments.