5

I bought an ASUS USB-N53 wireless-N Dual-band USB wifi adapter. It does not install on my Ubuntu 11.10 system automatically. I cannot figure out a way to get it installed.

Any advice?

  • I answered your question. Mark it answered or ask for clarification. – Jeff Mar 7 '12 at 3:18
  • @user45763 - has this now been resolved? If so, please click the tick button to close the question. thanks. – fossfreedom Apr 11 '12 at 13:30
3

The driver won't install automatically as of right now, but it's not too bad to get it to work. You'll have to compile the drivers from Ralink, so make sure you have build-essential, linux-headers, and all that good stuff.

  1. Download RT3572USB from http://www.ralinktech.com/en/04_support/license.php?sn=5017
  2. Change to the directory you downloaded to and run

    tar -C . -xf 2011_0427_RT3572_Linux_STA_v2.5.0.0.DPO.bz2
    
  3. Change to the new directory (2011_0427_RT3572_Linux_STA_v2.5.0.0.DPO).

  4. Change HAS_WPA_SUPPLICANT and HAS_NATIVE_WPA_SUPPLICANT_SUPPORT to 'y' in the config.mk file:

    sed -ir -e 's/^HAS_WPA_SUPPLICANT=n/HAS_WPA_SUPPLICANT=y/' -e 's/^HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n/HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y/' ./os/linux/config.mk
    
  5. Add you Vendor and Product ID to the RT2870 supported list:

    sed -ir -e 's!^#endif /* RT2870 */!        {USB_DEVICE(0x0B05,0x179D)}, /* Asus USB-N53 */\n#endif /* RT2870 */!' ./common/rtusb_dev_id.c
    
  6. Update some function names:

    sed -ir -e 's/\tusb_buffer_alloc/\tusb_alloc_coherent/' -e 's/\tusb_buffer_free/\tusb_free_coherent/' include/os/rt_linux.h
    
  7. Install the module:

    make && sudo make install
    
  8. Create a modprobe.d config file to make sure the modules load:

    sudo su -c "echo -e 'alias ra0 rt3572sta\nblacklist rt2800usb' > /etc/modprobe.d/rt3572sta.conf"
    
  9. Now load the module and it should work (did for me):

    sudo modprobe ra0
    

Almost forgot, shamelessly stole (then modified) this info from http://forums.fedoraforum.org/showthread.php?p=1353558

  • 1
    This didn't quite work because of a typo in one of the sed commands ... the #endif // RT2870 // is actually #endif /* RT2870 */. Hence the modification wasn't made and stuff didn't work. But once I figured that out, works well. Thank you very much. Sorry I don't have enough reputation to upvote your answer, so this informal reply must suffice. – user70760 Jun 15 '12 at 8:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.