}

RTL8812AU on Kali Linux 2026: Monitor Mode & Packet Injection (Kernel 6.14 Guide)

RTL8812AU on Kali Linux 2026: Monitor Mode & Packet Injection

Breaking news (February 2026): The RTL8812AU driver was merged into the mainline Linux kernel in kernel 6.14. Kali Linux 2026.1+ ships with kernel 6.14, meaning RTL8812AU adapters now work out of the box — no DKMS, no compilation required.

The Realtek RTL8812AU chipset powers some of the most popular dual-band USB WiFi adapters for penetration testing, including the TP-Link Archer T4UHP and Alfa AWUS036ACH. Until early 2026, using these adapters on Kali Linux required installing an out-of-tree DKMS driver. That is no longer necessary on kernel 6.14+.

This guide covers both methods:

  • Method A: In-kernel driver (kernel 6.14+ / Kali 2026.1+) — plug and play.
  • Method B: aircrack-ng DKMS driver — for older kernels.

Devices Using the RTL8812AU Chipset

The following adapters use RTL8812AU and benefit from kernel 6.14 support:

Adapter Notes
TP-Link Archer T4UHP High-gain antenna, popular for pentesting
Alfa AWUS036ACH Classic dual-band Alfa, two RP-SMA ports
Alfa AWUS036ACHSV2 Updated version of AWUS036ACH
Edimax EW-7822ULC Compact form factor
D-Link DWA-182 Budget option

Note: The Alfa AWUS036ACHM uses the MT7612U chipset (not RTL8812AU) and has always had native kernel support. See the Best USB WiFi Adapters for Kali Linux 2026 for a full comparison.


Method A: In-Kernel Driver (Kernel 6.14+ / Kali 2026.1+)

Step 1: Check Your Kernel Version

uname -r

If the output shows 6.14 or higher (e.g., 6.14.0-kali1-amd64), you have the in-kernel driver. Skip to Step 3.

If it shows a lower version (e.g., 6.12.x), use Method B below.

Step 2: Update Kali to Get Kernel 6.14

sudo apt update
sudo apt full-upgrade
sudo reboot

After rebooting, verify the kernel version again with uname -r.

Step 3: Plug in the Adapter and Verify Detection

lsusb

Look for a line like:

Bus 001 Device 004: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac

The USB ID 0bda:8812 identifies the RTL8812AU.

Check the kernel loaded the driver:

dmesg | grep rtl8812au

Or check for the interface:

iw dev

You should see a new wireless interface (e.g., wlan0 or wlan1).


Method B: aircrack-ng DKMS Driver (Older Kernels)

If you are running a kernel older than 6.14, install the aircrack-ng maintained DKMS driver.

Option 1: Install from Kali Repository

sudo apt update
sudo apt install realtek-rtl88xxau-dkms

This is the simplest method and installs the aircrack-ng fork of the driver.

Option 2: Compile from Source (Latest Version)

sudo apt update
sudo apt install dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/aircrack-ng/rtl8812au
cd rtl8812au
sudo make dkms_install

Verify the DKMS Driver Loaded

lsmod | grep 88XXau

If it returns output, the driver is loaded. If not:

sudo modprobe 88XXau

Step-by-Step: Enable Monitor Mode on Kali Linux 2026

These steps apply to both Method A and Method B once the adapter is detected.

Step 1: Identify the Interface Name

iw dev

Note the interface name. It will be something like wlan0, wlan1, or wlp0s20f0u1.

Step 2: Kill Interfering Processes

sudo airmon-ng check kill

This stops NetworkManager, wpa_supplicant, and any other process holding the interface. Skipping this step is the most common cause of monitor mode failures.

Step 3: Start Monitor Mode

sudo airmon-ng start wlan0

This creates a monitor-mode interface, typically named wlan0mon.

Step 4: Verify Monitor Mode

iw dev

Look for type monitor in the output for the new interface.


Test Packet Injection

sudo aireplay-ng --test wlan0mon

Expected output:

Trying broadcast probe requests...
Injection is working!
Found 5 APs

If you see Injection is working!, you are ready to use the full aircrack-ng suite.


Using aircrack-ng with RTL8812AU

Scan for Networks

sudo airodump-ng wlan0mon

Capture on a Specific Channel and BSSID

sudo airodump-ng -c 36 --bssid AA:BB:CC:DD:EE:FF -w capture wlan0mon

Note: The RTL8812AU supports 5 GHz, so you can use channels in the 5 GHz range (36, 40, 44, 48, 149, 153, 157, 161).

Send Deauthentication Packets

sudo aireplay-ng -0 5 -a AA:BB:CC:DD:EE:FF wlan0mon

Crack Captured Handshake

sudo aircrack-ng -w /usr/share/wordlists/rockyou.txt capture-01.cap

Troubleshooting

Adapter Not Detected (not in lsusb)

  1. Try a different USB port — USB 3.0 recommended for RTL8812AU.
  2. Check dmesg | tail -20 for USB errors.
  3. Try without a USB hub — some hubs do not supply enough power for high-power adapters.

Monitor Mode Fails After airmon-ng start

# Kill interfering processes again
sudo airmon-ng check kill

# Manually bring the interface into monitor mode
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
sudo ip link set wlan0 up

DKMS Driver Breaks After Kernel Update

When the kernel updates, DKMS modules are rebuilt automatically if the headers are installed:

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

If it still fails, reinstall:

sudo apt install --reinstall realtek-rtl88xxau-dkms

5 GHz Not Working

Some regulatory domains restrict 5 GHz channels. Check:

iw reg get

To set the regulatory domain:

sudo iw reg set US

RTL8812AU vs Other Chipsets

Feature RTL8812AU MT7612U (AWUS036ACHM) AR9271 (AWUS036NHA)
In-kernel driver Yes (6.14+) Yes (all kernels) Yes (all kernels)
5 GHz support Yes Yes No
Max speed 867 Mbps 867 Mbps 150 Mbps
Monitor mode Yes Yes Yes
Packet injection Yes Yes Yes
Driver maturity New in-kernel (2026) Mature Very mature

For a full adapter comparison and buying guide, see Best USB WiFi Adapters for Kali Linux 2026.


Related Tutorials