realtek-rtl8188eus-dkms packaging for Kali Linux
Go to file
Arnaud Rebillout 52d217db9b
Set PACKAGE_VERSION in override_dh_dkms
As this file is use by dh_dkms, it's Ok to adjust it just before calling
dh_dkms. Also, the option '-V $(DEB_VERSION_UPSTREAM)' is pointless, as
we already made sure that PACKAGE_VERSION was set properly.
2022-08-25 23:28:05 +07:00
core New upstream version 5.3.9~git20220319.0958f29 2022-05-12 10:59:03 +02:00
debian Set PACKAGE_VERSION in override_dh_dkms 2022-08-25 23:28:05 +07:00
hal New upstream version 5.3.9~git20200316 2020-05-14 11:44:14 +02:00
include New upstream version 5.3.9~git20210504.6146193 2021-09-28 10:26:41 +02:00
os_dep New upstream version 5.3.9~git20220319.0958f29 2022-05-12 10:59:03 +02:00
platform New upstream version 5.3.9~20191129 2019-12-17 17:14:15 +01:00
.gitgnore New upstream version 5.3.9~git20200829 2020-09-16 15:00:46 +02:00
BUILD_FOR_NETHUNTER.md New upstream version 5.3.9~git20200316 2020-05-14 11:44:14 +02:00
Kconfig New upstream version 5.3.9~git20200316 2020-05-14 11:44:14 +02:00
Makefile New upstream version 5.3.9~git20220319.0958f29 2022-05-12 10:59:03 +02:00
README.md New upstream version 5.3.9~git20220319.0958f29 2022-05-12 10:59:03 +02:00
ReleaseNotes.pdf New upstream version 5.3.9~20191129 2019-12-17 17:14:15 +01:00
dkms-install.sh New upstream version 5.3.9~20191129 2019-12-17 17:14:15 +01:00
dkms-remove.sh New upstream version 5.3.9~20191129 2019-12-17 17:14:15 +01:00
dkms.conf New upstream version 5.3.9~git20200316 2020-05-14 11:44:14 +02:00
ioctl_cfg80211.c New upstream version 5.3.9~git20210504.6146193 2021-09-28 10:26:41 +02:00
rtw_security.c New upstream version 5.3.9~git20210504.6146193 2021-09-28 10:26:41 +02:00
rtw_security.h New upstream version 5.3.9~git20210504.6146193 2021-09-28 10:26:41 +02:00

README.md

If you are are taking "Learn Ethical Hacking From Scratch | Udemy" by Zaid Sabih and using Kali 2022 x64 Customized by zSecurity 1.0.7 and TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS], you might find this helpful. In the begining, I am able to enter monitor mode. However after a few days, I found out it doesn't allow to enter monitor mode. I think TP-Link TL-WN722N v2/v3 have automatically updated its driver. Then, I find a video from David Bombal (https://www.youtube.com/watch?v=tYnjMiTTdms) but still can't perfectly solve the issue. However, I find below steps work fine for me.

  1. sudo apt update
  2. sudo apt upgrade
  3. sudo apt-get dist-upgrade
  4. reboot
  5. sudo apt-get install linux-headers-$(uname -r)
  6. sudo apt install bc
  7. sudo apt-get install build-essential
  8. sudo apt-get install libelf-dev
  9. sudo apt install dkms
  10. sudo rmmod r8188eu.ko
  11. git https://github.com/drygdryg/rtl8188eus (This works for me 😂)
  12. cd rtl8188eus
  13. sudo -i
  14. echo 'blacklist r8188eu'|sudo tee -a '/etc/modprobe.d/realtek.conf'
  15. reboot
  16. cd rtl8188eus
  17. sudo make && make install
  18. reboot

Like https://github.com/cccooo/rtl8812au-centos-7.6, forked from aircrack-ng/rtl8188eus and modified for CentOS 7.9 as CentOS Kernel 3.10 contains many code from 4.x

rtl8188eus v5.3.9

Realtek rtl8188eus & rtl8188eu & rtl8188etv WiFi drivers

Monitor mode Frame Injection MESH Mode GitHub issues GitHub forks GitHub stars GitHub license
Android aircrack-ng

Supports

  • Android 7
  • MESH Support
  • Monitor mode
  • Frame injection
  • Up to kernel v5.8+ ... And a bunch of various wifi chipsets

Howto build/install

  1. You will need to blacklist another driver in order to use this one.
  2. echo 'blacklist r8188eu'|sudo tee -a '/etc/modprobe.d/realtek.conf'
  3. Reboot
  4. cd rtl8188eus
  5. make && sudo make install
  6. Reboot in order to blacklist and load the new driver/module.

MONITOR MODE howto

Use these steps to enter monitor mode.

$ sudo airmon-ng check kill
$ sudo ip link set <interface> down
$ sudo iw dev <interface> set type monitor

Frame injection test may be performed with (after kernel v5.2 scanning is slow, run a scan or simply an airodump-ng first!)

$ aireplay -9 <interface>

NetworkManager configuration

Add these lines below to "NetworkManager.conf" and ADD YOUR ADAPTER MAC below [keyfile] This will make the Network-Manager ignore the device, and therefore don't cause problems.

[device]
wifi.scan-rand-mac-address=no

[ifupdown]
managed=false

[connection]
wifi.powersave=0

[main]
plugins=keyfile

[keyfile]
unmanaged-devices=mac:A7:A7:A7:A7:A7

Credits

Realtek - https://www.realtek.com
Alfa Networks - https://www.alfa.com.tw
aircrack-ng. - https://www.aircrack-ng.org

And all those who may be using or contributing to it of anykind. Thanks!