Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How to install Ralink RT5370 usb cards.

  1. #1

    Talking How to install Ralink RT5370 usb cards.

    First, go to http://www.ralinktech.com/en/04_supp...se.php?sn=5016 and download the driver. You need to put in name and email. I just put in Name: lol email: lol@lol.com. Now extract it to your desktop. You need to probably extract it and extract it again since in the first archive is a tar file. Once you have extracted it, I recommend renaming it to an easier, shorter name like "ralink". Once you are done renaming, you need to open the folder and go to the folder "os" then in to the folder "linux". Once you are in that folder, open "config.mk" with your preferred text editor. ex: gedit... Now, scroll down until you find:
    Code:
    # Support Wpa_Supplicant
    HAS_WPA_SUPPLICANT=n
    Now change the "n" to a "y" (Without quotes of course!)

    Now scroll down again until you find(should be right under last one):
    Code:
    # Support Native WpaSupplicant for Network Maganger
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
    Like before, change "n" to a "y".
    Save.

    Now, we have to blacklist some other conflicting drivers.
    Open Terminal again.
    Type:
    Code:
    sudo gedit /etc/modprobe.d/blacklist.conf
    NOTE: you can open the blacklist file with you preferred text editor besides gedit if you like.
    Scroll down to the very bottom of the blacklist file.
    Type:
    blacklist rt2800usb
    blacklist rt2870sta

    I'm not sure if blacklisting rt2870sta does anything, but I do it just in case.
    Save.
    Reboot. (THIS IS VERY IMPORTANT)

    Once back in at the desktop, open Terminal.
    "cd" to your Desktop.
    Code:
    cd /home/YOURUSERNAME/Desktop
    Replace your "YOURUSERNAME" with your Ubuntu username.
    Once you are "cd" in to your desktop, you need to "cd" again to your ralink folder.
    Code:
    cd ralink
    You can change the name "ralink" to whatever you named the folder.
    Type this:
    Code:
    sudo su
    make clean
    make
    make install
    modprobe rt5370sta
    exit
    During "make", if you get warnings, don't freak out. It's ok. Now, if it worked correctly, Network Manager should be able to find networks and connect to them. Congrats! You got your net working! Now, reboot and see if it works.
    Happy browsing!

  2. #2

    Re: How to install Ralink RT5370 usb cards.

    If this works for anyone else, can a mod sticky it?

  3. #3

    Re: How to install Ralink RT5370 usb cards.

    bump

  4. #4

    Re: How to install Ralink RT5370 usb cards.

    bump.

  5. #5
    Join Date
    Jun 2010
    Beans
    7

    Re: How to install Ralink RT5370 usb cards.

    Worked for me, thanks.

  6. #6
    Join Date
    Jun 2009
    Beans
    45

    Re: How to install Ralink RT5370 usb cards.

    it does not work for me
    Code:
    root@lenchi:/home/parovelb/Namizje/RT3090# make install
    make -C /home/parovelb/Namizje/RT3090/os/linux -f Makefile.6 install
    make[1]: Entering directory `/home/parovelb/Namizje/RT3090/os/linux'
    rm -rf /etc/Wireless/RT2860STA
    mkdir /etc/Wireless/RT2860STA
    cp /home/parovelb/Namizje/RT3090/RT2860STA.dat /etc/Wireless/RT2860STA/.
    install -d /lib/modules/3.2.0-21-generic/kernel/drivers/net/wireless/
    install -m 644 -c rt3090sta.ko /lib/modules/3.2.0-21-generic/kernel/drivers/net/wireless/
    install: statusa »rt3090sta.ko« ni moč ugotoviti s stat: No such file or directory
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/parovelb/Namizje/RT3090/os/linux'
    make: *** [install] Error 2
    root@lenchi:/home/parovelb/Namizje/RT3090# modprobe rt3090sta
    FATAL: Module rt3090sta not found.

  7. #7
    Join Date
    Jun 2010
    Beans
    7

    Re: How to install Ralink RT5370 usb cards.

    Make sure you have gcc installed, and try again. I had the same problem before installing gcc.

  8. #8
    Join Date
    Nov 2006
    Location
    France
    Beans
    11
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to install Ralink RT5370 usb cards.

    Hello,

    I have to add:
    blacklist rt2x00
    in /etc/modprobe.d/blacklist.conf for working.
    To know that I've done:
    modprobe -l | grep wireless

    Thanks

  9. #9
    Join Date
    Dec 2011
    Beans
    28

    Re: How to install Ralink RT5370 usb cards.

    For TP-LINK TL-WN321G v5 (version 5) adapter you have to also edit the file common/rtusb_dev_id.c (in the driver folder) before compiling the driver.

    Read with lsusb, the adapter's ID is f201:5370. To make the driver recognize it, edit rtusb_dev_id.c :

    Within the file find the paragraph that looks like this:

    Code:
    #ifdef RT5370
    	{USB_DEVICE(0x148F,0x5370)}, /* Ralink 5370 */	
    	{USB_DEVICE(0x148F,0x5372)}, /* Ralink 5370 */	
    	{USB_DEVICE(0x13D3,0x3365)}, /* Azurewave */
    	{USB_DEVICE(0x13D3,0x3329)}, /* Azurewave */
    	{USB_DEVICE(0x2001,0x3C15)}, /* Alpha */
    	{USB_DEVICE(0x2001,0x3C19)}, /* Alpha */
    	{USB_DEVICE(0x2001,0x3C1C)}, /* DLink */
    	{USB_DEVICE(0x2001,0x3C1D)}, /* DLink */
    	{USB_DEVICE(0x043E,0x7A12)}, /* Arcadyan */
    	{USB_DEVICE(0x043E,0x7A22)}, /* LG innotek */
    #endif // RT5370 //
    and add the following line:

    Code:
    	{USB_DEVICE(0xF201,0x5370)}, /* TP-LINK TL-WN321Gv5 */
    so it will look like this:

    Code:
    #ifdef RT5370
    	{USB_DEVICE(0x148F,0x5370)}, /* Ralink 5370 */	
    	{USB_DEVICE(0x148F,0x5372)}, /* Ralink 5370 */	
    	{USB_DEVICE(0x13D3,0x3365)}, /* Azurewave */
    	{USB_DEVICE(0x13D3,0x3329)}, /* Azurewave */
    	{USB_DEVICE(0x2001,0x3C15)}, /* Alpha */
    	{USB_DEVICE(0x2001,0x3C19)}, /* Alpha */
    	{USB_DEVICE(0x2001,0x3C1C)}, /* DLink */
    	{USB_DEVICE(0x2001,0x3C1D)}, /* DLink */
    	{USB_DEVICE(0x043E,0x7A12)}, /* Arcadyan */
    	{USB_DEVICE(0x043E,0x7A22)}, /* LG innotek */
    	{USB_DEVICE(0xF201,0x5370)}, /* TP-LINK TL-WN321Gv5 */
    #endif // RT5370 //
    and then compile the driver.

  10. #10
    Join Date
    May 2012
    Beans
    2

    Thumbs up Re: How to install Ralink RT5370 usb cards.

    Start from the first post.

    Thanks heaps it worked for me and i am only a newbie.
    Code:
    sudo su
    make clean
    make
    make install
    modprobe rt5370sta
    exit
    Put the line of code in the terminal one at a time and press enter.I have been trying to fix this for months and now its fully functional.

    I learnt some new things today.

    Thank you

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •