Sources: aircrack-ng/rtl8812au, aircrack-ng/rtl8814au
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
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.
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.
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
git clone https://github.com/aircrack-ng/rtl8814au.git
cd rtl8814au
sudo make dkms_install
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!
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
Hey nickavem:
I use the 8814au variant only. I have an A7000 made by Netgear.
I run Mint 20.3 with the 5.13.0-27-generic kernel using Cinnamon.
I had to modify a line in recv_linux.c on line 358 as follows:
if (rtw_napi_gro_receive(&padapter->napi,
pskb))`Prior to my change it had
if (rtw_napi_gro_receive(&padapter->napi, pskb) =! gro)
That line was throwing errors during the make process.
After the change that was done it worked wonderfully well.
Thanks