mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-08-16 08:34:15 +02:00
I wrote this bash script to automate the process of compiling and install this driver on Ubuntu Xenial, but the script is usable as is (or with minor tweaks) on pretty much any Debian based distro. I thought it might be a useful tool, especially for novice linux users, either as a no-brain install method, or as a guide to demonstrate the steps for installing the driver. I added some comments to explain what each group of commands does. I realize this might be just be clutter for the project, but I thought I would push it and let you decide if it would be useful or not. Thanks for all the hard work on this driver, it is much appreciated!
rtl8812AU_8821AU_linux
rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
Compiling on Ubuntu 16.04
cd
into folder.
# sudo make
# sudo make install
Compiling with DKMS
# 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
Compiling for Raspberry Pi
Install kernel headers and other dependencies.
# sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv 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_8821AU_linux
# sudo make clean
# sudo make
# sudo make install
# sudo modprobe -a 8812au
Contributors
- Anand Babu (AB) Periasamy
- Andreas Hofmann
- Andrew Mann
- AndyPi
- Anton
- archshift
- bits3rpent
- Chen Minqiang
- Daiki Tamada
- HackDefendr
- Harshavardhana
- Joe Acosta
- John Lenz
- Karl-Philipp Richter
- Marco Milanesi
- mpoly
- pgroenbech
- scrivy
- Vicent Llongo
- Victor Azizi
Languages
C
97.9%
C++
1.2%
Makefile
0.5%
Objective-C
0.4%