Realtek 8812AU/8821AU USB WiFi driver.
for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
A few modifications and updates were made to support newer kernels and compilers. Personally I run a latest fedora box and will do my best to support the latest kernel and gcc compiler.
I forked this code from https://github.com/abperiasamy/rtl8812AU_8821AU_linux
The information below is provided as-is and may be outdated.
* COMFAST 1200Mbps USB Wireless Adapter(Model: CF-912AC)
* TP-LINK AC1200 Wireless Dual Band USB Adapter(Model: Archer-T4U)
* TP-LINK AC600 Wireless Dual Band USB Adapter(Model: Archer-T2U Nano)
# sudo make -f Makefile.dkms install
# CONFIG_PLATFORM_ARM_JET_NANO = y
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
Install kernel headers: https://github.com/notro/rpi-source/wiki
sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update
rpi-source
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 -j4
# sudo make install
# sudo modprobe -a rtl8812au
Install kernel headers
# sudo apt install linux-headers-$(uname -r)
Compile and install from source
# cd /path/to/rtl8812AU_8821AU_linux
# make
# sudo make install
Load module
# sudo modprobe -a rtl8812au
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 /path/to/rtl8812AU_8821AU_linux
# 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
- 赵迤晨 (Zhao, Yichen)
- Adrian Puente Z
- alberto1a
- Alejandro Rodríguez
- Alexander Traud
- Anand Babu (AB) Periasamy
- Andreas Hofmann
- Andrew Mann
- Andrew Plummer
- AndyPi
- Anton
- archshift
- Ben Greear
- bits3rpent
- Brandon Pfeifer
- BS
- C.\ Andy\ Martin
- Chen Minqiang
- choryuidentify
- codarrenvelvindron
- Coleman
- cybersn-tdeyarmin
- Daiki Tamada
- Daniel Keogh
- Fjodor42
- gremsto
- Guy Taylor
- HackDefendr
- Harshavardhana
- hschletz
- IeM
- jAlex
- James Zhao
- Jesper Skov
- jjones-jr
- Joe
- Joe Acosta
- John Lenz
- Jos Dehaes
- Julian Oes
- Karl-Philipp Richter
- Kondratev Pavel
- Marco Milanesi
- masa23
- Masayuki Yamamoto
- Mauro Ribeiro
- Maximilian Schwerin
- MJaoune
- mpoly
- Nicholas George
- Nick Bartos
- Paul DeCarlo
- Peter H. Li
- pgroenbech
- Piotr
- rafaelpierri
- Remax
- Rujak Ironhammer
- Saikrishna Arcot
- sarlacii
- scrivy
- sleicasper
- Stig Palmquist
- Taehan Stott
- thejavascriptman
- Timothy Pearson
- Vicent Llongo
- Victor Azizi
- xyzz
- youcai