The current driver that is in the repos was built using aircrack-ng's code but they haven't updated it for awhile and it won't build against kernel 5.15 without a patch provided in the issues section of their GitHub page.
Morrownr however has picked up the slack and provides a driver that will work up to kernel 5.17 without the need of any patches.
If you plan on upgrading your kernel past 5.14 and use this wifi driver, I suggest you do the following.
First, download morrownr's driver here.
https://github.com/morrownr/8814au
Now remove the current driver rtl8814au-dkms [5.8.5.1-1~mx21+1] from the repos.
Change to the directory that you downloaded the 8814au-main.zip file and extract it.
Change into the 8814au-main directory and run "sudo ./install.sh" (pretty straight forward).
Code: Select all
Building module:
cleaning build area...
make -j16 KERNELRELEASE=5.17.0-2.3-liquorix-amd64 KVER=5.17.0-2.3-liquorix-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.17.0-2.3-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j16 KVER=5.17.0-2.3-liquorix-amd64 KSRC=/lib/modules/5.17.0-2.3-liquorix-amd64/build....
cleaning build area...
DKMS: build completed.
8814au.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.17.0-2.3-liquorix-amd64/kernel/drivers/net/wireless/
depmod...
DKMS: install completed.
Code: Select all
siamhie@mxflux:~
$ inxi -nS
System: Host: mxflux Kernel: 5.17.0-2.3-liquorix-amd64 x86_64 bits: 64 Desktop: Fluxbox 1.3.7
Distro: MX-21.1_fluxbox_x64 Wildflower Oct 20 2021
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: eth0 state: down mac: d8:bb:c1:44:16:b9
Device-2: NetGear Nighthawk A7000 802.11ac Wireless Adapter AC1900 [Realtek 8814AU]
type: USB driver: rtl8814au
IF: wlan0 state: up mac: 8c:3b:ad:22:90:fc