N
N
nappy says2020-05-29 16:26:51
linux
nappy says, 2020-05-29 16:26:51

Kali Linux and drivers, how to be?

Given:

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

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

Problems:
The fact is that there is no monitoring mode in the custom firmware of the adapter, and as a detective I started a long search.
First, I stumbled upon this Driver in GitHub, and, delighted, rushed to clone the repositories.
Loaded, moved to the directory cd rtl8188eu. And at the stage make allit gives an error:
[email protected]:~/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 did not understand what he wanted, he went to google. I realized that something was wrong, but I did not understand what. Some kernel headers need to be installed, or my version is not compatible with this driver version, in general, help ...
Many thanks in advance!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
U
uRoot, 2020-05-29
@uroot

Do you need Kali Linux for work/hobby, or to feel like a kir? If the latter, then take a desktop Linux distribution, not a special one, because. similar "gags" in this special distribution in bulk. If still the first, then: rus-linux.net/MyLDP/kernel/kernel-headers.html

S
SagePtr, 2020-05-29
@SagePtr

How are you going to forward your network adapter to the virtual machine?

C
CityCat4, 2020-05-29
@CityCat4

Kali Linux and drivers, how to be?

Demolish nafig kali, install minecraft and finally get down to business ...
The one who needs it - he does not ask such questions - he has enough qualifications.
The one who asks such questions - he does not need it, because he does things that he does not understand from the word "completely".
Firstly, it’s not easy to get wifi on Linux even when it’s bare-metal
Secondly, to install firewood in a virtual machine, you first need to forward it, and this is in VB (I understand correctly - the Windows host?) is not so easy (and it's not easy anywhere)
Thirdly, self-assembly of a module presupposes the presence of a certain and rather rather large set of knowledge - without which nothing will work.

E
enikeeff, 2020-05-30
@enikeeff

In fact, Kali is a normal distro, I use it myself, it pleases me more than Debian, even though Kalyuha is based on Debian. Yes, everyone starts somewhere. If everyone is so isolated in themselves and in knowledge, Linux will remain at the level of 1-2% on the desktop, and developers will continue to operate this way, refusing to release / support software for Linux.
According to the subject, there are two options:
- try the commands that you entered through sudo. I know, maybe in Nubian, because I don’t know a lot of things myself, but you can try. Although I would choose option #2;
- you find a computer flea market, in a city with a population of about 300 thousand or more - this is not a problem. Usually in such places they sell used iron and components. Among this set, ask for a wifi module for a laptop. As a rule, there is a box of such modules in the store and they give them away inexpensively, 100-300 rubles. You need a 1:1 module size, for this you need to disassemble the laptop and pull out the old module, and go to the store. Until then, go through the list of supported modules for airmon. You can check the list of suitable wifi modules for Kali. The answer to the question lies in the sections of Kali related to the wifi penetration test. I accidentally stumbled upon wifi from Intel, although it worked out for me either by broadcom or realtek. You don't need to install the driver from above. The Linux kernel will automatically pull it up at the time the OS boots.
If you use a virtual machine, then vmware is ideal. Virtual Box will not work, or you will have sex with it for a long time and it is unlikely that this will somehow be justified. In general, it is ideal to even use not a virtual machine, but real hardware. To do this, I have a separate hiking powerful laptop with Kali on board. If you are reluctant to put Kali on real hardware, then at least create a bootable flash drive from Kali and boot from it through the boot menu (when the BIOS starts - either F12, or ESC, or something else) and choose the cherished ready-made flash drive from Kali. There are a lot of guides on YouTube, the same overbafer1 or UnderMind have released a whole bunch of videos on this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question