Skip to content
rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
Branch: master
Clone or download
alberto1a and harshavardhana Update usb_intf.c (#297)
Modify  from         {USB_DEVICE(0x2001, 0x3318),.driver_info = RTL8821}, /* D-Link - Cameo */
To                        {USB_DEVICE(0x2001, 0x3318),.driver_info = RTL8821}, /* D-Link - dwa172 */
Latest commit 99fbe64 Jun 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contrib update driver module name to rtl8812au Oct 9, 2016
core Openwrt and new compiler related fixes (#285) Mar 8, 2019
hal Fix timers (#244) Feb 13, 2018
include Openwrt and new compiler related fixes (#285) Mar 8, 2019
os_dep Update usb_intf.c (#297) Jun 18, 2019
platform merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160 Oct 9, 2016
.gitignore a common ..gitignore for kernel module source Oct 9, 2016
.mailmap update email Sep 8, 2015
CONTRIBUTORS.md merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160 Oct 9, 2016
Kconfig merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160 Oct 9, 2016
LICENSE Initial commit Sep 4, 2013
Makefile Openwrt and new compiler related fixes (#285) Mar 8, 2019
Makefile.dkms merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160 Oct 9, 2016
README.md Update README.md (#296) Jun 1, 2019
clean initial import of rtl8812AU_8821AU_linux_v4.2.2_7502.20130517 Sep 4, 2013
contributors.sh merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160 Oct 9, 2016
dkms.conf merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160 Oct 9, 2016
fetch.sh added fetch.sh May 8, 2015
ifcfg-wlan0 merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160 Oct 9, 2016
runwpa initial import of rtl8812AU_8821AU_linux_v4.2.2_7502.20130517 Sep 4, 2013
wlan0dhcp initial import of rtl8812AU_8821AU_linux_v4.2.2_7502.20130517 Sep 4, 2013

README.md

rtl8812au

Realtek 8812AU/8821AU USB WiFi driver.

for AC1200 (801.11ac) Wireless Dual-Band USB Adapter

This code is base on version 4.3.14 from https://github.com/diederikdehaas/rtl8812AU

Known Supported Devices:

* COMFAST 1200Mbps USB Wireless Adapter(Model: CF-912AC)
* TP-LINK AC1200 Wireless Dual Band USB Adapter(Model: Archer-T4U)

Compiling with DKMS

# sudo make -f Makefile.dkms install

Compiling for Raspberry Pi

Install kernel headers and other dependencies.

# sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv raspberrypi-kernel-headers dkms build-essential bc

Append following at the end of your /boot/config.txt, reboot your Pi

kernel=vmlinuz-3.10-3-rpi
initramfs initrd.img-3.10-3-rpi followkernel

Edit Makefile and turn on CONFIG_PLATFORM_ARM_RPI, turn off CONFIG_PLATFORM_I386_PC

CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y
# cd /usr/src/rtl8812au
# sudo make clean
# sudo make
# sudo make install
# sudo modprobe -a rtl8812au

Compiling for Ubuntu (16.04) and Debian (9)

Download archive into temp directory

# mkdir -p /tmp/t4u
# cd /tmp/t4u
# wget https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip

Unzip

# unzip master.zip
# cd rtl8812AU_8821AU_linux-master

Install kernel headers

# sudo apt install linux-headers-$(uname -r)

Compile and install from source

# make
# sudo make install

Load module

# sudo modprobe -a rtl8812au

Cross-compiling. You can now specify variables on the command line w/out editing

makefile. For instance, this builds against recent OpenWRT neo2 platform. Your

Cross-compile binaries should be in your PATH.

KSRC=/home/greearb/git/openwrt-neo2-dev/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/linux-4.14.78 EXT_EXTRA_CFLAGS=-DCONFIG_LITTLE_ENDIAN ARCH=arm64 CROSS_COMPILE=aarch64-openwrt-linux- MODDESTDIR=/tmp make V=1

Setup DKMS

# sudo apt-get update
# sudo apt-get install dkms
# cd /tmp/t4u/rtl8812AU_8821AU_linux-master/
# sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0
# sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0
# sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0
# sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0

Contributors

  • Anand Babu (AB) Periasamy
  • Andreas Hofmann
  • Andrew Mann
  • AndyPi
  • Anton
  • archshift
  • bits3rpent
  • Chen Minqiang
  • Daiki Tamada
  • Fjodor42
  • gremsto
  • HackDefendr
  • Harshavardhana
  • jjones-jr
  • Joe
  • Joe Acosta
  • John Lenz
  • Jos Dehaes
  • Karl-Philipp Richter
  • Marco Milanesi
  • Mauro Ribeiro
  • Maximilian Schwerin
  • mpoly
  • Nick Bartos
  • Peter H. Li
  • pgroenbech
  • scrivy
  • Taehan Stott
  • Vicent Llongo
  • Victor Azizi
  • 赵迤晨 (Zhao, Yichen)
You can’t perform that action at this time.