Hello there!
This issue is driving me crazy for a week now... hope you have a solution for me!
I am trying to install drivers for my brand new Alfa AWUS036ACH but I am running out of ideas here, I cant manage to make the "make" tool to work nor my dkms install.
Here is what I did so far:
Fresh kali 2017.1 install
> OK
apt update
> OK
uname -r
> OK (4.9.0-kali3-amd64)
apt full-upgrade
> OK
apt install dkms
> OK
apt update
> OK
apt full-upgrade
> OK
git clone -b v5.1.5
https://github.com/astsam/rtl8812au.git > OK
cd rtl8812au
> OK
make
> FAILED:
Code:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-kali3-amd64/build M=/root/rtl8812au modules
make[1]: *** /lib/modules/4.9.0-kali3-amd64/build: No such file or directory. Stop.
Makefile:1855: recipe for target 'modules' failed
make: *** [modules] Error 2
apt install realtek-rtl88xxau-dkms >
FAILED:
Code:
apt install realtek-rtl88xxau-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
realtek-rtl88xxau-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,522 kB of archives.
After this operation, 14.8 MB of additional disk space will be used.
Get:1 http://archive-4.kali.org/kali kali-rolling/contrib amd64 realtek-rtl88xxau-dkms all 4.3.21~20170330-0kali1 [1,522 kB]
Fetched 1,522 kB in 10s (143 kB/s)
Selecting previously unselected package realtek-rtl88xxau-dkms.
(Reading database ... 333086 files and directories currently installed.)
Preparing to unpack .../realtek-rtl88xxau-dkms_4.3.21~20170330-0kali1_all.deb ...
Unpacking realtek-rtl88xxau-dkms (4.3.21~20170330-0kali1) ...
Setting up realtek-rtl88xxau-dkms (4.3.21~20170330-0kali1) ...
Loading new realtek-rtl88xxau-4.3.21~20170330 DKMS files...
Building for 4.9.0-kali3-amd64 4.9.0-kali4-amd64
Module build for kernel 4.9.0-kali3-amd64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Building initial module for 4.9.0-kali4-amd64
Error! Bad return status for module build on kernel: 4.9.0-kali4-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl88xxau/4.3.21~20170330/build/make.log for more information.
Thank you very much for your time :)