If you’re reading this, you probably bought an Alfa USB WiFi adapter and found yourself stuck because:
Welcome to the Ultimate Alfa Linux Installation Guide#
This guide covers the complete steps for installing every Alfa USB WiFi adapter on all major Linux distributions in mainland China, using domestic mirrors throughout, with no GitHub access required.
- You’re in China and can’t access GitHub
- The driver installation seems complicated
- You need to enable monitor mode and packet injection for wireless testing
- You’re not sure which driver your specific Alfa model needs
This guide solves all of those problems. We’ll walk you through installing every Alfa USB WiFi adapter on all major Linux distributions, using only China-accessible mirrors. No GitHub. No frustration.
Why This Guide Exists#
Alfa USB WiFi adapters are popular among penetration testers, network engineers, and wireless enthusiasts. They support monitor mode and packet injection — features most consumer WiFi adapters don’t have.
But here’s the problem: Most driver installation guides assume you can access GitHub. If you’re in China, that’s not possible. This guide is specifically designed for Chinese users, using only mirrors and resources that work within China’s internet infrastructure.
Quick Model Reference#
Before we dive in, let’s figure out which Alfa adapter you have and what chip it uses:
AX Series (Wi-Fi 6 / 802.11ax)#
| Model | Chipset | Driver | Best For |
|---|---|---|---|
| AWUS036AX | Realtek RTL8832BU | rtl8832bu | General use, good range |
| AWUS036AXM | Realtek RTL8832BU | rtl8832bu | Compact design |
| AWUS036AXML | Realtek RTL8832BU | rtl8832bu | Ultra-compact |
| AWUS036AXER | Realtek RTL8832BU | rtl8832bu | Enhanced power |
AC Series (Wi-Fi 5 / 802.11ac)#
| Model | Chipset | Driver | Best For |
|---|---|---|---|
| AWUS036ACH | Realtek RTL8812AU | 88XXau | High power, great range |
| AWUS036ACM | MediaTek MT7612U | mt76x2u | Best VIF support, plug-and-play |
| AWUS036ACS | Realtek RTL8811AU | 8811au | Budget-friendly |
Which Adapter Do You Have?#
- Look at the label on your adapter
- Check the box it came in
- If you bought it online, check your order history
Once you know your model, jump to that section below or follow the general workflow.
Before You Start: What You Need#
Make sure you have these ready before beginning:
- Alfa USB WiFi adapter — The correct model for your needs
- USB cable — The one that came in the box works fine
- Powered USB hub — Required if you’re on Raspberry Pi
- Active internet connection — To reach domestic mirrors in China
- Sudo privileges — You’ll need admin access to install drivers
Plug in the adapter first to verify your system sees it:
lsusbLook for your adapter’s vendor ID in the output:
- Alfa adapters show up as
0e8d(MediaTek) or0bda(Realtek) - Example:
Bus 001 Device 003: ID 0e8d:7612 MediaTek Inc. - Example:
Bus 001 Device 003: ID 0bda:8812 Realtek Semiconductor Corp.
If you see the ID, your adapter is detected. Move to the driver installation section below.
If you don’t see it, try a different USB port, swap the cable, then run lsusb again.
Choose Your Operating System#
Jump to the right section for your OS:
Already have the driver installed? Skip to the advanced sections:
China-Accessible Mirror Reference#
All resources in this guide use these China-accessible mirrors:
| Resource | URL | Use For |
|---|---|---|
| Alfa official downloads | files.alfa.com.tw | Driver packages, firmware |
| Alfa documentation | wiki.alfa.com.tw | Product manuals, English |
| 清华大学镜像 (Tsinghua) | mirrors.tuna.tsinghua.edu.cn | Kali / Debian / Ubuntu |
| 阿里云镜像 (Aliyun) | mirrors.aliyun.com | Ubuntu (recommended) |
| 中科大镜像 (USTC) | mirrors.ustc.edu.cn | Kali (recommended) |
| 华为云镜像 | repo.huaweicloud.com | Kali ARM images (backup) |
| Gitee (GitHub alternative) | gitee.com | Driver source code |
Kali Linux Installation#
Kali Linux comes with wireless tools pre-installed. Getting Alfa adapters working takes just a few steps.
Step 1: Switch to China Mirror#
Open your sources list:
sudo nano /etc/apt/sources.listReplace everything with this:
deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free non-free-firmwareSave: Ctrl+O, Enter, then Ctrl+X. Refresh:
sudo apt updateBackup mirror: If 中科大 (USTC) is slow, use 清华 (Tsinghua):
deb https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free non-free-firmware
Step 2: Install Driver by Chipset#
AX Series (RTL8832BU)#
sudo apt install -y rtl8832bu-dkmsAC Series - Realtek (RTL8812AU / RTL8811AU)#
sudo apt install -y realtek-rtl88xxau-dkmsAC Series - MediaTek (MT7612U)#
The MT7612U driver is built into the Kali kernel. Verify it loaded:
lsmod | grep mt76If you see mt76x2u, you’re done. If not:
sudo modprobe mt76x2uStep 3: Verify Driver Loaded#
Run lsusb again. Your adapter should show up. Then check wireless interfaces:
iwconfigLook for wlan0 or wlan1. If the interface appears, the driver is working.
Step 4: Enable Monitor Mode#
Stop interfering processes:
sudo airmon-ng check killStart monitor mode:
sudo airmon-ng start wlan0Verify:
iwconfigLook for wlan0mon with Mode:Monitor. Done!
Ubuntu 22.04 / 24.04 Installation#
Step 1: Switch to China Mirror#
Ubuntu 24.04 (Noble)#
sudo nano /etc/apt/sources.list.d/ubuntu.sourcesReplace with:
Types: 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.gpgSave with Ctrl+O, exit with Ctrl+X.
Ubuntu 22.04 (Jammy)#
sudo nano /etc/apt/sources.listReplace with:
deb 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 multiverseSave and exit.
Refresh package index#
sudo apt updateStep 2: Install Build Dependencies#
sudo apt install -y git dkms build-essential libelf-dev linux-headers-$(uname -r)Step 3: Install Driver#
AX Series (RTL8832BU)#
Clone from Gitee:
git clone https://gitee.com/mirrors/rtl8832bu.git
cd rtl8832bu
make
sudo make install
sudo dkms add .
sudo dkms install rtl8832bu/5.9.6
sudo modprobe rtl8832buAC Series - Realtek (RTL8812AU)#
Clone from Gitee:
git clone https://gitee.com/mirrors/rtl8812au.git
cd rtl8812au
make
sudo make install
sudo dkms add .
sudo dkms install rtl8812au/$(cat VERSION)
sudo modprobe 88XXauAC Series - MediaTek (MT7612U)#
The driver is built into the Ubuntu kernel. Load it:
sudo modprobe mt76x2uStep 4: Enable Monitor Mode#
sudo airmon-ng check kill
sudo airmon-ng start wlan0
iwconfigLook for wlan0mon with Mode:Monitor.
Debian 12 (Bookworm) Installation#
Step 1: Switch to China Mirror#
sudo nano /etc/apt/sources.listReplace with:
deb 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-firmwareSave and exit. Refresh:
sudo apt updateStep 2: Install Non-Free Firmware#
sudo apt install -y firmware-misc-nonfreeStep 3: Install Build Dependencies#
sudo apt install -y git dkms build-essential libelf-dev linux-headers-$(uname -r)Step 4: Install Driver#
AX Series (RTL8832BU)#
git clone https://gitee.com/mirrors/rtl8832bu.git
cd rtl8832bu
make
sudo make install
sudo dkms add .
sudo dkms install rtl8832bu/5.9.6
sudo modprobe rtl8832buAC Series - Realtek (RTL8812AU)#
git clone https://gitee.com/mirrors/rtl8812au.git
cd rtl8812au
make
sudo make install
sudo dkms add .
sudo dkms install rtl8812au/$(cat VERSION)
sudo modprobe 88XXauAC Series - MediaTek (MT7612U)#
sudo modprobe mt76x2uStep 5: Install Aircrack-ng#
sudo apt install -y aircrack-ngStep 6: Enable Monitor Mode#
sudo airmon-ng check kill
sudo airmon-ng start wlan0
iwconfigLook for wlan0mon with Mode:Monitor.
Raspberry Pi OS Installation#
IMPORTANT: The AWUS036ACH draws ~500mW. The AWUS036ACM draws ~400mW. Always use a powered USB hub to prevent the Pi from throttling or crashing under load.
Step 1: Download Kali Linux ARM64 Image#
Go to: https://www.kali.org/get-kali/#kali-arm
Pick Raspberry Pi 4 (64-bit) or Raspberry Pi 5 (64-bit). Do NOT use 32-bit — 64-bit is required.
China mirror: If kali.org is slow, use 华为云: https://repo.huaweicloud.com/kali-images/
Step 2: Flash to MicroSD#
Check your SD card’s device path:
lsblkFlash the image (replace /dev/sdX with your actual card):
sudo dd if=kali-linux-2025.1-raspberry-pi-arm64.img of=/dev/sdX bs=4M status=progress conv=fsync
syncWait for sync to complete. Boot the Pi. Default credentials: kali / kali.
Step 3: Switch to China Mirror#
sudo nano /etc/apt/sources.listReplace with:
deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free non-free-firmwareSave and apply:
sudo apt update && sudo apt full-upgrade -y
sudo rebootStep 4: Install Driver#
AX Series (RTL8832BU)#
sudo apt install -y rtl8832bu-dkmsAC Series - Realtek (RTL8812AU)#
sudo apt install -y realtek-rtl88xxau-dkmsAC Series - MediaTek (MT7612U)#
sudo modprobe mt76x2uStep 5: Enable Monitor Mode#
On a Pi with built-in Wi-Fi, the Alfa adapter shows as wlan1:
iwconfigThen:
sudo airmon-ng check kill
sudo airmon-ng start wlan1
iwconfigLook for wlan1mon with Mode:Monitor.
Enable Monitor Mode on Any Adapter#
Once the driver is installed, monitor mode is easy to enable:
Step 1: Check Your Interface Name#
iwconfigNote whether it’s wlan0 or wlan1.
Step 2: Kill Interfering Processes#
sudo airmon-ng check killStep 3: Start Monitor Mode#
sudo airmon-ng start wlan0Replace wlan0 with your actual interface name if it’s different.
Step 4: Verify#
iwconfigLook for your interface ending in mon (like wlan0mon) with Mode:Monitor.
Test Packet Injection#
This confirms your adapter can send crafted packets — essential for wireless testing.
sudo aireplay-ng --test wlan0monSuccess looks like:
Trying broadcast probe requests...
Injection is working!
Found 1 APIf it fails:
- Reboot and try again
- Confirm no other process holds the interface (
iwconfig) - Move closer to a WiFi AP for the test
- Ensure you’re using
wlan0mon, notwlan0
Virtual Interface (VIF) Support#
VIF (Virtual Interface Functionality) lets you run multiple interfaces on one adapter simultaneously. For example:
- Managed mode (
wlan0) + Monitor mode (mon0) at the same time - Run while staying connected to a network AND capturing traffic
Which Adapters Support VIF?#
| Chipset | VIF Support | Notes |
|---|---|---|
| MT7612U (AWUS036ACM) | ✅ Full native support | Best choice for VIF workflows |
| RTL8812AU (AWUS036ACH) | ⚠️ Limited | Cannot run managed + monitor simultaneously |
| RTL8832BU (AX series) | ⚠️ Limited | Check specific model docs |
Creating a Virtual Interface (MT7612U)#
If you have the AWUS036ACM (MT7612U):
# Create monitor interface while wlan0 stays in managed mode
sudo iw dev wlan0 interface add mon0 type monitor
sudo ip link set mon0 upVerify both interfaces are active:
iwconfigYou should see:
wlan0— managed mode (associated to AP)mon0— monitor mode (capturing all traffic)
Use Cases#
Capture traffic while staying connected:
sudo airodump-ng mon0Your wlan0 continues normal operation while mon0 captures everything.
Fake AP + Monitor:
sudo iw dev wlan0 interface add ap0 type __ap
sudo iw dev wlan0 interface add mon0 type monitor
sudo ip link set ap0 up
sudo ip link set mon0 upVirtual Machine USB Passthrough#
Running Linux inside a VM? You need to pass the USB adapter through to the guest.
VirtualBox#
- Power off the VM
- Go to Settings → USB
- Enable USB 3.0 (xHCI) Controller
- Click + to add a USB filter
- Select your Alfa adapter (ID:
0bda:8812or0e8d:7612) - Start the VM
Inside the VM, run lsusb to confirm, then follow the Kali Linux steps above.
VMware Fusion (macOS) / VMware Workstation (Windows)#
- Start the VM
- Menu: Virtual Machine → USB & Bluetooth
- Find your Alfa adapter and click Connect
- The adapter appears inside the VM
Run lsusb to confirm, then follow the driver installation steps.
Troubleshooting#
| Problem | Likely Cause | Fix |
|---|---|---|
lsusb doesn’t show adapter ID | Bad cable or no power | Try different USB port. Use powered hub on Pi. |
modprobe says “Module not found” | Missing kernel modules | Run sudo apt install linux-modules-extra-$(uname -r) |
| Driver works but won’t switch to monitor mode | NetworkManager interfering | Run sudo airmon-ng check kill first |
| Monitor mode starts but captures nothing | Wrong interface or channel | Run iwconfig. Set channel: iwconfig wlan0mon channel 6 |
| Injection test fails | Using wrong interface | Use wlan0mon, not wlan0 |
| VIF creation fails | Driver not fully loaded | Unplug and replug adapter, or reload module |
Appendix: Complete Alfa Model List#
| Model | Chipset | Driver | China Mirror Source |
|---|---|---|---|
| AWUS036ACH | RTL8812AU | 88XXau | Gitee: mirrors/rtl8812au |
| AWUS036ACM | MT7612U | mt76x2u | Built-in kernel driver |
| AWUS036ACS | RTL8811AU | 8811au | Gitee: mirrors/rtl8811au |
| AWUS036AX | RTL8832BU | rtl8832bu | Gitee: mirrors/rtl8832bu |
| AWUS036AXM | RTL8832BU | rtl8832bu | Gitee: mirrors/rtl8832bu |
| AWUS036AXML | RTL8832BU | rtl8832bu | Gitee: mirrors/rtl8832bu |
| AWUS036AXER | RTL8832BU | rtl8832bu | Gitee: mirrors/rtl8832bu |
| AWUS036EAC | RTL8814AU | 8814au | Gitee: mirrors/rtl8814au |
常見問題
Do I need a VPN to install Alfa WiFi adapters in China?
No. You can complete the entire process using domestic mirrors like USTC, Aliyun, Tsinghua, and Gitee source code mirrors.
Which Alfa adapter is best for monitor mode and packet injection?
AWUS036ACM with MT7612U chipset has an in-kernel driver and full VIF support, making it the best choice.
Which Alfa adapters support WiFi 6?
AWUS036AX and AWUS036AXER use the RTL8832BU chipset supporting WiFi 6. Ubuntu 24.04 is driver-free plug-and-play.
Which Alfa adapters support WiFi 6E?
AWUS036AXM and AWUS036AXML use the MT7921AUN chipset supporting WiFi 6E tri-band.
What should I note when using Alfa adapters on Raspberry Pi?
Always use a powered USB hub for power, and flash the Kali ARM64 image for best driver support.
Final Notes#
This guide covers all Alfa USB WiFi adapters on all major Linux distributions, using only China-accessible resources. You should now be able to:
✅ Install drivers for any Alfa adapter
✅ Enable monitor mode on Kali, Ubuntu, Debian, or Raspberry Pi
✅ Test packet injection
✅ Use virtual interfaces (VIF) with supported models
✅ Pass adapters through to VMs
Questions or issues? Check out the specific model guides in our series, or contact us at yupitek.com.
Related Guides#
This is part of the Alfa China Install Guide series:
- AWUS036ACH China Install Guide — RTL8812AU, high power
- AWUS036ACM China Install Guide — MT7612U, best VIF support
- AWUS036ACS China Install Guide — RTL8811AU, budget option
- AWUS036AX China Install Guide — Wi-Fi 6, RTL8832BU
- AWUS036AXM China Install Guide — Wi-Fi 6, compact design
- AWUS036AXML China Install Guide — Wi-Fi 6, ultra-compact
- AWUS036AXER China Install Guide — Wi-Fi 6, enhanced power
- AWUS036EAC China Install Guide — RTL8814AU, high power
Last updated: April 24, 2026