sudo apt-get install dkms
# 编译安装:https://github.com/brektrou/rtl8821CU
git clone https://github.com/brektrou/rtl8821CU
cd rtl8821CU
DRV_NAME=rtl8821CU
DRV_VERSION=5.2.5.3
sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
git archive master | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION}
make
sudo make install
sudo modprobe 8821cu
- 使用
lsusb
命令观察网卡的编号(插拔前后的变化) TL-WDN5200H的编号就是0bda:1a2b