Skip to main content

OpenWrt Routers × ALFA Network Configuration & Known Limitations

Quick Summary: Adding an external ALFA USB adapter to an OpenWrt router (or GL.iNet travel router) creates a dedicated second WAN (WISP repeater), high-gain hotspot AP, or wireless sniffer node. This guide covers package installation and openly discloses upstream GitHub Issue #839 (Active Monitor Driver Crash) with workarounds.

Test scope: Yupitek's ALFA compatibility testing was done only on ASUS GX10 / Ubuntu 24.04 ARM64 / kernel 6.17. OpenWrt / GL.iNet routers have 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. On the GX10 test platform the AWUS036AXML showed weak monitor mode and failed packet injection, so it is suitable for client / AP use and passive capture only. Only test networks you own or are authorized to test.

Is This Guide for You?​

  • Difficulty: Intermediate (familiarity with OpenWrt LuCI web interface and SSH terminal).
  • Estimated Time: 20–30 minutes.
  • Skills Used: Basic terminal operations, opkg package management, network configuration.
  • What You Will Achieve:
    1. Determine compatibility between your OpenWrt version and ALFA adapter models.
    2. Install drivers via opkg and verify adapter detection in LuCI / UCI.
    3. Understand and work around upstream Active Monitor Mode bugs.

Why Connect an External ALFA Adapter to an OpenWrt Router?​

OpenWrt routers and x86 soft routers typically have built-in Wi-Fi radios. Connecting an external ALFA adapter unlocks key operational capabilities:

  1. Independent Secondary Radio (WISP / Repeater): Keep the router's internal radio dedicated to local LAN broadcasting while using the high-gain ALFA adapter to bridge long-range upstream public Wi-Fi.
  2. Dedicated Wireless Sniffing Node: Turn a compact router (like a GL.iNet) into a standalone 24/7 wireless auditing probe without tying up a laptop.
  3. Upgrade Older Hardware: Add 802.11ac or Wi-Fi 6 capabilities to older routers via USB without replacing the router.

OpenWrt Version & ALFA Chipset Compatibility Matrix​

ALFA ModelChipsetOpenWrt 24.10OpenWrt 25.12Driver Package
AWUS036ACMMediaTek MT7612U✅ Package in official feed✅ Package in official feedkmod-mt76x2u
AWUS036AXMLMediaTek MT7921AUN✅ Package in official feed (see known issue below)✅ Package in official feed (see known issue below)kmod-mt7921u
AWUS036ACHMMediaTek MT7610U✅ Package in official feed✅ Package in official feedkmod-mt76x0u
AWUS036ACHRealtek RTL8812AU✅ Package in official feed (community driver)✅ Package in official feed (community driver)kmod-rtl8812au-ct

The table only states whether the driver package exists in the official OpenWrt package feed (checked against downloads.openwrt.org). Behavior on a specific router, monitor-mode and injection support depend on the target and kernel; see openwrt.org and the Table of Hardware.


Prerequisites & Checklist​

  • OpenWrt router (running OpenWrt 24.10 or 25.12; see the current list at openwrt.org/releases) with an active internet connection.
  • ALFA USB adapter: AWUS036ACM (mt76x2u, in-kernel since Linux 4.19) or AWUS036AXML (Recommended for Wi-Fi 6 high throughput).
  • SSH client access to the router.

Step-by-Step Configuration​

Step 1: Install Kernel Drivers via opkg​

SSH into your OpenWrt router and run (the commands below use opkg; newer releases such as 25.12 may use apk instead, so verify at openwrt.org):

# Update package index
opkg update

# For AWUS036AXML (Wi-Fi 6/6E):
opkg install kmod-mt7921u kmod-mt76-core wireless-tools usbutils

# For AWUS036ACM (802.11ac):
opkg install kmod-mt76x2u kmod-mt76-core wireless-tools usbutils

Step 2: Plug in Adapter and Verify Detection​

lsusb
dmesg | grep -E "mt7921|mt76"

Step 3: Generate Wireless Config and Restart Network​

wifi config
/etc/init.d/network restart

Log in to the LuCI Web UI (Network → Wireless). You will see a new radio device (e.g. radio1 or radio2) ready for AP or Client configuration.


Important Upstream Limitations & Bug Warnings​

⚠️ Known Bug: AWUS036AXML Active Monitor Mode Stops the Driver (Issue #839)​

  • Symptom: Per upstream openwrt/mt76 Issue #839, enabling active monitor mode on mt7921u (AWUS036AXML) makes the driver stop working. Plain (passive) monitor mode captures packets normally in the same report.
  • Status: The issue is marked closed upstream; behavior may differ by kernel version, so check the issue thread for the current state.
  • Engineering Workaround:
    1. For passive packet capture (Kismet / tcpdump), use AWUS036AXML in regular monitor mode.
    2. The issue reports active monitor mode working on mt76x0u and mt76x2u; for active monitor use cases try AWUS036ACM (mt76x2u) or AWUS036ACHM (mt76x0u). On the GX10 test platform, active monitor on the ACM could be set but ACK handling was not verified, and on the ACHM it worked only partially; neither was tested on OpenWrt.

⚠️ 6 GHz Configuration Status​

6 GHz availability on OpenWrt depends on the driver, regulatory domain, and LuCI version. See openwrt.org for the current status.