-
Notifications
You must be signed in to change notification settings - Fork 403
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
I have a mt7610u and hope that you will be able to support it in the future. #42
Comments
Latest kernel should have support for this. |
Thank's for reporting this dongle. mt7601u (EEPROM ver:0c and EEPROM ver:0d) is working out of the box, using kernel >= 4.2 (https://wikidevi.com/wiki/Mt7601u): $ hcxdumptool -I $ dmesg Some more VENDORs using this chipset: I really like this chipset, build in within several nano USB dongles, like the "ALLNET ALLWA015". I have found no issue on that driver, so far. Packet injection is xtreme fast! |
mt76 (https://wikidevi.com/wiki/Mt76) should work, too (chipset MT7603E and higher) on kernel >= 4.19: The implementation of this driver is a big step forward, because several new (AC) devices use it. |
Had some sleepless nights since you reported this dongle. mt76 is based on m7601u and should work as expected like here described: #42 (comment) So here we go again. |
ok...😀 |
You can test hcxdumptool using mac80211_hwsim. run hcxdumptool to retrieve informations about the interface: bring monitor interface up: run hcxdumptool: start capturing (stop with ctrl+c) INFO: cha=11, rx=0, rx(dropped)=0, tx=120, powned=0, err=0 run wireshark on wlan0 or hwsim0 to monitor hcxdumptool output. read more here: |
how about this one? mt7620 |
Maybe both of them, mt7620A and 7620N, working with a (patched) rt2x00 driver. |
Originally, packet injection crashed mt76. Felix fixed that issue a while back: openwrt/mt76@11e0a12 mt76x0u support came later. I would assume it works fine but still needs to be tested. |
Received the TP-LINK Archer T2UH, tested the dongle and noticed that the driver doesn't work like expected. $ uname -r $ lsusb INTEL system: neither NetworkManager nor iw nor hcxdumptool received a signal from that dongle/driver AMD RYZEN 1700 system: firmware on all systems is up to date: We have to wait until the driver issue is fixed by kernel team. It seems that driver support for newer WiFi USB dongles is a huge desaster: |
@ZerBea it's more generic to any 11ac chip. All of them have moved to offload functionality to firmware. Probably for lower power in mobile devices. In any case, I've reported the ryzen compatibility problem upstream. |
@neheb thanks for reporting it to upstream. $ hcxdumptool -I driver accepts monitor mode set by iw and hcxdumptool ioctl commands seems to work on the driver, as we can set supported channels (and test if they are really set). $ hcxdumptool -i wlp0s20f0u3 -C Unfortunately the driver doesn't receive and doesn't transmit. I checked this, running several tools. |
Maybe, the time has come to join bugzilla! |
Tested also latest available firmware, provided by TP-LINK (MT7610_formal_3.1.0401): MT7610_formal_3.1.0401: 201404011018 (identical with mt7610e from linux firmware) ...very confusing |
Took a look into the kernel source (4.20.1) and noticed that the device ID is allready inside usb.c:
TP-Link TL-WDN5200 is the old name for TP-LINK Archer T2UH, but the device ID (0x148f, 0x761a) is correct. @huitc can you confirm this ($ lsusb) for your TP-LINK_TL-WDN5200? |
maybe next week ^^'' |
im sorry ^^'' |
No problem. It's possible not a hcxdumptool issue, but a driver issue. I think about it, to report that issue (0x148f, 0x761a no tx/rx) on bugzilla: https://bugzilla.kernel.org/ |
I decided to report this bug on kernel.org, because it seems that it is present in 5.0-rc1, too: A workaround on AMD RYZEN systems is to disable IOMMU by kernel boot parameter "iommu=off". |
Also I reported the second issue on kernel. org: Now it's time to wait. |
Got a reply: https://bugzilla.kernel.org/show_bug.cgi?id=202243#c2 |
Finally I got the interface working: Also I compiled the 5.0-rc2 included driver for 4.20.1 and can confirm that the driver is working, too |
I did some tests and noticed that the TP-LINK Archer T2UH received twice more packets than my ALFA AWUS036NH. It's really good, to see this new driver for a really good chipset inside the kernel. |
@neheb thanks for that info. I have not noticed this device yet - until this issue report. Now I walked through the driver code and noticed many changes from 4.19 up to 5.0. |
Now we got the interface working on 4.20.3, too: I think we will see the patches soon, maybe in 4.20.4 or 4.20.5 Please test and close issue if everything's ok |
@ZerBea can you test the patches for the IOMMU issue? My Arch Linux system blew up recently after the bash update. https://marc.info/?l=linux-wireless&m=154755566520069&w=2 |
Hmm, not yet. Doesn't work against 4.20.3 and 5.0-rc2: $ patch -p1 -i p1.patch |
I think you will talk about its support for Android, but... ^^'' |
No, because I am not interested in Android, Windows or MAC OS. My favorite operating system is Arch Linux (only Arch Linux and no other distribution) and, of course, the Linux kernel. So, if hcxtools or hcxdumptool is working in combination with one of the other operating systems, it is fine, but I don't support it. |
ok... ^^'' |
I don't like proprietary operating systems and I'm tired to wrestle against them or to reverse engineer their code to make things work. Arch Linux give me all I need and that in an extreme fast update cycle. |
~ |
tenda u12
|
I can't recommend a WiFi dongle if:
Mostly it takes a long, long time until a third party driver will get a fix. BTW: I suggest to deactivate the build in Raspberry WiFi chip by adding |
So is TL-WDN5200 better than this?...😐😭😭😭 |
I don't have a TL-WDN5200. My favorite devices: ALLNET ALLWA0150 TENDA W311U+ LogiLink WL0151 (not revision A!) Warning: |
Just removed the next devices from the "known as working" list:
Starting with kernel 5.0 we are running into big driver issues: hcxdumptool -i wlp3s0f0u1 --enable_status=1 INFO: cha=6, rx=0, rx(dropped)=0, tx=20, powned=0, err=0 BTW: |
while this Realtek driver is still(!) working fine running kernel 5.0: 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter $ hcxdumptool -i wlp3s0 -C $ hcxdumptool -i wlp3s0 INFO: cha=6, rx=152, rx(dropped)=53, tx=20, powned=1, err=0 |
Really bad news, running kernel 5.0: INFO: cha=1, rx=0, rx(dropped)=0, tx=10, powned=0, err=0 Wireshark doesn't receive packets, too! Can somebody confirm this? |
I can test it. Does any distro ship the kernel stock or you're building it from source? |
That will be fine. Thanks. TENDA W311U+ start capturing (stop with ctrl+c) INFO: cha=1, rx=1626, rx(dropped)=328, tx=114, powned=2, err=0 ALFA AWUS036NH: start capturing (stop with ctrl+c) INFO: cha=1, rx=0, rx(dropped)=0, tx=10, powned=0, err=0 tshark show similar results: tst.pcap remains empty W311U+: |
re-added RTL8187. Chipset is working. Only RT3070 is affected. |
Also I added a new option (--silent) to hcxdumptool. |
With the latest update, I was able to fix many issues and re-added some chipset to the "known as working list". Unfortunately the RT3070 chipset ALFA AWUS036NH doesn't work with the latest fixes. |
By latest commit, TP-LINK Archer T2UH is working fine, too, running kernel 5.1. |
The issue is related to usb/xhci drivers (>= kernel 4.20) and reported here: |
Anybody have mt7610u working on 5.1+? Only 7601 is in the kernel. |
Ok mt76x0u works. I had to manually probe mt7-usb since my USB ID isnt in the list. |
Please report the missing USB ID here: |
Turns out something was just weird with my setup. After a fresh reboot everything loaded as epected. I hit some errors once but I think the adapter is failing physically on the data connection. |
@ZerBea I just got interested in the mt76 driver myself, as I got a special device that runs it.. https://openwrt.org/toh/hwdata/alfa_network/alfa_network_awusfree1 |
I'm running several mt76 devices. The Mediatek chipset is really, really good. All attack modes running out of the box with high performance. All driver issues are fixed and everything is working fine in combination with hcxdumptool. The TP-Link Archer T2UH (mt7610) is nice, too: $ sudo hcxdumptool -i wlan0 --do_rcascan Interface wlan0 |
Hi all. I have TP-LINK TL-WN727N usb wifi, which has MT7601U chip (148f:7601).
I build hcxdumptool 6.0.1 release and I getting no one BSSID with do_rcascan:
Can somebody help me? UPD: I found a lot of errors in dmesg:
I will try to update kernel and may be apply some patches from: UPD2: Updating kernel helps me:
|
tpwlan is an unusual name for an interface! $ hcxdumptool -I $ lsusb $ lsmod | grep mac802 $ dmesg MT76 chipset is working fine (out of the box) on stock kernel 4.19 up to 5.5. There is no need to install a custom driver. |
i'm using this one: 'TL-WDN5200'~~~~~
and.. I don't know what to say....... just.. thx ^^''
The text was updated successfully, but these errors were encountered: