Kali Linux and TP-Link tl-wn725n

Given:

  • TP-Link WiFi adapter tl-wn725n on chipset rtl8188eu
  • Laptop with a virtual machine Linux OS 5.4.0-kali2-amd64 (data provided by the uname-r command)
  • Crooked hands

Need:

  • Switch this device to monitor mode using the airmon-ng

Problems:

The fact is that there is no monitoring mode in the custom firmware of the adapter, and I as a detective, he began a long search.
First, I came across this Driver in GitHub, and I was happy to clone the repositories.
Loaded, moved to the cd rtl8188eu directory. And at the make all stage, it outputs the error:


nappy@nappy:~/rtl8188eus$ make all
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-kali2-amd64/build M=/home/nappy/rtl8188eus  modules
make[1]: *** /lib/modules/5.4.0-kali2-amd64/build: Нет такого файла или каталога.  Останов.
make: *** [Makefile:1911: modules] Ошибка 2

I didn't understand what he wanted, so I went to Google. I realized that something was wrong, and what I didn't understand. Some kernel headers need to be installed, or my version is not compatible with this version of the drivers, in general, help ...
Thank you very much in advance thank you!

/ An absolute beginner in the Linux environment (we can say that a complete zero), recently learned how to open and edit sources. list/

Author: Дух сообщества, 2020-05-29