View Full Version : Error compiling rtl8188eus driver
greasemach1ne
2022-08-18, 11:42
I'm using Kali Linux and I'm trying to install drivers for my TP-Link WN722N v3. I get an error when I run sudo make.
This is what the error looks like:
root@kali:~/Desktop/realtek/rtl8188eus# sudo make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/5.4.0-kali4-686-pae/build M=/root/Desktop/realtek/rtl8188eus modules
make[1]: *** /lib/modules/5.4.0-kali4-686-pae/build: No such file or directory. Stop.
make: *** [Makefile:2058: modules] Error 2
Fred Sheehan
2022-08-21, 00:16
https://github.com/drygdryg/rtl8188eus
Hi, i've a next problem when i tried to install the drivers
i'm using the last version of Kali
rmmod -v r8188eu.ko
rmmod: ERROR: Module r8188eu is not currently loaded
modprobe r8188eu.ko
modprobe: FATAL: Module r8188eu.ko not found in directory /lib/modules/5.18.0-kali5-amd64
what's up? could someone help me?
thanks!
Fred Sheehan
2022-08-24, 21:42
If it doesn't already have 'default drivers' kernel module loaded, which is what you asked it to remove if there, then just carry on and compile new drivers anyway..
Hi! it's work for me.
Your USB wifi already listed through lsusb command the ID 2357:010c is IDvendor and the IDproduct of the TP-Link TL-WN722N USB wifi.
2 ways to install the driver :
The wired connection is required
1) open the terminal and run the following command:
```
apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot
```
Then
```
apt-get install dkms git
git clone https://github.com/lwfinger/rtl8188eu.git
dkms add ./rtl8188eu
dkms build 8188eu/1.0
dkms install 8188eu/1.0
modprobe 8188eu
reboot
```
2) by compiling the source:
```
apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot
```
Then, Use the command `apt-get install gcc make linux-headers-$(uname -r)` to install the appropriate linux-headers pacakge , then run :
```
git clone https://github.com/lwfinger/rtl8188eu.git
cd rtl8188eu
make
make install
modprobe 8188eu
reboot
```
and it's done!
see you!