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.
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.
-
Install Dependencies:
sudo apt update sudo apt install -y dkms build-essential git
-
Clone the Repository:
git clone https://github.com/morrownr/8821au-20210708.git /path/to/your/drivers/8821au
-
Install the Driver:
cd /path/to/your/drivers/8821au sudo ./install-driver.shThe script will handle the DKMS registration and MOK signing if needed.
-
Reboot: A reboot is recommended to ensure the new driver is loaded correctly by the kernel.
the wifi is still off after installing