CentOS8中如何支持TL

您所在的位置:网站首页 windows10如何使用无线网卡 CentOS8中如何支持TL

CentOS8中如何支持TL

2023-08-21 12:04| 来源: 网络整理| 查看: 265

今日在笔记本电脑ThinkBook 14 IML接入TP-LINK的TL-WDN7200H AC 1900双频高增益无线USB网卡,支持2.4GHz 600Mbps+5GHz 1300Mbps。

Windows10是免安装驱动直接可以支持的。但在CentOS Linux 8系统却遇到了麻烦,并无相关驱动支持,无法使用。

查看当前内核版本:

[root@centos ~]# uname -aLinux centos 4.18.0-147.6.el8.x86_64 #1 SMP Tue Oct 15 15:19:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

注意:要记住版本号4.18.0,稍后编译时修改代码要用。

寻思想通过自行编译驱动来解决,先要找到芯片厂商型号。

列出USB:

[root@centos ~]# lsusbBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 005: ID 5986:2113 Acer, Inc Bus 001 Device 004: ID 27c6:55a4 Bus 001 Device 003: ID 18f8:1286 [Maxxter] Bus 001 Device 002: ID 2357:0106 TP-Link Bus 001 Device 006: ID 8087:0aaa Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

看到Bus 001 Device 002: ID 2357:0106 TP-Link,提取ID 2357:0106,查找信息得知是无线USB网卡芯片厂商是realtek,型号是8814au。

在github找到Realtek 8814AU USB WiFi driver,下载编译。

注意:要找到这个版本rtl8814au v4.3.21_17997.20160531,不要找最新版本。

编译出现第一个错误:

/tmp/rtl8814au/os_dep/linux/os_intfs.c:914:22: error: initialization of ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device *, u16 (*)(struct net_device *, struct sk_buff *, struct net_device *))’ {aka ‘short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *, short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *))’} from incompatible pointer type ‘u16 (*)


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3