2017-11-19 10:24 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004347Kali Linux[All Projects] New Tool Requestspublic2017-11-18 09:23
Reportershum 
Assigned To 
PrioritynormalSeverityfeatureReproducibilitysometimes
StatusnewResolutionopen 
Product Version2017.2 
Target VersionFixed in Version 
Summary0004347: Add monitor mode patched driver for TpLink TL-WN722N-v2 with Realtek 8188 chipset.
DescriptionPlease add a patched kernel driver for TpLink TL-WN722N-v2 with Realtek 8188 chipset to enable monitor mode for these device.

Patched driver presented by mfruba here: https://github.com/mfruba/kernel

Steps To Reproduce
    Download the code (clone it or download a zipped version)
    Move to directory: $ cd drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417
    Build the driver by running: $ make
    Install it: # make install
    Load dependent modules:

# modprobe lib80211
# modprobe cfg80211

    Insert the module into the Linux kernel: # insmod 8188eu.ko

Monitor mode

To enable monitor mode, first we need to know the name of the interface.

# iwconfig
eth0 no wireless extensions.

wlan0 unassociated Nickname:"<WIFI@REALTEK>"
          Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

lo no wireless extensions.

With the interface name (wlan0 in this case) we can enable monitor mode:

# iwconfig wlan0 mode Monitor
Additional InformationTL-WN722N-v1 with AR9271 chipset works nice in monitor mode, but v2 with RTL8188 standard driver not works at all.
Attached Files

-Relationships
+Relationships

-Notes

~0007593

shum (reporter)

There is detailed description for Kali with 4.12 kernel

https://forums.kali.org/showthread.php?37911-Getting-RTL8188-to-work-with-Kali-in-monitor-mode

~0007598

kimocoder (reporter)

That code from mfruba is dirty, have been looking around it for some time noe.

The monitor mode has not made it to github.com/lwfinger repo for a reason, it's an dirty solution.

Just give 8188eu driver some more time and I'll jump on adding monitor mode myself.

~0007610

kimocoder (reporter)

I created the project at my place,
https://github.com/kimocoder/rtl8188eu

with kernel patches up to v4.13 for now.
but the driver is still dirty and would need both attention & testing.
+Notes

-Issue History
Date Modified Username Field Change
2017-11-12 15:53 shum New Issue
2017-11-12 16:47 shum Note Added: 0007593
2017-11-14 17:50 kimocoder Note Added: 0007598
2017-11-18 09:23 kimocoder Note Added: 0007610
+Issue History