-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help]: MT7925 monitor mode not working (maybe) #564
Comments
Hi @dbie0 I have one of the mt7925 M.2 card here. Let me see what I get. My system runs Ubuntu 24.10 and I'm on kernel 6.12. BTW, with kernel 6.12, your BT will start working as that is the first kernel with the BT device ID. |
@dbie0 What's that warning from dmesg about iwpriv? More info is here: |
I just finished some light testing here.
I am not seeing that here so that must be the result of something besides the mt7925u driver. I agree that using the modern tools is what needs to be done... iw and ip. What I did see is the interface going into monitor mode but something not exactly right as there were delays. It will take me some time to sort this out as I don't what is causing the problem. I do know that there are several patches in wireless-next ready to go into 6.14 and several have to do with the mt7925. Given that we do not have any USB adapters with this chip on the market yet, monitor mode testing has been limited. I'll be testing further and keeping an eye open. |
@morrownr I fully agree. Additional remarks: Linux kernel 6.11.2 is EOL and has not received latest driver fixes: airmon-ng has been used to set monitor mode And grep shows this on latest aircrack-ng git head:
@dbie0 |
Dang. @ZerBea remembers things better than I do. He must being younger or smarter or both. Your mt7925 based card is a WiFi 7 card. The Linux kernel has had code in it to refuse to operate WEXT api's once your are running WiFi 7. Aircrack-ng uses WEXT, which is long depreciated, so our kernel is refusing to run some functions. We need to find a way to run what you want to run without Aircrack-ng. Hey @ZerBea , would hcxdumptool work to do the test @dbie0 is trying to do? https://github.com/ZerBea/hcxdumptool Maybe you can get him going with it if you have time? hcxdumptool is not a full featured pen testing tool as that is not what it was designed to do but it can let us know if monitor mode is working and injection is working. Plus we know the guy who works on it (wink wink). It is not clear to me what new Aircrack-ng replacement is available so the search is on. The bottomline is that you need to give up on Aircrack-ng. The Linux kernel is shutting parts of it down, as it is designed to do. The mt7925e driver may be working in monitor mode perfectly, we just don't know it. |
It doesn't make sense to run further going tests on an EOL kernel. I suggest to update to latest kernel and to remove WEXT. Then we'll see what the dmesg log shows. |
Do you know which packages need to be removed? I have needed WEXT given that I work on old drivers but after thinking about it, I have one system where I could and should remove WEXT. I went to see what packages to delete and I could not find anything. |
On Arch WEXT is named as wireless-tools: BTW: |
@morrownr @ZerBea thanks for the support! I've tried setting the card to monitor mode with iw and ip, Proxmox VM, Ubuntu 24.10, kernel 6.12.9-zabbly+: ip link set wls16 down
iw wls16 set monitor none
ip link set wls16 up Unfortunately, after setting the link up, dmesg is cluttered with timeout messages the same way as in the 1st comment. Interestingly, when active or cook modes are used (no idea yet what those are), it seems to be working -> it brings interface up fast and withou dmesg messages. Other modes I've tested: none, fcsfail, control, and otherbss, seem to trigger the issue.
I will ditch the Proxmox part, switch to bare-metal, retest switching with iw + ip, and try to capture some frames with hcxdumptool. |
Checklist
uname
Linux kali 6.11.2-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.11.2-1kali1 (2024-10-15) x86_64 GNU/Linux
lsusb
(lspci -v) 00:10.0 Network controller: MEDIATEK Corp. Device 7925 Subsystem: AzureWave Device 6002 Physical Slot: 16 Flags: bus master, fast devsel, latency 0, IRQ 35 Memory at fe200000 (64-bit, non-prefetchable) [size=2M] Memory at fea50000 (64-bit, non-prefetchable) [size=32K] Capabilities: [80] Express Endpoint, IntMsgNum 0 Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [f8] Power Management version 3 Kernel driver in use: mt7925e Kernel modules: mt7925e
rfkill
0: phy0: Wireless LAN Soft blocked: no Hard blocked: no
dkms
iw
What happened?
Hi folks, I'm trying to use MT7925, M.2 version, in monitor mode, unfortunately it doesn't work. There is no output from airmon-ng but there are messages in dmesg.
Exact steps to reproduce I described in my GitLab: https://gitlab.com/db314/mt7925
Summary, additional details and experiments:
20241104133053
) from kernel.org and FW that comes with Kaliairmon-ng check kill
andairmon-ng start wlan0
orstart-mon.sh
script from this repo, issue persistsDid anyone successfully utilized this card it in monitor mode?
What's that warning from
dmesg
about iwpriv?dmesg log, it keeps repeating when airodump-ng is running
sometimes messages are a bit different:
The text was updated successfully, but these errors were encountered: