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 revision Previous revision
Next revision
Previous revision
faq [2019/03/28 18:36]
mister_x [What is the best wireless card to buy ?] Updated
faq [2020/08/17 21:18] (current)
mister_x FAQ: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state
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 622: Line 624:
 A hard block usually is a physical switch on the computer. It can either be a flip switch on the side of the computer, a key combination to press on the keyboard or a setting to enable in the BIOS. A hard block usually is a physical switch on the computer. It can either be a flip switch on the side of the computer, a key combination to press on the keyboard or a setting to enable in the BIOS.
  
-In some cases, if wireless was disabled before Windows was powered off, it will appear like a hard block and the trick is to enable wireless in Windows then reboot. +In some cases, if wireless was disabled before Windows was powered off, it will appear like a hard block and the trick is to enable wireless in Windows then reboot
 + 
 +===== "ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:03:00.0.bin" and similar in dmesg  ===== 
 + 
 +TL;DR: even if it sounds bad, don't worry about it. 
 + 
 +If a firmware is missing, then your card won't work at all: no interface, scanning or any other function. Firmware may have issues/bugs but that's a different story. 
 + 
 +On desktop/laptop cards, the above mentioned file is stored in a dedicated EEPROM on the card itself, so it's not needed. That data is typically only needed on embedded devices, such as routers, or AP, that are lacking the EEPROM, and in that case, it is stored on the filesystem. The reason behind it is cheaper to store it, than adding extra components. 
 + 
 +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 ===== 
 + 
 +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.1553794592.txt.gz · Last modified: 2019/03/28 18:36 by mister_x