Solve the problem of installing Tenda U12 wireless network card driver on Centos7

Solve the problem of installing Tenda U12 wireless network card driver on Centos7

Solution process:

Method 1:

The default kernel version of CentOS7.3 is lower, which is 3.10.0-514.el7.x86_64.

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

The author tried upgrading the kernel (to 4.1.8), installing modules (8812au.ko), etc., and did it several times and spent several nights, but in the end, failed.

Method 2:

Replaced CentOS7.3 with Ubuntu 18.04.3;

After installing Ubuntu, reboot, the system reports an error message "no such partition" and enters grub rescue.

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

Then copy the driver downloaded from GitHub (https://github.com/gnab/rtl8812au) to the USB drive and unzip it.

Then enter the unzipped directory and execute the following command

$ make
$ sudo insmod 8812au.ko

At this time, click the upper right corner of the screen and select Wireless Network, you can see that many Wi-Fi networks have been successfully displayed! Chicken jelly!

Continue executing the following command:

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

Click the wifi you want to connect to, enter the password, and the connection is successful. ping 223.5.5.5 , success!

reboot Restart the machine. After restart, WiFi can be connected automatically. Great!

Summarize

The above is the editor's introduction to solving the problem of installing Tenda U12 wireless network card driver on Centos7. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • CentOS 7 wireless network card driver installation and wireless network configuration details
  • Detailed explanation of how to install Realtek wireless network card driver in CentOS 6.5
  • Issues with upgrading Python and installing Mongodb drivers under Centos

<<:  The meaning and calculation method of QPS and TPS of MySQL database

>>:  Complete steps to use vue-router in vue3

Recommend

Tutorial on installing mysql5.7.36 database in Linux environment

Download address: https://dev.mysql.com/downloads...

Exploration and correction of the weird behavior of parseInt() in js

Background: I wonder if you have noticed that if ...

Let's talk about the issue of passing parameters to React onClick

Background In a list like the one below, clicking...

In-depth understanding of Vue's plug-in mechanism and installation details

Preface: When we use Vue, we often use and write ...

Solution to 2059 error when connecting Navicat to MySQL

Recently, when I was learning Django, I needed to...

Avoiding Problems Caused by Closures in JavaScript

About let to avoid problems caused by closure Use...

Solution to the problem that Docker container cannot be stopped or killed

Docker version 1.13.1 Problem Process A MySQL con...

JS realizes the scrolling effect of announcement online

This article shares the specific code of JS to ac...

Implementation of running springboot project with Docker

Introduction: The configuration of Docker running...

MySQL performance optimization: how to use indexes efficiently and correctly

Practice is the only way to test the truth. This ...

Use pure CSS to achieve switch effect

First is the idea We use the <input type="...

Solve the problem of docker's tls (ssl) certificate expiration

Problem phenomenon: [root@localhost ~]# docker im...