I am trying to use my TLWN725N external wireless card in monitor mode and do packet injection. I am having problems getting my TLWN725N wireless card to work with my Kali NetHunter device. My Kali NetHunter device is a Samsung S7. I have done a lot of Googling but have not found a solution. When I run lsusb on the device, I can see the Wifi card. This is a method that I found on Youtube(link) but it didn't work for me.
When I run the command below I'm getting an error:
sudo make && sudo make install
Make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/3.18.140-gd9e5e7de0f10/build M=/rtl8188eus modules
make[1]: *** /lib/modules/3.18.140-gd9e5e7de0f10/build: No such file or directory. Stop.
make: *** [Makefile:2062: modules] Error 2 ?
I've trying to fix that with this command below but I get an error:
sudo apt-get install linux-headers-$(uname -r)
E: unable to locate package linux-headers 3.18.140-gd9e5e7de0f10
E: couldn't find any package by glob'linux-headers 3.18.140-gd9e5e7de0f10'
E: couldn't find any package by regex 'linux-headers 3.18.140-gd9e5e7de0f10'
Could someone please help me out?