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
faq [2019/10/28 22:16] – device descriptor read/64, error -110 mister_xfaq [2024/01/10 16:40] (current) – [Any GPS recommendation ?] Add GPSes 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 AWUS036AXML (a/b/g/n/ac/ax, WiFi 6E) is the best performing card, with a stable driver 
-  * 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 AWUS036AXM (a/b/g/n/ac/ax, WiFi 6Ehas been reported as a bit less sensitive than the AWUS036AXML
  
 Runner ups: Runner ups:
 +
 +  * 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 3 yet; it works on the Raspberry Pi 4.
 +
 +Older adapters:
  
   * Alfa AWUS036H [b/g USB]   * Alfa AWUS036H [b/g USB]
Line 41: Line 46:
   * BU-353   * BU-353
   * NL-402U USB   * NL-402U USB
 +  * VK-192 devices
 +  * Stratux GPYes 2.0
  
 However, anything that is [[http://www.catb.org/gpsd/hardware.html|compatible with GPSd]] will work.  However, anything that is [[http://www.catb.org/gpsd/hardware.html|compatible with GPSd]] will work. 
Line 190: Line 197:
  
 ===== 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 643:
 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 ====+===== "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. 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. 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.
 +
 +===== My driver doesn't work anymore, or it does something weird, how to debug? =====
 +
 +We are assuming it used to work in the past, and that you have checked that network managers were killed prior to putting the card in monitor mode.
 +
 +The next step would be to look into 'dmesg' to see if the driver outputs any error or warnings. 
 +If the card is USB, clearing it using 'dmesg -c' before plugging the adapter may help, by decreasing the amount of messages you have to go through.
 +
 +===== Does Aircrack-ng suite work with WSL or WSL2? =====
 +
 +No.
faq.1572297370.txt.gz · Last modified: 2019/10/28 22:16 by mister_x