The Realtek RTL8811AU is a common USB Wi-Fi adapter chipset that often fails to work out of the box on Linux and older Windows systems due to missing or incompatible drivers. The fix is to install the correct driver for your operating system—on Linux this usually means compiling a third-party driver module, while on Windows it means updating or replacing the manufacturer’s driver.
Background: Why This Chipset Causes So Many Problems
The RTL8811AU is a single-band 802.11ac USB adapter chipset produced by Realtek. It is found in many inexpensive USB Wi-Fi dongles from various brands. The core issue is that Realtek does not maintain an official open-source driver for Linux, and the in-kernel driver support is either absent or limited to a staging version that often fails to compile with newer kernels. On Windows, the problem is usually the opposite: the driver installed by Windows Update is generic and may not support all features, or the manufacturer’s driver is outdated and incompatible with recent Windows 10/11 updates.
How the Driver Works (and Why It Breaks)
The RTL8811AU communicates with the system via USB. The driver is a kernel module that translates between the system’s network stack and the chipset’s firmware. On Linux, the driver is typically built from source using the dkms (Dynamic Kernel Module Support) framework, which automatically recompiles the module when the kernel is updated. The most widely used source is the aircrack-ng/rtl8812au GitHub repository, which supports both the RTL8811AU and the similar RTL8812AU. The module fails when the kernel source headers are missing, when the compiler version is incompatible, or when the kernel’s internal API changes—which happens with every new kernel release.
Fixing the Driver on Linux (Ubuntu, Debian, Fedora, etc.)
The process for Linux is consistent across distributions, though package names differ. Here are the general steps:
- Update your system and install build tools and kernel headers:
- On Debian/Ubuntu:
sudo apt update && sudo apt install build-essential git dkms - On Fedora:
sudo dnf install git dkms kernel-devel - On Arch:
sudo pacman -S git dkms linux-headers - Clone the driver source:
git clone https://github.com/aircrack-ng/rtl8812au.git - Enter the directory and run
sudo make dkms_install. This compiles the module and registers it with DKMS. - Reboot or load the module with
sudo modprobe 88XXau. - If the adapter still doesn’t appear, check with
lsusbto confirm the device ID, and trysudo dkms statusto see if the module is installed.
If compilation fails, the most common cause is that the kernel headers are not installed or are not the exact version of the running kernel. Verify with uname -r and install the matching headers. Another common issue is that the Secure Boot feature on UEFI systems blocks unsigned kernel modules. You can either disable Secure Boot in the BIOS or sign the module with a custom key—the latter is more secure but more complex.
Fixing the Driver on Windows 10 and 11
On Windows, the RTL8811AU usually works after plugging in, but you may see limited speed, frequent disconnects, or the adapter not being recognized at all. The fix is to install the latest driver from the adapter manufacturer’s website, not from Windows Update. Steps:
- Press
Win + Xand select Device Manager. - Find the adapter under Network adapters (it may show as “Realtek 8811AU Wireless LAN 802.11ac USB NIC” or similar).
- Right-click and select Update driver > Browse my computer > Let me pick from a list.
- If a compatible driver is listed, select it. Otherwise, download the driver from the manufacturer’s support page (e.g., the brand of your USB dongle).
- If the device shows an error (yellow triangle), right-click and uninstall, then restart and let Windows reinstall the driver.
If you cannot find a driver for your exact Windows version, try the driver from the Realtek download center (look for “RTL8811AU” under Wireless LAN USB). Be aware that Realtek’s official site may not have the latest version, and some third-party driver packs are bundled with adware—stick to the manufacturer’s site or the Realtek site.
Common Problems and Their Quick Fixes
- Adapter not detected at all: Try a different USB port (preferably USB 2.0), check
lsusbon Linux, or Device Manager on Windows. If it appears as “Unknown device,” the driver is not loading. - Compilation error on Linux: “Error: unknown type name ‘kuid_t’” or similar usually means the kernel headers are outdated. Run
sudo apt install linux-headers-$(uname -r)and try again. - Wi-Fi disconnects randomly: On Linux, try disabling power management with
sudo iw dev wlan0 set power_save off(replace wlan0 with your interface name). On Windows, go to Device Manager > Network adapters > your adapter > Power Management tab and uncheck “Allow the computer to turn off this device to save power.” - Slow speed or only 2.4 GHz: The RTL8811AU is a single-band adapter (2.4 GHz only). If you expect 5 GHz, you have the wrong chipset—the RTL8812AU is the dual-band variant. Check your adapter’s specs.
- After a kernel update, the adapter stops working: DKMS should rebuild automatically. If not, run
sudo dkms autoinstallor re-runsudo make dkms_installfrom the source directory.
Comparing Driver Sources: Which One Should You Use?
For Linux, the main options are:
- aircrack-ng/rtl8812au – Most actively maintained, supports a wide range of kernels, and is the recommended choice for most users.
- morrownr/8811au – A fork specifically for the 8811au, often simpler to install, but may lag behind kernel updates.
- Realtek’s official Linux driver – Available as a tarball on their site, but it is often old and may not compile on modern kernels. Avoid unless you have an older kernel.
For Windows, the manufacturer’s driver is usually the best, but if you have a generic adapter (no brand name), the Realtek reference driver may work. Always uninstall the old driver before installing a new one to avoid conflicts.
Is It Worth the Effort? Alternatives to Consider
If you are not comfortable compiling drivers, you have alternatives:
- Use a different adapter – Chipsets like the Intel AX200 (for laptops) or Realtek RTL8821CU (also problematic) or the newer RTL8852BU may have better support. However, the most Linux-friendly USB adapters use chipsets like the Atheros AR9271 or MediaTek MT7612U, which have in-kernel drivers.
- Use an Ethernet cable or powerline adapter – If you only need a stable connection, wired is always more reliable.
- Use a phone’s USB tethering – This can work as a temporary fix and often requires no extra drivers.
The RTL8811AU is an older chipset, and while it is cheap, the driver hassle may not be worth it if you are not willing to troubleshoot. If you do decide to fix it, the steps above should get you online in most cases.
Frequently Asked Questions
Why does my RTL8811AU work on Windows but not on Linux?
Because Realtek provides a Windows driver but not a proper Linux driver. The Linux community has reverse-engineered or adapted the driver, but it is not part of the official kernel, so you have to compile and install it manually.
Can I use the RTL8811AU on a Raspberry Pi?
Yes, the same Linux driver works on ARM-based systems like the Raspberry Pi, but you need to compile it with the appropriate kernel headers. The process is identical, but you may need to install the raspberrypi-kernel-headers package first.
Is the RTL8811AU a dual-band adapter?
No, the RTL8811AU is single-band (2.4 GHz only). The dual-band version is the RTL8812AU. If you need 5 GHz, check your adapter’s model number carefully.
How do I know if my adapter uses the RTL8811AU chipset?
Run lsusb on Linux or check Device Manager on Windows. The device ID will be 0bda:0811 (Realtek). You can also look up the model number of your USB dongle online.
Will disabling Secure Boot help fix the driver?
Yes, if the module fails to load due to Secure Boot, disabling it in the BIOS will allow the unsigned module to load. However, this reduces system security, so consider signing the module instead if you are comfortable with the process.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Text Cursor Turning White in Windows 11
- Force Quit Non-Responding Apps on Mac: 6 Ways
- Chromebook Not Charging? Fix It Fast
- iPhone Won’t Make Calls but Texts Work? Fixes
- Android to iPhone Hotspot: Connect & Fix Issues
- Fix Bluetooth Not Working on Discord Mobile