linux 命令我记得不多 我只是把过程记录下来
1.查看
lsusb
显示
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04ca:00ac Lite-On Technology Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
红色部分就说明无线网卡是RTL8812AU芯片
2.查看内核
cat /proc/version
显示
Linux version 5.3.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP deepin 5.3.15-6apricot (2020-04-13)
3.找驱动
https://github.com/gnab/rtl8812au
看到作者写到
2019-07-11: Updated to compile against kernel 5.2
4.下载驱动
先安装git
sudo apt install git
克隆代码
git clone https://github.com/gnab/rtl8812au.git
进入代码目录
cd rtl8812au
sudo make
等它自己make会有很多警告
sudo make install
sudo modprobe 8812au
这样你无线网卡就装上了
1.查看
lsusb
显示
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04ca:00ac Lite-On Technology Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
红色部分就说明无线网卡是RTL8812AU芯片
2.查看内核
cat /proc/version
显示
Linux version 5.3.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP deepin 5.3.15-6apricot (2020-04-13)
3.找驱动
https://github.com/gnab/rtl8812au
看到作者写到
2019-07-11: Updated to compile against kernel 5.2
4.下载驱动
先安装git
sudo apt install git
克隆代码
git clone https://github.com/gnab/rtl8812au.git
进入代码目录
cd rtl8812au
sudo make
等它自己make会有很多警告
sudo make install
sudo modprobe 8812au
这样你无线网卡就装上了
sudo