Giter Club home page Giter Club logo

Comments (1)

ZerBea avatar ZerBea commented on July 25, 2024

First of all: Your wireless regulatory domain is unset 00!

available frequencies: frequency [channel] tx-power of Regulatory Domain: 00

That limits the capability of the device. To avoid this it is mandatory to set a valid regulatory domain, e.g.

$ sudo iw reg set
$ sudo iw reg set US
$ iw reg get
global
country US: DFS-FCC
	(902 - 904 @ 2), (N/A, 30), (N/A)
	(904 - 920 @ 16), (N/A, 30), (N/A)
	(920 - 928 @ 8), (N/A, 30), (N/A)
	(2400 - 2472 @ 40), (N/A, 30), (N/A)
	(5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
	(5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
	(5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS
	(5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW
	(5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN
	(5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN
	(57240 - 71000 @ 2160), (N/A, 40), (N/A)

From now on hcxdumptool use this settings:

available frequencies: frequency [channel] tx-power of Regulatory Domain: US

This setting (via iw) is not persistent. To make it persistent it is mandatory to uncomment the domain in the config file.

A few days ago I ran several tests on several interfaces.
#361

One of them an ALFA AWUS036ACHM:
#361 (comment)
And everything is working as expected and dmesg log confirm that:

[44542.787098] usb 1-9.3: new high-speed USB device number 8 using xhci_hcd
[44542.940504] usb 1-9.3: New USB device found, idVendor=0e8d, idProduct=7610, bcdDevice= 1.00
[44542.940509] usb 1-9.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[44542.940512] usb 1-9.3: Product: WiFi
[44542.940514] usb 1-9.3: Manufacturer: MediaTek
[44542.940516] usb 1-9.3: SerialNumber: 1.0
[44543.086957] usb 1-9.3: reset high-speed USB device number 8 using xhci_hcd
[44543.226505] mt76x0u 1-9.3:1.0: ASIC revision: 76100002 MAC revision: 76502000
[44546.818464] mt76x0u 1-9.3:1.0: EEPROM ver:02 fae:04
[44547.074553] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[44547.092444] mt76x0u 1-9.3:1.0 wlp22s0f0u9u3: renamed from wlan0
[44907.787065] mt76x0u 1-9.3:1.0 wlp22s0f0u9u3: entered promiscuous mode
hcxdumptool is running....
hcxdumptool is terminated by ctrl+c
[44922.323768] mt76x0u 1-9.3:1.0 wlp22s0f0u9u3: left promiscuous mode

The ERROR you mentioned above always appear if the device is disconnected:

[45041.212682] mt76x0u 1-9.3:1.0: vendor request req:07 off:1134 failed:-71
[45041.292360] usb 1-9.3: USB disconnect, device number 8
[45041.298018] mt76x0u 1-9.3:1.0: MAC error detected
[45041.518186] mt76x0u 1-9.3:1.0: MAC stop failed

This should happen only if the device is disconnected:

[45440.131372] usb 5-2.4: new high-speed USB device number 7 using xhci_hcd
[45440.238662] usb 5-2.4: New USB device found, idVendor=0e8d, idProduct=7610, bcdDevice= 1.00
[45440.238666] usb 5-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[45440.238668] usb 5-2.4: Product: WiFi
[45440.238669] usb 5-2.4: Manufacturer: MediaTek
[45440.238670] usb 5-2.4: SerialNumber: 1.0
[45440.328165] usb 5-2.4: reset high-speed USB device number 7 using xhci_hcd
[45440.425786] mt76x0u 5-2.4:1.0: ASIC revision: 76100002 MAC revision: 76502000
[45441.645411] mt76x0u 5-2.4:1.0: EEPROM ver:02 fae:04
[45441.685125] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
[45441.695093] mt76x0u 5-2.4:1.0 wlp48s0f4u2u4: renamed from wlan0
[45457.833535] mt76x0u 5-2.4:1.0 wlp48s0f4u2u4: entered promiscuous mode
hcxdumptool is running....
hcxdumptool is terminated by ctrl+c
[45466.638355] mt76x0u 5-2.4:1.0 wlp48s0f4u2u4: left promiscuous mode
device has been disconnected
[45560.159052] mt76x0u 5-2.4:1.0: vendor request req:07 off:1134 failed:-71
[45560.258333] usb 5-2.4: USB disconnect, device number 7
[45560.262669] mt76x0u 5-2.4:1.0: MAC error detected
[45560.481955] mt76x0u 5-2.4:1.0: MAC stop failed

In your case you got more than one ERROR. I suggest to check your cable connection.
I use a cable with two ferrite cores!

All attack modes are working as expected and the ERROR appears only after the device has been disconnected.
Looks like it take awhile until the driver noticed that the devices has been plugged out.

There is nothing I can do.

from hcxdumptool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.