leeebo / rtl8812AU_linux_tenda_u12_driver

TEST PASS ON ubuntu16.04 kernel 4.4.0-161-generic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

已测试硬件

  1. Tenda U12 (rtl8812au)

ubuntu 16.04 安装步骤

  1. git clone https://github.com/qljz1993/rtl8812AU_linux_tenda_u12_driver.git

  2. make

  3. sudo make install

  4. sudo modprobe 8812au

坑1

(make)编译时提示macro "TIME" might prevent reproducible builds [-Werror=date-time] 解决方法:打开makefile

#将下面这行的注释‘#’去掉
#EXTRA_CFLAGS += -Wno-error=date-time	# Fix compile error on gcc 4.9 and later

坑2

Authentication requested [root] for remove driver:
rmmod: ERROR: Module 8812au is not currently loaded
Authentication requested [root] for insert driver:
insmod: ERROR: could not insert module 8812au.ko: Unknown symbol in module
Authentication requested [root] for install driver:
install -p -m 644 8812au.ko  /lib/modules/4.4.0-161-generic/kernel/drivers/net/wireless/

因该是内核版本的问题,需要修改源文件,使用这位老哥的资源可以 https://download.csdn.net/download/qq_20252351/11222555 感谢!

最新版本请参考rtl8812au-master地址https://github.com/gnab/rtl8812au

ubuntu 18.04 安装步骤

  1. 请参考 https://askubuntu.com/questions/1076771/realtek-0bdaa811-wifi-driver-rtl8812au-on-ubuntu-18-04
  2. 如果遇到 WiFi 可以被扫描到,但是需要重复输入密码的情况 (kernel >= 4.15)

bug 描述

解决方案

sudo apt install git dkms
git clone https://github.com/jeremyb31/rtl8812au-1.git
cd rtl8812au-1
sudo ./dkms-install.sh

使用 sudo dkms status 可以查看是否安装成功

安全引导将需要被禁用。github repo名称有一点误导,因为源代码支持rtl8812au、rtl8814au和rtl8821au

ubuntu 20.04 安装步骤

教程(亲测可用):https://tutorialforlinux.com/2020/01/14/step-by-step-ubuntu-20-04-realtek-rtl8812au-driver-installation-guide/

下载过程请使用

git clone https://github.com/gnab/rtl8812au.git

Monitor mode support

https://github.com/aircrack-ng/rtl8812au

支持 monitor 模式的 wifi adapter/chipset 列表

https://deviwiki.com/wiki/List_of_Wireless_Adapters_That_Support_Monitor_Mode_and_Packet_Injection

About

TEST PASS ON ubuntu16.04 kernel 4.4.0-161-generic


Languages

Language:C 99.6%Language:Makefile 0.4%Language:Shell 0.0%