ubuntu新机安装rtl8811-USB-WIFI的驱动
1. 更新源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo gedit /etc/apt/sources.list
把下面的复制进去:
#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. 编译源码安装
sudo apt install git
git clone https://gitee.com/xxJian/rtl8821CU
sudo apt-get install dkms
cd rtl8821cu
方式1是通过dkms安装
sudo ./dkms-install.sh
方式2是编译安装
make -j4
sudo make install
我两种方式都执行了,然后需要重启。重启后发现了网卡正常了。
3. 测试
ubuntu18本身支持多个wifi网卡的。