PDA

View Full Version : Making DLink DWA-131 work



laslooo
2015-10-28, 10:48
DLink Wireless N Nano Usb Adapter DWA-131 E1 which uses the : Realtek RTL8192EU chipset

I bought this to finally make my (persistent) live usb Kali work in my Macbook pro.

The problem is I can't install the drivers.

According to this site (https://wikidevi.com/wiki/D-Link_DWA-131_rev_E1) I can use the following drivers:

possibly r8192u_usb, r8712u, or rtl8192cu (in backports) or maybe something else depending on chipset


I tried different guides on installing the drivers, for example this one (https://github.com/chunkeey/rtl8192su). after git clone I cd into the directory an and type make and then make install. Then I get the following error:



make[1]: *** /lib/modules/4.0.0-kali1-amd64/build: No such file or directory. Stop.
Makefile:22: recipe for target 'all' failed
make: *** [all] Error 2


I also tried downloading drivers (RTL8192CU) from realtek (http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true)
After unzipping, going into the /driver/ directory and make and make install I get the same error:


make[1]: *** /lib/modules/4.0.0-kali1-amd64/build: No such file or directory. Stop.

How do I make this thing work? It shouldn't be that hard!

Thanks a lot for your help!!

Cheers.