
- Yopitek Ltd/
- Blog/
- ALFA AWUS036AXER Driver Install Guide for China: Kali Linux, Ubuntu, Debian & Raspberry Pi/
ALFA AWUS036AXER Driver Install Guide for China: Kali Linux, Ubuntu, Debian & Raspberry Pi
Table of Contents
The AWUS036AXER is ALFA’s WiFi 6 nano adapter — a compact dongle designed to stay plugged into a laptop permanently. Its RTL8832BU chip is supported by the in-kernel rtw89_8852bu driver on Linux kernel 6.17 and newer (for example Ubuntu 24.04 HWE / kernel 6.17) — plug-and-play, no compile. Only on older kernels (below 6.17) do you build the community rtl8852bu driver once with DKMS. This guide covers both. The driver source is cloned from the verified GitHub repository; if GitHub is slow, use a proxy or mirror you trust.
Security research note: With the in-kernel rtw89_8852bu driver on kernel 6.17+, AWUS036AXER’s monitor mode and packet injection work in testing (Ubuntu 24.04 / kernel 6.17: 2.4GHz injection 73%, end-to-end WPA .22000). Only on older kernels using the community DKMS driver is monitor support limited. Check
uname -rfirst. Only on networks you own or are authorized to test.
Range note: The AWUS036AXER has an integrated non-removable antenna. For security research, adapters with external RP-SMA antennas (AWUS036ACH, AWUS036ACM) provide significantly better range.
Before You Start#
- ALFA AWUS036AXER adapter
- USB-A cable
- Active internet connection
lsusbLook for a line like this (example output; the vendor ID is always 0bda, and the product ID is 8832 or 885a depending on the unit):
Bus 001 Device 003: ID 0bda:885a Realtek Semiconductor Corp.Choose Your Operating System#
Kali Linux#
Step 1: Switch to China Mirror#
sudo nano /etc/apt/sources.listdeb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free non-free-firmwaresudo apt updateStep 2: Install Build Dependencies#
sudo apt install -y build-essential dkms bc iw git linux-headers-$(uname -r)Step 3: Clone Driver from GitHub#
git clone https://github.com/morrownr/rtl8852bu-20250826.git
cd rtl8852bu-20250826NOTE: The maintained upstream driver is morrownr/rtl8852bu-20250826. If GitHub is slow, use a proxy or mirror you trust. You can also download archives from files.alfa.com.tw.
Step 4: Compile and Install#
sudo ./install-driver.sh
sudo rebootVerify the driver loaded:
lsmod | grep 8852bu
iwconfigStep 5: Enable Monitor Mode#
Works on kernel 6.17+: With the in-kernel rtw89_8852bu driver, monitor mode works:
sudo nmcli dev set wlxXXXX managed no sudo ip link set wlxXXXX down sudo iw dev wlxXXXX set type monitor sudo ip link set wlxXXXX upOn older kernels using the community DKMS driver, monitor support may be limited — there you can switch to an in-kernel MediaTek adapter such as the AWUS036ACM.
Step 6: Test Packet Injection#
Works on kernel 6.17+: After entering monitor mode, test injection with aireplay-ng (73% on 2.4GHz in testing):
sudo iw dev wlxXXXX set channel 6 sudo aireplay-ng --test wlxXXXXOnly on networks you own or are authorized to test. On older kernels where the community DKMS driver lacks monitor mode, injection is unavailable too.
Ubuntu 22.04 / 24.04#
Ubuntu 24.04 (Noble)#
On Ubuntu 24.04, only an HWE kernel 6.17 or newer (e.g. the 24.04.4 HWE) includes the in-kernel rtw89_8852bu driver — just plug in, no build needed. On the GA kernel 6.8 or the HWE kernel 6.14 (neither includes this driver), switch to a domestic mirror and build the community driver as for Ubuntu 22.04 below, or upgrade to an HWE kernel 6.17 or newer to get the in-kernel driver.
sudo nano /etc/apt/sources.list.d/ubuntu.sourcesTypes: deb
URIs: http://mirrors.aliyun.com/ubuntu/
Suites: noble noble-updates noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpgsudo apt update
sudo apt install -y build-essential dkms git linux-headers-$(uname -r)
git clone https://github.com/morrownr/rtl8852bu-20250826.git
cd rtl8852bu-20250826
sudo ./install-driver.sh
sudo rebootAfter the reboot, run sudo modprobe 8852bu and iwconfig. If the module loads and an interface appears, you are done (this is the community DKMS driver path for older kernels, where monitor support may be limited; on kernel 6.17+ the in-kernel rtw89_8852bu is used and monitor mode and injection work).
Ubuntu 22.04 (Jammy) — DKMS required#
sudo nano /etc/apt/sources.listdeb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiversesudo apt update
sudo apt install -y build-essential dkms git linux-headers-$(uname -r)
git clone https://github.com/morrownr/rtl8852bu-20250826.git
cd rtl8852bu-20250826
sudo ./install-driver.sh
sudo rebootDebian#
sudo nano /etc/apt/sources.listdeb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmwaresudo apt update
sudo apt install -y git build-essential dkms linux-headers-$(uname -r)
git clone https://github.com/morrownr/rtl8852bu-20250826.git
cd rtl8852bu-20250826
sudo ./install-driver.sh
sudo rebootThis community DKMS driver path applies to kernels older than 6.17, where monitor support may be limited (see Kali Step 5). On kernel 6.17+ the in-kernel rtw89_8852bu driver is used and monitor mode works.
Raspberry Pi 4B / 5#
Switch to China mirror first:
sudo nano /etc/apt/sources.listdeb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free non-free-firmwaresudo apt update && sudo apt full-upgrade -y
sudo apt install -y git bc dkms build-essential raspberrypi-kernel-headers
git clone https://github.com/morrownr/rtl8852bu-20250826.git
cd rtl8852bu-20250826
sudo ./install-driver.sh
sudo rebootVirtual Machine USB Passthrough#
VirtualBox#
- Settings → USB → Enable USB 3.0 (xHCI).
- Add filter: Realtek (Vendor ID: 0bda, Product ID: 8832 or 885a).
- Start VM →
lsusbto confirm → follow Kali steps.
VMware#
- Virtual Machine → USB & Bluetooth → Find Realtek RTL8832BU → Connect.
lsusbto confirm → follow Kali steps.
Frequently Asked Questions
What chipset does AWUS036AXER use? Is it the same as AWUS036AX?
Same Realtek RTL8832BU chipset with WiFi 6 support, but in a smaller, more portable form factor.
Does AWUS036AXER need a driver on Ubuntu 24.04?
It depends on your kernel. Linux kernel 6.17 and newer (for example Ubuntu 24.04 HWE / kernel 6.17) ships the in-kernel rtw89_8852bu driver — plug-and-play, no DKMS. Only on kernels older than 6.17 do you build the community rtl8852bu driver (morrownr/rtl8852bu-20250826) once via DKMS. Check with uname -r first.
Is AWUS036AXER suitable for wireless security research?
Yes. With the in-kernel rtw89_8852bu driver on kernel 6.17+, monitor mode and packet injection both work in our testing (Ubuntu 24.04 / kernel 6.17: injection 73% on 2.4GHz, and an end-to-end WPA .22000 capture). Note: on older kernels using the community DKMS driver, monitor support may be limited. Only on networks you own or are authorized to test.
What is the USB ID of AWUS036AXER?
The Realtek RTL8832BU vendor ID is 0bda. The product ID is 8832 or 885a depending on the unit, so confirm yours with lsusb.
Do I need a VPN to install AWUS036AXER in China?
Not necessarily. Clone the driver from the verified GitHub repository (morrownr/rtl8852bu-20250826); if GitHub is slow, use a proxy or mirror you trust. Build tools can still be installed from domestic mirrors.
Troubleshooting#
| Problem | Likely Cause | Fix |
|---|---|---|
lsusb doesn’t show 0bda:8832 or 0bda:885a | Adapter not detected | Try different USB port |
install-driver.sh fails | Missing headers | sudo apt install linux-headers-$(uname -r) |
| GitHub clone fails or is slow | Network issue | Use a proxy or mirror you trust |
modprobe 8852bu fails | Driver not built or not loaded | Re-run sudo ./install-driver.sh, check sudo dkms status, then reboot |
| Monitor mode / injection does not work | Kernel older than 6.17 using the community rtl8852bu DKMS driver (monitor support may be limited) | Check uname -r; use kernel 6.17+ (in-kernel rtw89_8852bu), or AWUS036ACM on older kernels |
Note on VIF: The RTL8832BU out-of-kernel driver does not support Virtual Interfaces (VIF).
China Mirror Reference#
| Resource | URL | Use for |
|---|---|---|
| Alfa official drivers | files.alfa.com.tw | Driver packages |
| rtl8852bu (GitHub) | github.com/morrownr/rtl8852bu-20250826 | RTL8832BU driver |
| 清华大学镜像 (Tsinghua University mirror) | mirrors.tuna.tsinghua.edu.cn | Kali / Debian / Ubuntu |
| 阿里云镜像 (Aliyun mirror) | mirrors.aliyun.com | Ubuntu |
| 中科大镜像 (USTC mirror) | mirrors.ustc.edu.cn | Kali |
| 华为云镜像 (Huawei Cloud mirror) | repo.huaweicloud.com | Kali ARM |
More Alfa Adapter Guides for China#
- AWUS036ACH China Install Guide — RTL8812AU, high power
- AWUS036ACM China Install Guide — MT7612U, full VIF
- AWUS036ACS China Install Guide — RTL8811AU, monitor mode
- AWUS036AX China Install Guide — RTL8832BU, WiFi 6
- AWUS036AXER ← you are here
- AWUS036AXM China Install Guide — MT7921AUN, L-shape
- AWUS036AXML China Install Guide — MT7921AUN, WiFi 6E
- AWUS036EACS China Install Guide — RTL8821CU, Windows
Questions? Leave a comment below or contact us at yupitek.com.