This script installs the correct Realtek RTL8812AU driver for the ALFA AWUS036ACH USB Wi-Fi adapter using DKMS on Kali Linux (and Debian-based distros). It supports monitor mode, packet injection, and survives kernel upgrades via dkms autoinstall
.
Tested on Kali Rolling with kernel versions 6.8 and above.
- Automatically detects and installs matching kernel headers
- Removes conflicting Realtek driver versions (8812au, 88XXau)
- Installs build tools and DKMS
- Clones the Aircrack-ng rtl8812au driver
- Registers with DKMS to auto-rebuild on future kernel updates
- Loads the
8812au
module and checks for a wireless interface - Fails gracefully if no matching headers are available
- Kali Linux or Debian-based distro
- ALFA AWUS036ACH (Realtek RTL8812AU chipset)
- Internet access (to fetch packages and clone repo)
git clone https://github.com/socalit/install-awus036ach.git
cd install-awus036ach
chmod +x install-awus036ach.sh
sudo ./install-awus036ach.sh