Skip to content

Instantly share code, notes, and snippets.

@nickavem
Last active May 20, 2025 22:46
Show Gist options
  • Save nickavem/3b8178ecd19eddadb85e6b8649e8a490 to your computer and use it in GitHub Desktop.
Save nickavem/3b8178ecd19eddadb85e6b8649e8a490 to your computer and use it in GitHub Desktop.
How to Install the Netgear A7000 (RTL8812AU/21AU/14AU) Linux Wifi Drivers.

Sources: aircrack-ng/rtl8812au, aircrack-ng/rtl8814au

How to Install the Netgear A7000 (RTL8812AU/21AU/14AU) Linux Wifi Drivers.

Note: This guide is purposefully simple. If you would like more information about what exactly each command is doing, try:

man `the command in question`

or go to the respective source repositories as mentioned above.

IF YOU ARE HAVING ISSUES DISABLE SECURE BOOT IN YOUR MOTHERBOARD'S SETTINGS

Install Package Dependencies

Debian GNU/Linux or Debian Based Distros (Ubuntu, Linux Mint, ElementaryOS, Pop_OS, etc.)

Run the following commands:

sudo apt update && sudo apt upgrade
sudo apt install dkms git build-essential libelf-dev linux-headers-`uname -r`

Then reboot your system.

Fedora Linux

This may work for CentOS/RHEL + EPEL, but I have not tested

Right now I know of no way to get this working on silverblue/rpm-ostree.

sudo dnf upgrade
sudo dnf install dkms make automake gcc gcc-c++ kernel-devel elfutils-libelf-devel kernel-headers git

Then reboot your system.

Build and Install the First Driver

git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git
cd rtl*
sudo make dkms_install

Then reboot your system. Rebooting may not be necessary here but I like to be safe

Build and Install the Second Driver

git clone https://github.com/aircrack-ng/rtl8814au.git
cd rtl8814au
sudo make dkms_install

One Final Reboot!

You should just be able to plug and play now. If you are still having issues, or have any questions, feel free to send a PR/Issue to me or the upstream projects!

Quick Problem Fix

If you are having any issues after something like a kernel update, this quick one-liner may be enough to fix it:

cd ~/rtl8812au && sudo make dkms_remove && git pull && sudo make dkms_install && cd ~/rtl8814au && sudo make dkms_remove && git pull && sudo make dkms_install && sudo reboot

(Updating your system first may also be smart)


-\ nickavem

@Locknut64
Copy link

Worked on linux mint
nighthawk ac1900 usb wifi adaptor
Also works with usb extenstion + mag mount
Lifesaver! Thanks for this.

@yuri-mascarenhas
Copy link

Just installed in a fresh Kubuntu 22.04.3 and it's working 100%
It was really easy and straightforward, thank you!

@Rubbue
Copy link

Rubbue commented Jun 14, 2024

I have little experience with linux but:

With 22.04.1-Ubuntu and kernel 6.5.0-35-generic this method no longer works. I used this page to solve the problem. It recommends using a different driver.

@bdecato
Copy link

bdecato commented Oct 4, 2024

Amazing, thank you for the walkthrough. The second driver installation fails on a fresh install of Linux Mint 22 Cinnamon (version 6.2.9, kernel 8.8.0-45-generic), but installing the alternative driver discussed here worked out for me.

@jwmcvety
Copy link

jwmcvety commented May 7, 2025

Apologies for a simple question but since I have no internet access on the system where the adapter has not yet been recognized, will these commands work with no internet or network connectivity?

@scottmacs
Copy link

Apologies for a simple question but since I have no internet access on the system where the adapter has not yet been recognized, will these commands work with no internet or network connectivity?

No

@jwmcvety
Copy link

So what would be the best method for downloading these drivers on another system, which did have network access, and making them available to my Fedora rig?

@bdecato
Copy link

bdecato commented May 10, 2025

So what would be the best method for downloading these drivers on another system, which did have network access, and making them available to my Fedora rig?

If you have a USB drive on your Fedora rig and a phone with wifi tethering, it is by far the easiest. Way better than doing the USB drive shuffle and debug installation.

@jwmcvety
Copy link

Genius. That worked great. Thanks for taking the time to respond!

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