这是一篇给小白看的使用说明,具体的编译构建指南请查阅README-Original-en.md
这里以Ubuntu 20.04LTS作为演示
安装git
、gcc
、make
、bc
、linux-header或者kernel-devel
。
如果你的系统的包管理系统没有抽风的话linux-header或者kernel-devel
应该会在安装前面4项的时候自动帮你安装好了。
sudo apt install gcc g++ build-essential git dkms
常规做法:
git clone https://github.com/chemicalfiber/rtl8821CU.git
如果你在**大陆地区或网络环境不佳:
git clone https://ghproxy.com/https://github.com/chemicalfiber/rtl8821CU.git
或者: 点我直接下载源码zip
你需要手动解压下载后的zip包。
在终端中逐条输入下列命令:
cd rtl8821CU
chmod +x dkms-install.sh
sudo ./dkms-install.sh
sudo modprobe 8821cu
reboot
如果你也是使用Ubuntu 20.04LTS,你可以在右上角的快捷设置菜单中看到多出来一项USB 无线网络 未连接
,这项便是成功驱动之后的USB网卡,使用它连接到你的无线网络吧。
在Gnome的无线网络设置页面中,如果你先前也有内置的PCI无线装置,那么Gnome一般不会默认显示你的USB网络设置,它会在设置窗口上方显示为Realtek 无线网络
。