Skip to content

Commit 5be2ad7

Browse files
committed
various updates
2 parents 93a6a1b + dc864e0 commit 5be2ad7

6 files changed

+92
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Note: Please start by reading the first menu item, USB WiFi adapter information
3434

3535
12. [Compiling the Linux Mainline Kernel](./home/Compiling_the_Linux_Mainline_Kernel.md)
3636

37-
13. FAQ - soon to be added.
37+
13. [Frequently Asked Questions](./home/FAQ.md)
3838

3939
-----
4040

home/AP_Mode/Bridged_Wireless_Access_Point.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ Add the Environment=DAEMON_OPTS= line as shown below (remember to change <your_h
621621
Environment=DAEMON_OPTS="-d -K -f /home/<your_home>/hostapd.log"
622622
```
623623

624-
Change RestartSec=0 line as shown below
624+
Change RestartSec= line as shown below
625625

626626
```
627627
RestartSec=3

home/FAQ.md

+73
Original file line numberDiff line numberDiff line change
@@ -1 +1,74 @@
1+
Frequently Asked Questions (FAQ)
2+
3+
Question: I am having problems with my Alfa AXML or Alfa AXM or Comfast CF-953AX. The wifi is not working. It seems to crash when coming up. What can I do?
4+
5+
Answer: This is a known problem that started in early 2024 around the time kernel 6.7 was released. There have been unsuccessful attempts to fix this problem. It is a strange problem in that it seems that bluetooth is involved. Most adapters with the mt7921au chipset do not have this problem. The 3 adapters listed in the question are the only 3 known to have this problem so it appears that something specific to these 3 adapters is causing the problem. Right now all that can be offered is a workaround.
6+
7+
This workaround was posted by @ZerBea :
8+
9+
Use one of the following Linux kernels:
10+
11+
$ uname -r
12+
13+
6.6.x
14+
15+
or
16+
17+
$ uname -r
18+
19+
6.12.x
20+
21+
Make sure you're running latest WiFi firmware:
22+
23+
[18615.766176] mt7921u 1-9.3:1.3: WM Firmware Version: ____010000, Build Time: 20241106151045
24+
25+
Disable BT stack:
26+
27+
echo "install btusb /bin/false" >> /etc/modprobe.d/local-dontload.conf
28+
29+
reboot or unload btusb
30+
31+
connect the AXML to an USB2 port or a USB2 hub
32+
33+
Now dmesg should print this:
34+
35+
```
36+
[20844.686881] usb 1-9.3: new high-speed USB device number 12 using xhci_hcd
37+
[20844.818337] usb 1-9.3: New USB device found, idVendor=0e8d, idProduct=7961, bcdDevice= 1.00
38+
[20844.818343] usb 1-9.3: New USB device strings: Mfr=6, Product=7, SerialNumber=8
39+
[20844.818346] usb 1-9.3: Product: Wireless_Device
40+
[20844.818347] usb 1-9.3: Manufacturer: MediaTek Inc.
41+
[20844.818349] usb 1-9.3: SerialNumber: 000000000
42+
[20845.018645] usb 1-9.3: reset high-speed USB device number 12 using xhci_hcd
43+
[20845.159101] mt7921u 1-9.3:1.3: HW/SW Version: 0x8a108a10, Build Time: 20241106151007a
44+
[20845.420854] mt7921u 1-9.3:1.3: WM Firmware Version: ____010000, Build Time: 20241106151045
45+
[20847.020857] mt7921u 1-9.3:1.3 wlp22s0f0u9u3i3: renamed from wlan0
46+
47+
```
48+
49+
test monitor mode and packet injection:
50+
51+
$ sudo hcxdumptool --rcascan=active --tot=1 -c 1a
52+
53+
...
54+
55+
^C
56+
57+
132 Packet(s) captured by kernel
58+
59+
0 Packet(s) dropped by kernel
60+
61+
57 PROBERESPONSE(s) captured
62+
63+
Monitor mode (device entered promiscuous mode) and packet injection (57 PROBERESPONSE(s) captured) is working!
64+
65+
exit on sigterm
66+
67+
$ sudo dmesg
68+
69+
```
70+
[21146.046337] mt7921u 1-9.3:1.3 wlp22s0f0u9u3i3: entered promiscuous mode
71+
[21153.630136] mt7921u 1-9.3:1.3 wlp22s0f0u9u3i3: left promiscuous mode
72+
73+
```
174

home/Recommended_Adapters_for_Kali_Linux.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ other adapters that may work but this list is designed to be a list of
88
the best adapters that are available for purchase new at this time at
99
reasonable prices.
1010

11-
Note: The adapter that meets your needs can depend on exactly what you
12-
plan to do so asking questions is a good idea.
11+
Note: The adapter that best meets your needs can depend on exactly what
12+
you plan to do so asking questions is a good idea.
1313

14-
Note: All listed adapters are 1) single-state (no Windows driver onboard), 2) single-function (wifi only) and 3) use Linux in-kernel drivers. These 3 characteristics contribute to the adapters being stable and reliable.
14+
Note: All listed adapters are 1) single-state (no Windows driver onboard), 2) single-function (wifi only) and 3) use Linux standards-compliant, in-kernel drivers. These 3 characteristics contribute to the adapters being stable, reliable and easy to use.
1515

1616
| Adapter | Chipset | Class | Bands | USB Version | WPA3 | Range |
1717
|----------------------------------------------|-----------|---------|-----------|-------------|------|-----------|
@@ -30,6 +30,6 @@ Note: Information about and links to the above adapters can be found in the Plug
3030

3131
[2] Supports Active Monitor Mode.
3232

33-
[3] Monitor mode works well, very well, but Active Monitor Mode appears to be broken for now (2024-09-15). Active Monitor Mode is a feature within Monitor Mode that only select users need so it may not be an issue for you.
33+
[3] Monitor mode works well, very well, but Active Monitor Mode appears to be broken for now (2024-09-15). Active Monitor Mode is a feature within Monitor Mode that only select users need so it may not be an issue for you. Edit on 2025-01-15: I am seeing some reports that Active Monitor mode is now working on the mt7921au chip with kernel 6.12 and later. I have not confirmed this myself so further user reports would be helpful.
3434

3535
Note: Your input to maintain this list is welcome.

home/USB_WiFi_Adapters_that_are_supported_with_Linux_in-kernel_drivers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ The Bad:
310310
- Not PnP yet: A PATCH is scheduled to go into kernel 6.4. (Editor's note: the patch was merged in kernel 6.4.)
311311
- Cost: At $99 USD MSRP this adapter is not inexpensive. (Editor's note: the price has been falling.)
312312

313-
Overall: This adapter is a heavy seller. It sells more than 1000 units per month on Amazon. Reviews are good for Linux and Windows. I cannot recall a single user of this adapter reporting anything negative. This appears to be a good adapter to use with Linux.
313+
Overall: Reviews are good for Linux and Windows. I cannot recall a single user of this adapter reporting anything negative. This appears to be a good adapter to use with Linux.
314314

315315
```
316316
>================================<

home/Using_USB_Adapter_in_VirtualBox.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Using a USB WiFi Adapter with VirtualBox
1+
## Using a USB WiFi Adapter with VirtualBox
22

33
Updated: 2025-01-28
44

@@ -15,9 +15,16 @@ guide should apply broadly to the task of making a USB WiFi adapter work
1515
with VirtualBox. .
1616

1717
This guide is intended for those who are facing issues when using an
18+
<<<<<<< HEAD
1819
adapter with Kali as it is common for beginning Kali users to have
1920
problems if running in a VM. However, the priciples in this guide should
2021
work for most Linux distros.
22+
=======
23+
adapter with Kali but the general principles apply to most VM's as
24+
USB WiFi adapters are generally not set up automatically in VM's. If
25+
you are running Kali on VirtualBox from a Windows host and experiencing
26+
problems, here are some troubleshooting steps to help you out:
27+
>>>>>>> dc864e0fac2c836c1fed788c75e4fb95000616a2
2128
2229
If you are running Kali on VirtualBox from a Windows host and
2330
experiencing problems, here are some troubleshooting steps to help you
@@ -79,4 +86,8 @@ continue with the additional steps.
7986
By following these steps, you should be able to resolve any issues with
8087
the adapter's compatibility with Kali on VirtualBox.
8188

89+
<<<<<<< HEAD
8290
If you have ideas to improve this guide, please post in `Issues`.
91+
=======
92+
If you have ideas to improve the above guide, please post in `Issues`.
93+
>>>>>>> dc864e0fac2c836c1fed788c75e4fb95000616a2

0 commit comments

Comments
 (0)