ubuntu18 install rtl8811cu driver

Install the driver of rtl8811-USB-WIFI on ubuntu new machine

1. Update source
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo gedit /etc/apt/sources.list

Copy the following in:

#163源
deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse

2. Compile the source code and install
sudo apt install git
git clone https://gitee.com/xxJian/rtl8821CU
sudo apt-get install dkms
cd rtl8821cu

Method 1 is to install through dkms

sudo ./dkms-install.sh

Method 2 is to compile and install

make -j4
sudo make install

I executed both methods, and then I need to restart. After restarting, the network card was found to be normal.

3. Test that
ubuntu18 itself supports multiple wifi network cards.

Guess you like

Origin blog.csdn.net/qq_27158179/article/details/112139771