Skip to content

Instantly share code, notes, and snippets.

@PabloVitasso
Created July 6, 2025 13:54
Show Gist options
  • Select an option

  • Save PabloVitasso/1902c6f53af3c4ba7d5fa187b093c9d4 to your computer and use it in GitHub Desktop.

Select an option

Save PabloVitasso/1902c6f53af3c4ba7d5fa187b093c9d4 to your computer and use it in GitHub Desktop.

TP-Link Archer Nano USB WiFi Adapter (RTL8811AU) on Ubuntu with Secure Boot

Problem

The TP-Link Archer Nano USB WiFi adapter (and similar adapters using the Realtek RTL8811AU chipset) may not work out-of-the-box on modern Linux distributions like Ubuntu, especially when Secure Boot is enabled. The default drivers can cause issues, including failed module signing and no network interface being created.

Solution

The most reliable solution is to install the community-maintained driver from the morrownr/8821au-20210708 GitHub repository. This driver has broader support and handles DKMS and Secure Boot MOK signing correctly.

Quick Steps

  1. Install Dependencies:

    sudo apt update
    sudo apt install -y dkms build-essential git
  2. Clone the Repository:

    git clone https://github.com/morrownr/8821au-20210708.git /path/to/your/drivers/8821au
  3. Install the Driver:

    cd /path/to/your/drivers/8821au
    sudo ./install-driver.sh

    The script will handle the DKMS registration and MOK signing if needed.

  4. Reboot: A reboot is recommended to ensure the new driver is loaded correctly by the kernel.

@ZahiMoha

Copy link
Copy Markdown

the wifi is still off after installing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment