Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialization hanging with rtl8192eu #55

Closed
respz opened this issue Mar 25, 2019 · 1 comment
Closed

initialization hanging with rtl8192eu #55

respz opened this issue Mar 25, 2019 · 1 comment

Comments

@respz
Copy link

respz commented Mar 25, 2019

Hi. I bought another adapter with chipset rtl8192eu. I installed mange's driver and am able to use airodump. It works ok to capture packages. But it hangs when I use hcxdumptools.

# lsusb
Bus 001 Device 002: ID 2357:0108 TP-Link TL-WN822N Version 4 RTL8192EU
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
# ip link set wlan0 down
# iw dev wlan0 set type monitor
# ip link set wlan0 up
# iw dev
phy#0
	Interface wlan0
		ifindex 3
		wdev 0x1
		addr 50:3e:aa:48:0b:48
		type monitor
		txpower 12.00 dBm

@ZerBea
Copy link
Owner

ZerBea commented Mar 25, 2019

airodump-ng is a passive dumper (it receive packets), while hcxdumptool is active (send packets; packet injection). That means, you can't compare airdodump-ng (passive) with hcxdumptool (active).
The driver must(!) support packet injection, but it looks like it doesn't. And following the link you posted, I can't find any useful information that this driver supports full packet injection.
Also wikidevi doesn't have information about this driver:
https://wikidevi.com/wiki/Rtl8xxxu

Supported modes
STA (Station) mode: supported
IBSS (Ad-Hoc) mode: unknown
AP (Master) mode: unknown
Mesh (802.11s) mode: unknown
P2P mode: unknown
Monitor mode: unknown
Packet injection: unknown

BTW:
Only TP-Link TL-WN822N v1/v2 support monitor mode and(!) packet injection.
There are tons of issues about v3 and higher like this here:
Mange/rtl8192eu-linux-driver#88
and more here:
schollz/find-lf#16
http://keep-it-sim.blogspot.com/2013/08/compatible-wireless-network-adapters.html
https://www.raymond.cc/blog/best-compatible-usb-wireless-adapter-for-backtrack-5-and-aircrack-ng/
There are also tx power issues running this driver:
Mange/rtl8192eu-linux-driver#80

Closed, because it is a driver issue and not related to hcxdumptool.

@ZerBea ZerBea closed this as completed Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants