The Official Blog of Richard Ricketts

my personal knowledge base

Installing Ralink RT3290 Wireless Drivers in Ubuntu 12.04

Posted on Aug 14, 2012 in Tutorials | 92 comments

For anybody looking to install drivers for Ralink Device 3290, I’ve finally managed to get it working so I thought I’d share.

1. Check your wireless controller hardware

lspci | grep Network

You should get the following output

Network controller: Ralink corp. Device 3290

If so, you will need to install Ralink driver 3562.
2. Download the driver source from the Ralink website, my local mirror (download here)

http://www.ralinktech.com/en/04_support/support.php

3. Extract the folder (DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217) to your home directory.

4. Open DPO_RT…/os/linux/config.mk

5. Change line 12 to read HAS_WPA_SUPPLICANT=y
Change line 15 to read HAS_NATIVE_WPA_SUPPLICANT=y

6. Open a terminal

cd DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217

7. sudo make

8. Install the driver.
sudo make install

9. Next you need to blacklist the conflicting wireless drivers

sudo gedit /etc/modprobe.d/blacklist.conf

Add the following lines:
#Wireless drivers conflicting with rt3562sta
blacklist rt2800pci
blacklist rt2x00pci
10. Tell linux to load the correct module on boot
sudo gedit /etc/modules

Append the following line:
rt3290sta
11. Update the changes
sudo update-initramfs -u
12. Restart your system. You should see a list of available networks in the network manager next time it boots.

If anyone has any problems with this please let me know and I’ll try to help!

Link: http://ubuntuforums.org/showthread.php?t=1850267

Was this blog post helpful for you?

Support my blog and donate!

My blog is open to the public and will always be freely available. With your donation, we can help others learn, together.

92 Comments

  1. Ah this almost worked for me! I followed your steps and now Linux detects my wireless card and I scan for routers and successfully connect to my wireless router. But web pages all refuse to load using wifi…. Any ideas what I could try? I noticed the config.mk file format has changed since you wrote this, maybe it’s that?

    Thanks!

  2. Ah this almost worked for me! I followed your steps and now Linux detects my wireless card and I scan for routers and successfully connect to my wireless router. But web pages all refuse to load using wifi…. Any ideas what I could try? I noticed the config.mk file format has changed since you wrote this, maybe it’s that?

    Thanks!

  3. Actually, I just did a clean install of Ubuntu 12.04 (64 bit) and tried your instructions again (with the addition of the extra blacklists from the ubuntu forums link) and it worked a treat. Not sure if it worked because of the extra blacklists or because of the clean install. Either way, thanks very much! I’ll link people to your blog who are struggling with the same laptop. (perhaps you should add the extra blacklists to this post). Thanks!

  4. Actually, I just did a clean install of Ubuntu 12.04 (64 bit) and tried your instructions again (with the addition of the extra blacklists from the ubuntu forums link) and it worked a treat. Not sure if it worked because of the extra blacklists or because of the clean install. Either way, thanks very much! I’ll link people to your blog who are struggling with the same laptop. (perhaps you should add the extra blacklists to this post). Thanks!

  5. Hi Richard, I have the same card and I am trying to build a hackitosh so I wonder how difficult it would be to convert the same driver in mac osx. Any idea? Thanks in advance

  6. Hi Richard, I have the same card and I am trying to build a hackitosh so I wonder how difficult it would be to convert the same driver in mac osx. Any idea? Thanks in advance

  7. It looks like your docs are a bit of a mishmash of copy/paste from that Ubuntu for thread. The docs are supposed to be for the Ralink 3290 (and the file link is to the 3290 drivers), but you’ve got references to the 3562 (from the forum thread) sprinkled throughout, which makes things a bit confusing.

  8. It looks like your docs are a bit of a mishmash of copy/paste from that Ubuntu for thread. The docs are supposed to be for the Ralink 3290 (and the file link is to the 3290 drivers), but you’ve got references to the 3562 (from the forum thread) sprinkled throughout, which makes things a bit confusing.

  9. Hi Richard, I followed your steps in Ubuntu 12.10 (64-bits) for the same RAlink RT3290, and finally the wifi was found, but it crashed when I tried to access any website using Firefox. Any idea to solve this? Thanks in advance.

  10. Hi Richard, I followed your steps in Ubuntu 12.10 (64-bits) for the same RAlink RT3290, and finally the wifi was found, but it crashed when I tried to access any website using Firefox. Any idea to solve this? Thanks in advance.

  11. Yes, I got the same problem when I tried it. Causes a kernal panic, right? I looked into it but couldn’t figure out how to fix it, although, there is talk of Ubuntu natively supporting this WiFi card (hopefully sometime soon).

    To solve/workaround this problem, I had to switch back to Ubuntu 12.04. Not such a big deal as it is long-term support. Hopefully this issue will get resolved for future releases.

  12. Yes, I got the same problem when I tried it. Causes a kernal panic, right? I looked into it but couldn’t figure out how to fix it, although, there is talk of Ubuntu natively supporting this WiFi card (hopefully sometime soon).

    To solve/workaround this problem, I had to switch back to Ubuntu 12.04. Not such a big deal as it is long-term support. Hopefully this issue will get resolved for future releases.

  13. It isn’t foolproof, it’s a hack to getting it *sorta* working…

  14. You’d have to check with the manufacturer of the wireless hardware, they supply the drivers directly. Since it is *nix, you might be able to hack it up to make it work.

  15. Mr Ricketts, many thanks for the help. I never usually comment, but this one had me pulling my hair out, and your instructions worked to the letter. I’m going to spell out my system so that users find this from google, as the problem is hard to solve by any other means.

    I used a clean install of Linux Mint 13 (Maya) 64-bit, on a Zotac zbox nano AD12 system. I want any other users to find this article, as its spot on now.

    Thanks again ;O)

  16. Hi Richard.

    Unfortunately, this didn’t work for me. I followed all the steps but there’s still no wireless device found in the Network Manager. Any other suggestions?

    Any assistance is appreciated.

    Thanks

  17. This worked… and then it didn’t. I mean I can technically connect wirelessly now, but my desktop locks up if I do anything. I only got a kernel panic once, but basically my Wireless is still useless on this laptop.

  18. Does it actually work for you? Mine crashes constantly.

  19. try setting your dns setting. look what’s in /etc/resolv.conf. I set it to 8.8.8.8 google dns and works well. however i am still facing some freezes in between.

  20. I found this to be really helpful, I had spent a while trying to get my wifi to work before I came across this page.

    The net result is that I now have a the wifi working.

    Thank you very much.

    P.S. Clearly, if ubuntu wants to go mainstream, it shouldn’t expect the users to compile drivers.

  21. Well, there’s a twist in the tale.
    The machine now frequently crashes. I can’t be certain that the wifi driver is causing the crash, but increasing evidence is pointing in that direction.

    On the screen I see:

    : Kernil panic – not syncing: Fatal exception in interrupt
    : panic occurred, switching back to text console
    : [drm] nouveau 000:01:00.0: no native mode. forcing panel scaling

    Had the following in /var/log/kern.log :

    Dec 4 19:09:49 ubuntu kernel: [ 485.329261] SSDA:(Two) Antenna Configuration
    Dec 4 19:09:49 ubuntu kernel: [ 485.329266] cmbCtrl = 50c0ff00
    Dec 4 19:10:13 ubuntu kernel: [ 509.273353] RT3290_AsicTxAlcGetAutoAgcOffset: Incorrect desired TSSI or current TSSI
    Dec 4 19:10:24 ubuntu kernel: [ 520.226915] CacheVal-OnOff:0, bPCIclkOff:1, WlanFunCtrl:0xff000133
    Dec 4 19:10:24 ubuntu kernel: [ 520.226923] ==> RTMPWlan 0, bPCIclkOff = 1, pAd->WlanFunCtrl.word = 0xff000123
    Dec 4 19:10:24 ubuntu kernel: [ 520.226924] Set INT_MASK_CSR = 0
    Dec 4 19:10:24 ubuntu kernel: [ 520.226932] ==> RTMPWlan 0, bPCIclkOff = 1, WlanFunCtrl.word = 0xff000120
    Dec 4 19:10:24 ubuntu kernel: [ 520.226936] WlanFunCtrl.word = 0xff000120
    Dec 4 19:10:24 ubuntu kernel: [ 520.233963] CacheVal-OnOff:0, bPCIclkOff:1, WlanFunCtrl:0xff000120
    Dec 4 19:10:24 ubuntu kernel: [ 520.233972] ==> RTMPWlan 0, bPCIclkOff = 1, pAd->WlanFunCtrl.word = 0xff000120
    Dec 4 19:10:24 ubuntu kernel: [ 520.233973] Set INT_MASK_CSR = 0
    Dec 4 19:10:24 ubuntu kernel: [ 520.234004] ==> RTMPWlan 0, bPCIclkOff = 1, WlanFunCtrl.word = 0xff000120
    Dec 4 19:10:24 ubuntu kernel: [ 520.234008] WlanFunCtrl.word = 0xff000120
    Dec 4 19:10:24 ubuntu kernel: [ 520.238675] MACVersion=0x32900013
    Dec 4 19:10:24 ubuntu kernel: [ 520.238681] CacheVal-OnOff:1, bPCIclkOff:0, WlanFunCtrl:0xff000120
    Dec 4 19:10:24 ubuntu kernel: [ 520.238690] ==> RTMPWlan 1, bPCIclkOff = 0, pAd->WlanFunCtrl.word = 0xff000120
    Dec 4 19:10:24 ubuntu kernel: [ 520.238692] ==> RTMPWlan 1, bPCIclkOff = 0, WlanFunCtrl.word = 0xff000121
    Dec 4 19:10:24 ubuntu kernel: [ 520.238978] WlanFunCtrl.word = 0xff000123
    Dec 4 19:10:24 ubuntu kernel: [ 520.238990] PllCtrl:0x2695555
    Dec 4 19:10:24 ubuntu kernel: [ 520.240326] RX DESC ffff880036c48000 size = 2048
    Dec 4 19:10:24 ubuntu kernel: [ 520.240680] RTMP_TimerListAdd: add timer obj ffffc90005862d60!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240683] RTMP_TimerListAdd: add timer obj ffffc90005862dd0!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240685] RTMP_TimerListAdd: add timer obj ffffc90005862e40!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240687] RTMP_TimerListAdd: add timer obj ffffc90005862cf0!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240690] RTMP_TimerListAdd: add timer obj ffffc90005862ba0!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240692] RTMP_TimerListAdd: add timer obj ffffc90005862c10!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240694] RTMP_TimerListAdd: add timer obj ffffc9000582cd20!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240696] RTMP_TimerListAdd: add timer obj ffffc9000582cd90!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240698] RTMP_TimerListAdd: add timer obj ffffc9000582cc38!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240700] RTMP_TimerListAdd: add timer obj ffffc9000581bb30!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240702] RTMP_TimerListAdd: add timer obj ffffc9000581bba8!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240705] RTMP_TimerListAdd: add timer obj ffffc9000582cb58!
    Dec 4 19:10:24 ubuntu kernel: [ 520.240708] RTMP_TimerListAdd: add timer obj ffffc9000582ce20!
    Dec 4 19:10:24 ubuntu kernel: [ 520.242720] BBP_R105: BBPR105.field.EnableSIGRemodulation = 1, BBPR105.field.MLDFor2Stream = 0

  22. This problem that is causing the kernel panic is only on Ubuntu 12:10.
    When I used 12:04 instead, it worked fine.

  23. I was very confused until I found this article. Thanks! Worked for me on a hp pavilion g6 and ubuntu 12.10 64-bit

  24. until I got kernel panic :(

  25. Hi!
    Please, help me.

    After install driver for Wi-Fi:
    ———————————-
    sudo apt-get update && sudo apt-get install build-essential linux-headers-generic
    cd ~
    wget http://dl.dropbox.com/u/11876059/DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz
    tar -xvf DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz
    cd ~/DPO_RT3290_LinuxSTA_V2600_20120508
    sudo su
    make
    make install
    exit
    sudo modprobe rt3290sta
    ———————————-

    my notebook is not correct shutdown: shutdown and now boot.

    I check BIOS, no Wake on Lan or other devices

    Before install driver for Wi-Fi notebook shutdown is correct… (((

    Model: HP 4340s
    OS: Ubuntu 12.04.1

  26. These files show up as read only. Won’t let me save edits to config.mk

  27. I did everything by to a T and it worked. Rebooted and wifi kicked on. Did not survive a reboot though :(

  28. Hi! Many thanks! It really works on HP ProBook 4540s with Linux Ubuntu 12.04LTS.

    Note1: “cd DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217″ has to be changed with the correct folder name.

    Note2: At the step “Append the following line: rt3290sta” remove the other line from the text file.

  29. John Wayne

    I do it on SUSE 12.2 – I got a lot of warnings during compiling the source;

    I can config ra0 and all thinks looks like OK, BUT – SUSE 12.2 crashed every time, when I communicate over wlan interface (Download).

    Best regards

  30. Hello,
    I have this error in dmesg
    [ 293.698398] RT3290_AsicTxAlcGetAutoAgcOffset: Incorrect desired TSSI or current TSSI

    How to solve it?

  31. Many thanks for this very helpful post which has helped me get up and running with my HP 4340s. I have a couple of queries, though:

    * When I have wireless enabled, it stops my computer shutting down; it just restarts as soon as I shut down or suspend. Any ideas as to what I might try changing in the in the config.mk? Looks like the same problem as user kot…

    * How do I unload this? I’m getting crashes and I want to rule this out as the culprit. I thought that commenting it out of /etc/modules and then again doing sudo update-initramfs -u would do it… but nope, it still loads…

  32. great work it works fine for me than you very much

  33. Works fine on HP Pavilion g6 with ubuntu 12.04 64-bit.
    Thank You very much!

  34. i have the same issue starting ktorrent any ideas?

  35. thank’s a lot !

  36. Richard, worked great on my HP 650. Thanks for sharing.

  37. Richard, this worked great on my HP Probook 4045s. Thanks a lot!

  38. Thank’s a lot!!!

  39. Many many many thanks :-) works like a charm on a HP Probook 4545s

  40. Thanks a heck lot man, it worked finally………..

  41. This didn’t work for me some reason. I am running Linux Mint 14 and iwconfig still yields no device

  42. same machine same OS.. same error.. :( did you find a fix for this? @d687db339155a81eab7cf8c16d5cd6b6:disqus

  43. Ubuntu 12.04LTS 64-bit – kernel panic when start any browsing. Change kernel to 3.6.6 not helps, some error (( Now I use USB d-link wi-fi. Any ideas?

  44. When I sudo make, it ends with error “rt3562sta.ko” No such file or directory. GOD WHY?! Can someone help me?

  45. it worked for me!
    really appreciated!
    thanks

  46. If you are having trouble with this driver in Ubuntu then I encourage you to visit the following bug report and indicate that the bug affects you:

    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1049466

    I think you will need to register with launchpad to do this, but that’s easy. The more people who say they are affected by the bug, the greater the incentive to fix it.

  47. It worked for me on linux mint 14.! Thank u very much

  48. I have the same issue, i’m trying t follow yours instructions, but whaen I run the “make” command, the following error message appears: “Make error: missing separator – stop”

    in the archive ./os/linux/config.mk
    Note: i did not change or edited this file.

    How i can solve the issue ?

  49. THANKS BRODHER

  50. worked to the letter… Thanks a bunch

  51. Hi. Mint Nadia 14.1 64bit. I followed your suggestions (difference: downloaded from Ralink driver version DPO_RT3290_LinuxSTA_V2600_20120508). Everything seems fine, but when restarting I can only see a dimmed option in Network for ‘wireless’, so useless. What to do again? Thx

  52. Thanks ALOT, this works !!!
    I was just going crazy with Lubuntu 12.04 64bit, on ProBook Hp4740s.

    ps1: Ralink website has moved to http://www.mediatek.com/_en/07_downloads/01-1_windowsDetail.php?sn=5033

    ps2: Be smarter than me : unplug your ethernet cable when trying wifi (just in case you let the LAN/Wireless autoswitch ON in BIOS settings).

  53. Thanks!

  54. I’m having a problem following your instructions. That is, the zip file you have only contains another compressed file, and within that one there’s this file: _2012_0508_RT3290_Linux_STA_v2.6.0.0

    Which is the same as on the new MediaTek website. So, there’s no congif.mk file anywhere, and “cd _2012_0508_RT3290_Linux_STA_v2.6.0″ doesn’t work (although that maybe is because I’m running linux mint; I’m new to using terminals) – if that file should function similarly to DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217(?).

    Am I not seeing something? :-)

  55. on line 11 it was written, #Support for EXT_CHANNEL
    on line 12 :
    HAS_EXT_BUILD_CHANNEL_LIST=n
    I changed it to HAS_WPA_SUPPLICANT=y
    LINE 15:
    #Support features for single SKU
    HAS_SINGLE_SKU_SUPPORT=n
    I changed it to :
    HAS_NATIVE_WPA_SUPPLICANT=y
    I tried and i think upto step 8 everything went right but I have problem in step 9.
    When I executed the command : sudo gedit/etc/modprobe.d/blacklist.conf
    there was an output : command not found.

  56. I got this error after following all these processes:

    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169

  57. Worked wonderfully well. Thanks!

  58. I’m using Ubuntu 12.04 as well, and I still get kernel panics

  59. In addition to Step 5:

    On line 31 you should find the following variable:

    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n

    change it to

    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

    Now it works fine on my HP Sleekbook 15. Thank you very much!

  60. Thank you man. Your solution is way better than updating kernel. It is stable.

  61. Hi,

    I installed the driver for my rl3290 wifi chipset in HP probook 4440s running ubuntu 12.04.2 LTS. However, as soon as the wireless adapter is detected, l get a Kernel panic and system crash. Any solution will be very welcome.

    Mahendra

  62. thanks a lot .

  63. On an HP650 with Windows8 preinstalled and dual boot with 12.04 64bit (UEFI boot) i get kernel panic when trying to use the web browser. How to uninstall the driver?

  64. It doesnt’t work for me.Actually there is no wireless option in network settings.There are only two options wired network and network proxy.I followed the procedure and after restarting nothing changed still there is no wireless option in network settings.

  65. It works fine on HP Pavilion g4-2205la. try insmod instead modprobe :)
    but
    >sudo ifconfig ra0 hw ether xx:xx:xx:xx:xx:xx DOES NOT WORK!
    should I modify linux driver? where?

  66. Excellent! Thanks a lot for saving me (and a lot of us) from sleepless nights. Needless to add, it worked like a charm.

  67. Many thanks! All works!

  68. Thank you so much!!
    I’m a new linux user and i was having lots of trouble with his driver =D

  69. It works!!
    Thank you very much!

  70. Worked like charm.

    HP Envy 17 j010eo

  71. I spent many hours trying to make wifi working on HP ProBook 450, nothing worked until i found your tutorial. Everything is OK now. Many thanks ;)

  72. Thanx so much, this enabled my 3290 wireless card.

    HP pavilion g6-2235tx running
    Debian 7.1, kernel 3.2.0-4-686-pae

  73. i have done the steps mentioned above but still no driver got installed.

  74. Wow after spending 5hrs flexing with wireless not working and searching for solutions in vain, I am truly grateful for sharing with us this working solution cheers

  75. Still I am not getting the wifi drivers even after doing the process also. :(

  76. Same machine, running Kubuntu 12.04 LTS.

    As was mentioned by France Ludovic, the driver download site was moved, and there’s now a newer version:
    * http://www.mediatek.com/_en/07_downloads/01-1_windowsDetail.php?sn=5033

    * DPO_RT3290_LinuxSTA_V2600_20120508
    So the line numbers in config.mk don’t match, and the user tanmay above should look at the text, not the line numbers…
    But really, turning off doesn’t work any more, it always reboots. Similar with sleeping: it awakes immediately. Still investigating…

  77. I have a problem with shutdown. Other than everything seems to work fine. Thanks to this now i can use wireless with my HP probook 450. My problem is when i shutdown the machine it automatically get restarted after about 3-5 seconds. Anyone faced this situation or anyone has any suggestions. Thanks a lot in advance.

  78. my lappy has pre installed reltek wifi driver but it does not works in ubuntu.plz help soon.

  79. Did everything outlined above but I still nothing :(

  80. Just untar the file that comes out using: tar xvf _2012_0508_RT3290_Linux_STA_v2.6.0.0

  81. plz kindly share what change you did in pci_main_dev.c… i am having the same problem…

  82. thankyou so much..it works for me. :)

  83. I got the following error whil installing on linux mint 16
    the driver version is RT3290_LinuxSTA_V2600_20120508
    thanks for help.

    /home/zied/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:71:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
    MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
    ^
    cc1: some warnings being treated as errors
    make[2]: *** [/home/zied/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Error 1
    make[1]: *** [_module_/home/zied/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic’
    make: *** [LINUX] Error 2

  84. thank you very, very much, I spent hours looking for a solution, and at last it works thanks to you!!!

  85. Done with Ralink RT539b / RT 5390 – Compaq CQ58-205sl. Now i restart the system. If the wireless is not running, then i will tell you, also… THANKS!

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>