Install ralink linux driver

Onthim

Note: Ubuntu 17.10 has a builtin driver ( rt2800pci) which performs good and usable.

Ralink. RT3290 is a PCIe device which combines 802.11bgn Wi-Fi and Bluetooth 3.0 devices in a single chip. Currently, Linux kernel has experimental support for RT3290 wireless through the module named rt2800pci. The state of this module is such that in many circumstances you will have very weak wireless signals.

Ubuntu 15.04 comes with Linux kernel version 3.19 and the problem of weak RT3290 wireless signals is still prevalent since by default Ubuntu 15.04 will be using Linux kernel rt2800pci module. However, there is a official driver available for Linux from MediaTek for Ralink RT3290 STA wireless device. This driver will fix weak signal and many other problems on Ubuntu 15.04 based distributions. To install this driver simply download the following file and after extracting the file in the Home directory of your Ubuntu, follow the instructions in the ReadMe file inside the extracted RT3290 folder (You may need to shutdown computer and boot again to get it working).

RT3290 Linux Driver (Ubuntu 15.04)

After installing the driver hopefully you will have better wireless experience in your Ubuntu system 🙂

For fedora users, please try the following:

RT3290 Linux Driver

*Updated package for latest Ubuntu based distributions (tested against Ubuntu 17.04). Also suitable for Ubuntu 15.04 based distributions:

RT3290 Linux Driver (Ubuntu 16.04 or latest)

*If you update Linux kernel then you will have to run the following commands from the RT3290_u16 directory to compile and install the driver for new kernel:

./compile.sh
sudo ./install.sh

*If you do not see Wi-Fi network, you may need to activate it manually by executing the following command from RT3290_u16 folder or reboot computer:

sudo ./activate-net-rt

*If you are able to see WIFI interface but can not connect to any WIFI network then you should try wicd Network manager instead of default network manager for connecting to WIFI networks. To do that, on Ubuntu first install wicd network manger by entering following command in the terminal:

Читайте также:  Find all new files linux

sudo apt-get install wicd

and then remove default gnome network manager of Ubuntu by entering following command:

sudo apt-get remove network-manager-gnome

Finally, restart computer and use Wicd Network Manger to connect to WIFI networks.

Cheers

Источник

Установка драйверов для Wi-Fi карт на чипах Ralink RT2870 в Ubuntu 12.04

Установка драйверов для Wi-Fi карт на чипах Ralink RT2870 в Ubuntu 12.04

Драйвера rt2800, установленные в системе Ubuntu 12.04 не совсем корректно работают с Wi-Fi картами на базе чипов Ralink RT2870 (DLink DWA-160rev.B2 и ему подобные) — скорость соединения меньше, чем заявлено в спецификации. Более того, проприетарный драйвер для RT2870 поддерживает ядра linux только до версии 2.6.34, и установка его на Ubuntu 12.04 (а также Ubuntu 11.10) в чистом виде невозможна. Решение следующее:

1. Командой в терминале (CTRL+ALT+T)

смотрим модель нашей карты.

На сайте Ralink выбираем нужный на драйвер: в нашем случае RT2870USB(RT2870/RT2770). Для загрузки в появившемся окне необходимо ввести имя и адрес электронной почты.

2. С помощью Менеджера архивов распаковываем скаченный архив два раза— после первой распаковки Вы опять получите архив; после второй распаковки появится папка с установочными файлами. Перемещаем ее в домашнюю папку и переименовываем для удобства в rt2870.

3. Заходим в папку /rt2870/os/linux/

Открываем в текстовом редакторе файл config.mk и меняем следующие параметры:

# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=n
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n

# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

4.Переходим в папку /rt2870/include/os/

Открываем в текстовом редакторе файл rt_linux.h, находим и переименовываем следующие функции:

  • usb_buffer_alloc() переименовываем в usb_alloc_coherent()
  • usb_buffer_free() переименовываем в usb_free_coherent()

Примечание: в функциях в скобках находятся ее аргументы, поэтому поиском ищем только название функции без круглых скобок!

5. Компилируем и устанавливаем драйвер. Для этого в терминале выполняем следующие команды:

cd ~/rt2870
sudo su
sudo make
sudo make install

активируем драйвер командой:

sudo modprobe -r rt2870sta

6. Добавляем неиспользуемые в дальшейшем драйвера 2800usb 2x00usb в blacklist. Для этого в терминале выполняем:

Читайте также:  Ricoh sp 210 linux

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

в появившемся редакторе в конец файла добавляем следующие строки:

blacklist rt2x00usb
blacklist rt2x00lib
blacklist rt2800usb
blacklist rt2800li

Проверим установку драйвера. Для этого в терминале набираем:

если отображается модуль rt2870sta, то мы все сделали правильно, и через менеджер сети можно установить параметры беспроводного соединения.

Установка драйверов для карт на основе других более новых чипов Ralink производится также кроме пункта 4. Его в драйверах с версии 2.5.0.0 и выше выполнять не нужно.

Источник

I bought an AZTECH WL562USB wireless adapter and am stuck trying to install the driver. The driver file I downloaded is a BZ2, called 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2 How can I install the driver from this bz2 file?

2 Answers 2

I found this workaround that worked for me:

This is how I got my RT5370 usb wifi adapter installed and working on CB2.

  1. download driver archive 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.3_DPO.bz2 (RT8070/RT3070/RT3370/RT5370/RT5372 USB 03/28/2012 2.5.0.3
  2. unpack the archive and navigate into the top level directory just extracted:
tar jxvf 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2 cd 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO 
HAS_WPA_SUPPLICANT=y HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y WFLAGS += -DCONFIG_STA_SUPPORT 
remove "#ifdef DBG" on line 4095 remove "endif /* DBG */" on line 4693 
#define INF_MAIN_DEV_NAME "ra" #define INF_MBSSID_DEV_NAME "ra" 
make sudo make install sudo modprobe rt5370sta 

The CB2 setup program didn’t work for me but the xbmc network manager addon worked perfectly so I downloaded and use that rather than doing it all via the operating system.

I hope this helps someone else trying to get an RT5370 wifi adapter up and running.

Источник

I’m new to Ubuntu. How can i install wifi driver Ralink RT3290 802.11bgn? And please if you can help me step by step 😀 Thank you very much!

i have ubuntu 14.10 and kernel should be latest version, i updateted it. I’m not very good at this. I tried instaling with tutorilas on the internet, but allways something miss. When i try commands make install, it says there are errors

Aren’t the drivers included with Ubuntu? I have a Belkin F7D1101 v2 that uses the same chipset and it has worked fine in Ubuntu 13.10, 14.04. and 14.10.

Highly related and with answers with more “modern” approaches: /questions/756166/rt3290-ralink-driver-in-ubuntu

2 Answers 2

Since Ralink does not patch the driver and the current version does not work, I provided a patched file that you can download and install following this steps

  1. download the patched file from my private Google Drive directory.
  2. open a terminal ( Ctrl + Alt + t ) and cd into the folder where the file is downloaded, e.g. cd ~/Downloads .
  3. type
sudo tar -xvf rt3290sta-2.6.0.0.dkms.tar -C /usr/src 
sudo dkms install -m rt3290sta -v 2.6.0.0 --force 

The patch will work up to kernel version v4.14, it breaks on v4.15 onwards due to the change in the kernel timer implementations.

I cannot believe that a private directory on Google Drive is the only source for that file — even with best intentions it can be dangerous to install it. Please provide a link to some official source.

Yea too bad ralink is not bothered to correct issues and only provides a 2 year old source. I’ve just removed a few errors from ralink’s source. And just downloading the source will surely cause no harm. If you are so skeptical you could go through every line of it. peace

It is not about me. (1) This answer should be useful for a longer time. (2) we certainly don’t expect every user to sift through 4.5 MB of source code (even if you patch consists of only 360 or so lines).

@ThomasSebastian, yes. You need to 1) remove the patched driver from your kernel: sudo dkms remove rt3290sta/2.6.0.0 —all ; 2) remove the patched sources: sudo rm -r /usr/src/rt3290sta-2.6.0.0 ; 3) load the official driver instead of the patched one: sudo rmmod rt3290sta and sudo modprobe rt2x00lib . DISCLAIMER: not tested. The names might be slightly different. You should be able to reboot after the first two steps to make udev pick the official driver automagically.

Источник

Оцените статью
Adblock
detector