Repair and reinstall Wifi (Ralink and Realtek) connections

This page is a supplement to the list of drivers for wireless connections that are possible to install. It contains several models Wifi brands Ralink and Realtek. The community contributes to its development, for the modified version, adding more support for future updates.

Note: Brand models usually carry an RT or RTL prefix. To identify if the controller works in Deepin we suggest doing it with a tool with hardinfo (section Kernel modules).

This page is part of the page Frequent problems Deepin. Which encourages selection to new users find possible scenarios that were previously reported and resolved. Please review this selection to cover other aspects of this operating system.

Before performing

It is clear that the writers of this guide are not responsible for damages in the event of an incident because they are based on experiences lived by the collaborators. Especially in the specific drivers not offered by Linux or the official Deepin repositories. Before proceeding, check that the following drawbacks do not exist:

In the vast majority of cases, the Linux kernel has included the brand in the compatible list. It occurs in recent non-LTS versions. If you are willing to update, try doing it manually.

Sometimes, problems may be external signal. Problems with the operator, storm situation, interference, etc. We have This home guide to identify the type of problem.

Make sure the software is not interrupting the connection. Since the web browser may not work due to the network blocker or a firewall; for example, Gufw prevents network access for all programs.

Icono Wifi

Procedures for models Ralink and Realtek

General method

  1. Try installing (or have installed) firmware-misc-nonfreebesidefirmware-ralink or firmware-realtek (Depending on brand).
  2. If not, go to the model in question. If it fails, uninstall the previous package.

RT series (Ralink)


It downloads the package firmware-ralink since Synaptic or the terminal. If it works, you can skip the remaining steps.

RT2400 and RT2500

It is integrated into the kernel. RT2500 information is in the wiki Linux and old forum of SerialMonkey.


  • Download from this repository.
  • Note: You must use the tool to compile with apt install build-essential dkmsThen add the model sudo nano etc/modules and install the tablet.

RTL series (Realtek)


It downloads the package firmware-realtek from Synaptic or terminal. If it works, you can skip the remaining steps.

RTL8101 / 2 / 6E

Alternative name: RTL8106E-2

  • Download controller and execute the file (./
  • Set the MAC address:
    • sudo ifconfig enp3s0 hw ether 00:04:FE:11:22:38
  • Add the line
    • pre-up ifconfig enp3s0 hw ether 00:04:FE:11:22:38
    • In sudo nano /etc/network/interfaces
  • Font: AskUbuntu


  • Install from the terminal: git clone
  • Search the file: cd rtlwifi_new
  • Select this git: git checkout rock.new_btcoex
  • install with make: sudo make install
  • Further reading:


  • Install sudo apt install r8168-dkms
  • Font: AskUbuntu



  • This driver is semidescontinuado and supports the RTL8192CU model.
  • To execute
    • Cloned from the terminal `git clone
    • runs sudo dkms add ./rtl8192cu-fixes
    • installed with sudo dkms install 8192cu/1.10
    • updated sudo depmod -a
    • Add this line if necessary sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/
    • Restart your computer
  • Details are in Github


method 1

  1. Download and install Stacer
  2. After installing the program, run it and go to the meeting Startup Apps.
  3. Click "Add Startup App" and put the name you want
  4. Paste this code: modprobe -r rtl8723be && modprobe rtl8723be ant_sel=1 fwlps=N
  5. And for comments on the second and third
  6. Finished and ready.


method 2

If you have installed the driver rtlwifi-new-dkms, Try uninstalling. Source: AskUbuntu.

other methods

We collected solutions in the corresponding article.


method 1

Compatible with RTL8811AU, RTL8821AU, RTL8812AU, and RTL8814AU

  • Find the deb package from Kali Linux
  • Install the package


method 2

  • This driver is semi-discontinued and supports the 802.11n standard.
  • To execute
    • Cloned from the terminal `git clone
    • runs make (plus information)
    • Check with sudo insmod 8812au.ko. Make sure it is identified by the module nameRealtek 802.11n WLAN Adapter.
    • installed with sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/
    • updated sudo depmod -a
    • Restart your computer
  • Details are in Github

other methods

You can check the page dedicated to RTL8812au.

Explanatory notes

Note: Some steps require certain packages. It may work in some versions of Deepin or the Linux kernel installed. Some steps also apply to other models, but were not tested safely.

Note 2: Before you try all possible options, make a Backup your data. Please.

Note 3: If you want to participate in its development for the Linux kernel, visit official mailing list.

further reading

Tags: ,

Would you recommend this article?