Hello, I am quite new to all linux distros and I have successfully got my hp compaq 6000 desktop to dual boot win10 and kali rolling. For my wifi I have a usb dongle that runs a Realtek RTL8811AU chipset. I have downloaded the drivers from the makers of the dongle and ran their ./install.sh to get /lib/modules/4.12.0-kali1-amd64-build: No such file or directory. I have also downloaded the official drivers from realtek to receive the exact same error. here is the attempt to install the official drivers:
root@kali:~/Desktop/r8168-8.045.08# ./autorun.sh
Check old driver and unload it.
Build the module and install
make[2]: *** /lib/modules/4.12.0-kali1-amd64/build: No such file or directory. Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
I have searched the internet for a solution and none seem to work. Can someone help me with installing/fixing/repairing whatever needs to be done so I can install drivers? Thank You.
Edit:
root@kali:~# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 2017.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170917-01:51]/ kali-rolling contrib main non-free
#deb cdrom:[Debian GNU/Linux 2017.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170917-01:51]/ kali-rolling contrib main non-free