1 – Update and upgrade your system:
2 – Install the build-essentials:
4 – Install bc and linux-headers:
The uname-r param allows you to read your system architecture to install the appropriate package.
5 – Execute rmmod command
6 – Clone the github rtl8188eus repository:
7 – Add the blacklist r8188eu to the realteck.conf file:
8 – Run make to executing the makefile content:
After executing the “make” command, the following error may occur: “Error with compiling [fatal error: drv_types.h]”
The following command fixes the above error:
FIX
Run make again
9 – Executing the make install
10 – Execute modbprobe:
11 – Reboot the system:
At this point the system should recognize the TP-Link network card, if it does not recognize it, remove and reinsert it.
With ifconfig command we can see that a new network interface has been added with the name wlx7cc2c6194633.
11 – Changing the network interface name
This name is not easily remembered so we will change it to the name “wlan0” using the following command:
12 – Reboot the system
13 – Install the wireless-tools
With iwconfig command we can check the information and status of our network card wlan0:
Enable the monitor mode
If you receive the error “Error for wireless request “Set Mode” (8B06)“:
Run the following commands in order to fix it:
FIX
If we check the status again, we can see that the monitor mode has been activated:
Install the aircrack-ng tools
References: