{"id":20894572,"url":"https://github.com/gnu4cn/rtl8812au","last_synced_at":"2026-04-29T04:03:56.719Z","repository":{"id":94392262,"uuid":"163121970","full_name":"gnu4cn/rtl8812au","owner":"gnu4cn","description":"Bus 002 Device 004: ID 0bda:0811 Realtek Semiconductor Corp.","archived":false,"fork":false,"pushed_at":"2018-12-26T01:43:03.000Z","size":2708,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T12:13:57.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnu4cn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-26T01:17:03.000Z","updated_at":"2018-12-26T01:43:05.000Z","dependencies_parsed_at":"2023-03-07T06:45:57.186Z","dependency_job_id":null,"html_url":"https://github.com/gnu4cn/rtl8812au","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnu4cn%2Frtl8812au","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnu4cn%2Frtl8812au/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnu4cn%2Frtl8812au/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnu4cn%2Frtl8812au/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnu4cn","download_url":"https://codeload.github.com/gnu4cn/rtl8812au/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243278331,"owners_count":20265529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T10:20:11.086Z","updated_at":"2025-12-29T04:05:28.352Z","avatar_url":"https://github.com/gnu4cn.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `0bda:0811 Realtek Semiconductor Corp.` USB无线网卡Linux驱动\n \n\n针对 Ubuntu 18.04(LTS) 的安装，亲测可用，在此贡献出来。\n\n0. 安装`dkms`、`linux-headers`:\n\n\n    ```\n    $sudo apt update\n    $sudo apt full-upgrade\n    $sudo apt install dkms linux-headers-$(unmae -r)\n    ```\n\n1. `git clone git@github.com:gnu4cn/rtl8812au`\n\n2. `cd rtl8812au`\n\n3. `sudo ./dkms-install.sh`\n\n4. `reboot`\n\n# RTL8811AU无线网卡linux驱动安装笔记（Fedora、Ubuntu）\n\n\u003e 原文：[https://blog.csdn.net/zzzzllll2006/article/details/82024679](https://blog.csdn.net/zzzzllll2006/article/details/82024679)\n\n\n最近公司重新布网络，采购了一批无线网卡都是是USB接口的，卡王（Card-king）KW-AC8012 600M双频增强型外置天线USB无线网卡（[https://item.jd.com/7216632.html](https://item.jd.com/7216632.html)），芯片型号是Realtek RTL8811AU的。这款无线网卡要是放在Windows环境下的话，即插即用，不用安装驱动。但是Linux就悲剧了，只能自己编译安装驱动。\n\nUSB网卡自带了一张光盘，光盘里有Linux下的驱动源码，还有安装脚本。但经过尝试，可能是因为编译器版本问题，无法编译出驱动文件，只能再想其他办法。\n\n于是网上找了不少第三方的驱动，但无一例外，编译失败或者是无法驱动。最后找到了几篇比较有参考意义的文章，折腾了一下，重要可以用了。参考文章如下：\n\n参考1：[https://blog.csdn.net/jerry_sc/article/details/76407673](https://blog.csdn.net/jerry_sc/article/details/76407673)\n\n\n参考2：[https://dustymabe.com/2016/01/24/802.11ac-on-linux-with-netgear-a6100-rtl8811au-usb-adapter/](https://dustymabe.com/2016/01/24/802.11ac-on-linux-with-netgear-a6100-rtl8811au-usb-adapter/)\n\n\n参考3：[https://github.com/paspro/rtl8812au](https://github.com/paspro/rtl8812au)\n\n我的编译、安装步骤主要参考 [https://blog.csdn.net/jerry_sc/article/details/76407673](https://blog.csdn.net/jerry_sc/article/details/76407673)，并做部分修改。\n\n1. 首先，升级系统，安装内核头文件\n\nUbuntu下命令行如下（我用的Elementary，基于Ubuntu，所以操作一样）：\n\n```\n$ sudo -i\n# apt-get update\n# apt-get upgrade\n# apt-get install dkms linux-headers-$(uname -r)\n```\n\nFedora下相应的命令是：\n\n```\n# dnf install -y dkms kernel-devel-$(uname -r)\n# systemctl enable dkms\n```\n\n2. 去GitHub下载驱动源码。下载 [https://github.com/paspro/rtl8812au](https://github.com/paspro/rtl8812au)  （已失效）提供的源码 `v5.1.5` 版本，只有这个版本亲测可用，其他版本都有问题！！！你可以安装 `git` 命令，也可以在网页上下载，都行。虽然源码显示的是 `RTL8812AU` 型号无线网卡的驱动，但 `RTL8811AU` 也一样可以用。CSDN 上我也放了一份： [https://download.csdn.net/download/zzzzllll2006/10625455](https://download.csdn.net/download/zzzzllll2006/10625455)。\n\n\n3. 编译安装驱动。下载下来的源码里有个文件 `dkms-install.sh`，本以为直接执行脚本，就完成了，可是却出现了多个奇怪的错误，仔细检查发现，原来是脚本作者在拷贝驱动源文件的时候写错了路径，修改一下就OK了。\n\n```\ncp -r ../${DRV_DIR} /usr/src/${DRV_NAME}-${DRV_VERSION}\n```\n\n这一句修改成下面的，这样进入源码目录，`sudo ./dkms-install.sh` 即可。\n\n```\nmkdir /usr/src/${DRV_NAME}-${DRV_VERSION}\ncp -r . /usr/src/${DRV_NAME}-${DRV_VERSION}\n```\n\n经过测试，GitHub上的牛人给出的驱动兼容性挺好，Ubuntu、Elementary、Fedora 都可以用，还挺稳定的。\n\n作者：zzzzllll2006 \n\n来源：CSDN \n\n原文：https://blog.csdn.net/zzzzllll2006/article/details/82024679 \n\n版权声明：本文为博主原创文章，转载请附上博文链接！\n\n# Realtek RTL8812AU Driver\n\n## DKMS\nThis driver can be installed using [DKMS](http://linux.dell.com/dkms/). This is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the `dkms` package, which on Debian (based) systems is done like this:\n```\nsudo apt install dkms\n```\n\n## Installation of Driver\nIn order to install the driver open a terminal in the directory with the source code and execute the following command:\n```\nsudo ./dkms-install.sh\n```\n\n## Removal of Driver\nIn order to remove the driver from your system open a terminal in the directory with the source code and execute the following command:\n```\nsudo ./dkms-remove.sh\n```\n\n## Note\nFor Ubuntu 17.04 add the following lines\n```\n[device]\nwifi.scan-rand-mac-address=no\n```\nat the end of file /etc/NetworkManager/NetworkManager.conf and restart NetworkManager with the command:\n```\nsudo service NetworkManager restart\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnu4cn%2Frtl8812au","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnu4cn%2Frtl8812au","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnu4cn%2Frtl8812au/lists"}