Ralink Rt2870 Driver

Posted : admin On 12/26/2021
  1. Ralink Rt2870 Driver Linux
  2. Ralink Rt2870 Driver Kali Linux

This is a HowTo about getting a Ralink RT2870 WLAN USB Stick on a Siemens Fujitsu PI 3645 with (K)Ubuntu 8.10 64bit (Intrepid Ibex) to work. The native Linux driver provided by Ralink Technology is being used.

I recently bought a Siemens Fujitsu Desktop PC PI 3645 and was really amazed that nearly all hardware was working out of the box with Kubuntu 8.10 64bit.

However the built-in WLAN adapter was not working. It showed up that it is a Ralink RT2870 USB Stick, somehow integrated although I haven’t found it yet.

Ralink Rt2870 Driver

The driver I used is TL-WN823NEUUSV2V3170913Mac. The site provides drivers for other macOS's also. Both TL-WN823N and DWA-131 work with this driver. Do NOT RESTART immediately after the driver installation is completed. Run Kext Utility first. Vendor: Product: Chipset: USB Vendor: USB Product: MaxPower: Airlink101: AWLL6070: RT2770+RT2720: 0x14b2: 0x3c27: Airlink101: AWLL6080: RT2870+RT2820: 0x14b2: 0x3c23.

Free drivers for Ralink RT2870. Please select the driver to download. Additionally, you can choose Operating System to see the drivers that will be compatible with your OS. There's a ppa repo for this - MT7601 STA driver. I have tested it for RT2870 driver and it worked for me. Plug your USB adapter in and run the following commands: sudo add-apt-repository ppa:thopiekar/mt7601 sudo apt-get update sudo apt-get install mt7601-sta-dkms.

My first try to get it working was with ndiswrapper. But I didn’t have a 64 bit Windows driver at hand, so I decided to use the original Linux driver provided by Ralink Technology.

The following posts have been of good use to me, still they have been a way too complicated or did not describe the way I got it working: “Followup on the Belkin F5D8053 and Ubuntu”, “Install linux drivers for ralink rt2870” or “rt2870”.

UPDATE (2009/10/02): The links to the official Ralink drivers have been updated as version of the driver package was released in Aug 2009. Still this version was not tested by me but I am happy if you leave a comment about your experiences.

Now let’s get started:

1.) First thing is to prepare the system for the driver compilation. Therefore it is needed to install certain tools and the headers of the running kernel:

  • sudo apt-get install build-essential linux-headers-`uname -r`

2.) Now the source for the Linux driver needs to be downloaded from the Linux support page of Ralink Technology.

  • Download this package (alternative mirror):
    wget http://www.ralinktech.com/license_us.php?n=2&p=0&t=U0wyRnpjMlYwY3k4eU1EQTVMekV5THpFMUwyUnZkMjVzYjJGa05UYzBNVFExTkRNNU5TNWllakk5UFQxU1ZESTROekJmVEdsdWRYaFRWRUZmVmpJdU15NHdMakF1ZEdGeUxuUmhjZz09Qw%3D%3D
  • Extract it somewhere:
    tar xvfj RT2870_LinuxSTA_V2.3.0.0.tar.tar.bz2

3.) Now the support of wpa_supplicant should be enabled in the file os/linux/config.mk of the driver package.

  • Open the file with your favorite text editor, for example GNU Emacs:
    emacs os/linux/config.mk
  • Change the following attributes from “no (=n)”:

    # Support Wpa_Supplicant

    # Support Native WpaSupplicant for Network Maganger

    … to value “yes (=y)”:

    # Support Wpa_Supplicant

    # Support Native WpaSupplicant for Network Maganger

4.) Afterwards the driver needs to be build and installed. Make sure to execute both commands in the root of the driver package and with superuser privileges:

  • sudo make
  • sudo make install
Ralink rt2870 driver windows 8.1

5.) Last thing is to add this driver to /etc/modules so that it is loaded automatically every time the system is rebooted.

  • Open the file with your favorite text editor, for example GNU Emacs:
    emacs /etc/modules
  • Add the following line:

    (others reported that they had only success by adding “alias ra0 rt2870sta“)

6.) If you do not want to reboot your machine, you should execute the following two lines with superuser privileges to load the driver and to integrate it in your networking configuration:

  • sudo modprobe rt2870sta
  • sudo /etc/init.d/networking restart

Now in my case with Kubuntu the KNetworkManager came up and listed me all available WLAN networks. Even without wpa_supplicant I was able to connect to my WPA2 encrypted network as KNetworkManager seems to have build-in WPA2 support.