I have a Sabrent WiFi Adapter that has the Realtek RTL8187 chipset in it. Right off the bat, everything runs fine, sort of. I plugged it in, Kali recognized what it was, and bam, I could connect to any access point in range. However, there are a few missing things. I noticed that there's an LED that should be on/blinking, and the connection does occasionally die. So I figured I'd grab a driver for it. I pulled the driver off of the CD that the Sabrent shipped with, and it had a folder titled 'Linux'. There was a readme.txt file, telling me I needed to use "./makedrv". Sounded simple enough. Here's what happens to me when I try to do that:


root@kali:~# dir
conversations Desktop fragments Realtek\ Driver rsakey
cracked.txt Downloads hs rockyou.txt rsakey.pub
root@kali:~# cd Realtek\ Driver
root@kali:~/Realtek Driver# dir
DATA data2.cab layout.bin Manual _Setup.dll Setup.ini Windows7_Installtion.mht
data1.cab IsConfig.ini Linux Release\ notes Setup.exe setup.inx
data1.hdr ISSetup.dll MAC RTL8187 setup.ico setup.iss
root@kali:~/Realtek Driver# cd Linux
root@kali:~/Realtek Driver/Linux# dir
drv.tar.gz ifcfg-wlan0 ReadMe.txt stack.tar.gz wlan0down wlan0up
ieee80211 makedrv rtl8187 wlan0dhcp wlan0rmv wpa_supplicant-0.4.9
root@kali:~/Realtek Driver/Linux# ./makedrv
ieee80211/
ieee80211/license
ieee80211/ieee80211_crypt.c
ieee80211/ieee80211_tx.c
ieee80211/ieee80211_softmac.c
ieee80211/ieee80211_softmac_wx.c
ieee80211/ieee80211_module.c
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_rx.c
ieee80211/tags
ieee80211/ieee80211_crypt_tkip.c
ieee80211/Makefile
ieee80211/readme
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211.h
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt.h
rtl8187/
rtl8187/license
rtl8187/r8180_rtl8225z2.c
rtl8187/r8180_rtl8225.h
rtl8187/r8187_led.c
rtl8187/r8180_93cx6.h
rtl8187/r8180_wx.h
rtl8187/r8180_hw.h
rtl8187/copying
rtl8187/r8187_led.h
rtl8187/r8180_pm.h
rtl8187/tags
rtl8187/r8187.h
rtl8187/Makefile
rtl8187/r8180_rtl8225.c
rtl8187/readme
rtl8187/install
rtl8187/.tmp_versions/
rtl8187/.tmp_versions/r8187.mod
rtl8187/changes
rtl8187/r8180_wx.c
rtl8187/r8180_pm.c
rtl8187/r8187_core.c
rtl8187/r8180_93cx6.c
rtl8187/authors
rtl8187/ieee80211.h
rtl8187/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /root/Realtek Driver/Linux/ieee80211/tmp
make -C /lib/modules/3.14-kali1-686-pae/build M=/root/Realtek Driver/Linux/ieee80211 modules
make[1]: Entering directory `/lib/modules/3.14-kali1-686-pae/build'
make[1]: Nothing to be done for `Driver/Linux/ieee80211'.
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/3.14-kali1-686-pae/build'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /root/Realtek Driver/Linux/rtl8187/tmp
make -C /lib/modules/3.14-kali1-686-pae/build M=/root/Realtek Driver/Linux/rtl8187 modules
make[1]: Entering directory `/lib/modules/3.14-kali1-686-pae/build'
make[1]: Nothing to be done for `Driver/Linux/rtl8187'.
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/3.14-kali1-686-pae/build'
make: *** [modules] Error 2
root@kali:~/Realtek Driver/Linux#


I always get the "No rule to make target 'modules'. Stop." error. I have searched quite avidly through the Kali forums as well as other forums for an answer, but cannot find one. I am sorry for any errors or rules broken in this post, I have tried to follow them.

Thanks,
Kaos