I have been struggling to get my Realtek RTL8812AU usb Wifi adapter up and running in a Kali Virtualbox VM. if I run lsusb it is displayed properly, dmesg detects it... I've tried following the instructions here https://kalitut.com/how-to-install-rtl8812au/ (replacing the
Code:
sudo ./dkms-install.sh
with
Code:
sudo make dkms_install
Everytime I end up with the modules added,but not installed. dkms status shows the following.

8812au/5.6.4.2_35491.20191025: added
realtek-rtl8814au/5.8.5.1~git20210730.824d1d2: added
realtek-rtl88xxau/5.6.4.2~git20210627.b8167e6: added

Code:
sudo apt-get install linux-headers-$(uname -r)
always returns the following

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-5.10.0-kali9-amd64
E: Couldn't find any package by glob 'linux-headers-5.10.0-kali9-amd64'
E: Couldn't find any package by regex 'linux-headers-5.10.0-kali9-amd64'


I get a similar message about headers and the install being skipped when I run the sudo make dkms_install command. I will have to remove the mods and repeat the install to get the exact message, but it is getting late and I am tired....