Skip to main content

ALFA Adapters on Raspberry Pi — Complete Setup Guide

Quick Summary: The Raspberry Pi's onboard Wi-Fi is compact but limited by low-gain PCB antennas and fixed regulatory power limits. Adding an ALFA high-power USB adapter turns your Pi into an enterprise-grade wireless probe, field auditor, or long-range IoT gateway.

Test scope: Yupitek's ALFA compatibility testing was done only on ASUS GX10 / Ubuntu 24.04 ARM64 / kernel 6.17. Raspberry Pi has not been tested. Statements on this page about driver availability are inferred from the platform's kernel version and the kernel release in which each driver reached mainline (ACM / ACHM 4.19, AXM / AXML 5.18, EACS 6.2, ACH / ACS 6.13, AX / AXER 6.17), not verified on the hardware. Only test networks you own or are authorized to test.

Is This Guide for You?​

  • Difficulty: Beginner to Intermediate.
  • Estimated Time: 15–20 minutes.
  • Skills Used: Terminal commands, package management, basic networking.
  • What You Will Achieve:
    1. Manage USB power budgets to prevent Pi voltage brownouts.
    2. Install in-kernel (MediaTek) and DKMS (Realtek) drivers on Raspberry Pi OS.
    3. Configure dual-radio routing (onboard Wi-Fi for SSH + ALFA for monitoring).

Power Budget: The Most Critical Factor on Raspberry Pi​

The single most common issue with ALFA adapters on Raspberry Pi is power starvation. High-power adapters draw 500mA to 900mA during active transmission.

Power Recommendations by Pi Model:​

  • Raspberry Pi 5: 5V/5A USB-C supply delivers up to 1.6A across USB ports—can drive any ALFA adapter directly.
  • Raspberry Pi 4B: 5V/3A official power supply recommended.
  • Raspberry Pi 3B+ / Zero 2 W: Use an external powered USB hub for high-power adapters like the AWUS036ACH.

Adapter Selection Matrix for Raspberry Pi​

ModelChipsetBandRaspberry Pi OS DriverRecommended Use Case
AWUS036ACMMediaTek MT7612U2.4G + 5G✅ In-tree (mt76x2u, kernel 4.19+)Top Pick: In-kernel monitor mode and packet injection with no extra drivers
AWUS036AXMLMediaTek MT7921AUN2.4G + 5G + 6G✅ In-tree (mt7921u, Kernel ≥5.18)Top Pick: Wi-Fi 6/6E client / AP links (monitor is weak and injection failed on the GX10 test platform)
AWUS036ACHRealtek RTL8812AU2.4G + 5G⚠️ DKMS required on kernels older than 6.13 (in-kernel rtw88_8812au from 6.13)High-gain dual-antenna long-range audits
AWUS036NHAAtheros AR92712.4G✅ In-tree (ath9k_htc)Classic 2.4 GHz packet injection

Step-by-Step Setup​

Step 1: Plug in and Verify USB Device​

lsusb

Step 2: Driver Setup​

For MediaTek Adapters (AWUS036ACM / AWUS036AXML):​

These drivers are built into the Linux kernel (mt76x2u since 4.19, mt7921u since 5.18), so whether they work out of the box depends on your Raspberry Pi OS kernel version (check uname -r). With a new enough kernel no manual compilation is required:

sudo apt update && sudo apt install -y wireless-tools iw

For Realtek Adapters (AWUS036ACH / AWUS036ACS):​

Realtek drivers are in-kernel only on newer kernels (ACS / ACH from 6.13, EACS from 6.2); on older kernels install kernel headers and the DKMS driver (the repository below covers RTL8812AU, i.e. AWUS036ACH):

sudo apt update
sudo apt install -y raspberrypi-kernel-headers build-essential dkms git
git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo ./dkms-install.sh
sudo reboot

Step 3: Enable Monitor Mode​

# Do NOT run `airmon-ng check kill`: it terminates NetworkManager
sudo airmon-ng start wlan1

Troubleshooting​

Q1: Raspberry Pi displays a yellow lightning bolt icon or reboots?​

  • Solution: Replace the power supply with the official 5V/3A (Pi 4) or 5V/5A (Pi 5) adapter, or connect the ALFA adapter through a powered USB hub.