ubuntu下安装rtl8811cu/rtl8821cu网卡 Tplink WDN5200H网卡

博客园第一篇博客,CSDN现在让人眼花缭乱了 @_@

由于需要wifi调试,笔记本内置的网卡有点不太灵光,买了个TPLINK的WDN5200H AC网卡,给虚拟机用,折腾一下成功了
github上有rtl8821cu/rtl8811cu的驱动和安装方法,但是时间有点久了,新的内核计时器改变了很多,所以驱动已经过时,找到一个新的内核驱动,查看我的资源可以下载,github可以不用资源分下载驱动,如果看官愿意打赏一下我辛苦整理,那就下载一下我的资源吧 https://download.csdn.net/download/daxus/10801673
安装方法仍旧适用

驱动转自 https://github.com/whitebatman2/rtl8821CU

以下安装方法转自githuab MingxuZhang的主页
https://github.com/MingxuZhang/rtl8821cu

How to do
Install driver
copy the whole repo to your PC, enter (your_dir)/rtl8821cu/, open a terminal and type:

make
sudo make install
sudo modprobe 8821cu
the driver installed.

Plug your USB-wifi-adapter into your PC
If wifi can be detected, congratulations. If not, maybe you need to switch your device usb mode by the following steps in terminal:

find your usb-wifi-adapter device ID, like "0bda:1a2b", by type:
lsusb
switch the mode by type: (the device ID must be yours.)
sudo usb_modeswitch -KW -v 0bda -p 1a2b
It should work.

感谢两位作者
---------------------
作者:Daxus Gu
来源:CSDN
原文:https://blog.csdn.net/daxus/article/details/84348308
版权声明:本文为博主原创文章,转载请附上博文链接!

原文地址:https://www.cnblogs.com/gudaxiong/p/10098092.html