/rtlwifi_new# make && make install
make -C /lib/modules/4.12.0-kali2-amd64/build M=/root/rtlwifi_new modules
make[1]: *** /lib/modules/4.12.0-kali2-amd64/build: No such file or directory. Stop.
Makefile:58: recipe for target 'all' failed
make: *** [all] Error 2
I am trying to increase the link strength of my wifi using these commands-
- git clone https://github.com/lwfinger/rtlwifi_new
- cd rtlwifi_new
- git pull
- make
- sudo make install
- sudo modprobe -rv rtl8723be
- sudo modprobe -v rtl8723be ant_sel=0
- sudo iw dev wlan0 scan | grep signal
- sudo modprobe -rv rtl8723be
- sudo modprobe -v rtl8723be ant_sel=1
- sudo iw dev wlan0 scan | grep signal
earlier the make command worked successfully but for some reason i reinstalled my linux and now i am not able to use it,showing the above mentioned error...