Alfa AWUS036AC USB WiFi Essentials

Ubuntu Logo

Alfa AWUS036AC USB WiFi Essentials

Specifications

  • Chipset = Realtek RTL8812AU
  • WiFi Standards = IEEE 802.11ac/a/b/g/n
  • WiFi Frequency = Dual Band 2.4GHz or 5GHz
  • Antenna Connector = RP-SMA female x 2
  • Antenna Type = 2.4G/5GHz Dual-Band 5dBi dipole antenna
  • Wireless Performance =
    • 802.11a: up to 54Mbps
    • 802.11b: up to 11Mbps
    • 802.11g: up to 54Mbps
    • 802.11n: up to 300Mbps
    • 802.11ac: up to 867Mbps
  • Wireless Security =
    • 64/128 bit
    • WEP
    • WPA/WPA2,WPA-PSK/WPA2-PSK
    • WPS
  • Interface = USB 3.0

Setup on Ubuntu 22.04

Remove Default Driver

sudo apt remove rtl8812au-dkms

Install Pre-Requsites

sudo apt install build-essential linux-headers-$(uname -r) dkms

Downloading Realtek RTL8812au Source

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

Building

If you are building on x86 there is no need to make any adjustments.
If you are buildig on a Raspberry Pi see the Raspberry Pi Build section.

cd rtl8812au
make
sudo insmod 8812au.ko

Installing

sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless

sudo depmod

echo 8812au | sudo tee - /etc/modules

DKMS Setup

sudo mkdir /usr/src/8812au-4.2.3

sudo cp -r ./* /usr/src/8812au-4.2.3

sudo dkms add -m 8812au -v 4.2.3
sudo dkms build -m 8812au -v 4.2.3
sudo dkms install -m 8812au -v 4.2.3

Reboot

sudo reboot

Setup on Raspberry Pi OS

Tested on bullseye confirmed to work.

sudo apt update
sudo apt upgrade
sudo apt install raspberrypi-kernel-headers
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
make
sudo make install
find /lib/modules/`uname -r`/ -name "88XXau.ko"
  • https://docs.alfa.com.tw/Support/Linux/RTL8812AU/