Solve the problem of installing Tengda U12 wireless network card driver in Centos7

  • 2021-07-06 12:19:06
  • OfStack

Resolution process:

Method 1:

The default kernel version of CentOS7.3 is lower, 3.10. 0-514. el7.x86_64.

Whether you use the driver provided by Tengda officially or the driver on github (link https://github.com/gnab/rtl8812au), you need to upgrade the kernel.

The author tried to upgrade the kernel (to 4.1. 8), install the module (8812au. ko), etc., and did it several times before and after, tossing for several nights, and finally failed.

Method 2:

Replace CentOS 7.3 with Ubuntu 18.04. 3;

reboot after ubuntu is installed, no such partition is reported as an error when starting up, and grub rescue is entered.

Refer to https://itsfoss.com/solve-error-partition-grub-rescue-ubuntu-linux/to fix the problem;

Then the u disk copies the driver downloaded from github (https://github.com/gnab/rtl8812au), decompresses it,

Then go to the extracted directory and execute the following command


$ make
$ sudo insmod 8812au.ko

At this time, click on the upper right corner of the screen and select wireless network, and you can see that many wifi have been successfully displayed! Chicken jelly!

Continue with the following command:


$ sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
$ sudo depmod

Click on the wifi to be connected, enter the password, and the connection is successful. ping 223.5. 5.5, success!

reboot restarts the machine. After restarting, WiFi can connect automatically. Great!

Summarize


Related articles: