User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
faq [2019/09/25 00:56] – [FAQ] Why does using aircrack-ng with "-p 1" use 2 CPUs mister_xfaq [2020/08/17 21:18] – FAQ: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state mister_x
Line 6: Line 6:
 ===== What is the best wireless card to buy ?  ===== ===== What is the best wireless card to buy ?  =====
  
-Which card to purchase is a hard question to answer.  Each person's criteria is somewhat different, such as one may require 802.11n capability, or may require it to work via virtualization.  However, having said that, if money is not a constraint then the following cards are considered the best in class:+Which card to purchase is a hard question to answer.  Each person's criteria is somewhat different, such as one may require 802.11ax capability, or may require it to work via virtualization.  However, having said that, then the following cards are considered the best in class:
  
   * Alfa AWUS036ACH (a/b/g/n/ac) is the best performing card, but the driver can be unstable enough to crash your kernel   * Alfa AWUS036ACH (a/b/g/n/ac) is the best performing card, but the driver can be unstable enough to crash your kernel
-  * Alfa AWUS036ACM (a/b/g/n/ac) is the highest performing of the STABLE devices, but it requires kernel 4.19.5 or higher, and the driver doesn't work on the Raspberry Pi yet+  * Alfa AWUS036ACM (a/b/g/n/ac) is the highest performing of the STABLE devices, but it requires kernel 4.19.5 or higher, and the driver doesn't work on the Raspberry Pi yet; it works on the Raspberry Pi 4.
  
 Runner ups: Runner ups:
Line 190: Line 190:
  
 ===== How do I change my card's MAC address ?  ===== ===== How do I change my card's MAC address ?  =====
 +
 +**Note:** It is not necessary to change the MAC address anymore to perform attacks; this can, in some cases, confuse the driver.
  
 Under linux, the following information applies. Under linux, the following information applies.
Line 634: Line 636:
 The driver doesn't have any way of knowing if the card has it or not, so it is displaying the message anyway. The driver doesn't have any way of knowing if the card has it or not, so it is displaying the message anyway.
  
-==== Why does using aircrack-ng with "-p 1" use 2 CPUs ====+===== Why does using aircrack-ng with "-p 1" use 2 CPUs =====
  
 The "-p" parameter controls the amount of threads used for bruteforcing the passphrase; Aircrack-ng has other tasks using the CPU as well. The "-p" parameter controls the amount of threads used for bruteforcing the passphrase; Aircrack-ng has other tasks using the CPU as well.
 +
 +===== "device descriptor read/64, error -110" with Ralink rt28xx driver in dmesg =====
 +
 +Prior to this message, it can be seen that the device connected on a USB port with xhci_hcd, indicating USB 3.0.
 +
 +This issue happens mostly in virtual machines, when the USB port is set to 3.0. To work around the issue, power off the virtual machine, edit USB settings of the VM and set it to 2.0.
 +
 +===== "xhci_hcd 0000:15:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state" or similar in dmesg =====
 +
 +The following may be present in dmesg instead: 
 +
 +  xhci_hcd 0000:00:14.0: WARN Cannot submit Set TR Deq Ptr
 +  xhci_hcd 0000:00:14.0: A Set TR Deq Ptr command is pending.
 +
 +For mt76x0u, you may see any of the following messages as well:
 +
 +  mt76x0u 1-1:1.0: rx urb failed: -71
 +  mt7601u 1-2:1.0: Error: mt7601u_mcu_wait_resp timed out
 +  mt7601u 1-2:1.0: Vendor request req:07 off:0080 failed:-71
 +  mt7601u: probe of 1-2:1.0 failed with error -110
 +
 +And for rt2800usb:
 +
 +  rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0404 with error -71
 +  rt2800_wait_csr_ready: Error - Unstable hardware
 +  rt2800usb_set_device_state: Error - Device failed to enter state 4 (-5)
 +
 +This [[https://bugzilla.kernel.org/show_bug.cgi?id=202541|bug]] affects kernels >= 4.20. It happens mostly when connecting certain USB 2.0 devices on a USB 3.0 port but it can happen with USB 3.0 devices as well. It isn't WiFi adapter's driver's fault, but an issue in the USB subsystem code.
 +
 +Until the bug is fixed, the workaround for USB 2.0 devices is to plug the device on a USB 2.0 port. If you are using a virtual machine, power off the virtual machine, and change USB port settings to 2.0.
 +
 +===== Where can I find airmon-ng on Windows or MacOS? =====
 +
 +[[airmon-ng]] is a Linux/FreeBSD script only. There is no version for Windows, MacOS, or other OS at this time.
faq.txt · Last modified: 2024/01/10 16:40 by mister_x