Originally Posted by
chembai
i tried to install realtek wifi driver (rtlwifi_new)
after the git clone when i run 'make' command it gives following error:-
make -C /lib/modules/4.3.0-kali1-amd64/build M=/root/rtlwifi_new modules
make[1]: *** /lib/modules/4.3.0-kali1-amd64/build: No such file or directory. Stop.
Makefile:57: recipe for target 'all' failed
make: *** [all] Error 2
i tried to install linux kernel ,
i gave uname -r command the output came as :-4.3.0-kali1-amd64
when i run this command:-
apt-get install linux-headers-$(uname -r)
i get this output:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.3.0-kali1-amd64
E: Couldn't find any package by glob 'linux-headers-4.3.0-kali1-amd64'
E: Couldn't find any package by regex 'linux-headers-4.3.0-kali1-amd64'
What should i do?