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
Npcap WLANHELPER unable to select channel with NETGEAR A6200 #132
Comments
Just in case there is a question about having all the right files in the right directory path. Below is a readout. Directory of C:\Windows\System32\Npcap 10/08/2019 04:36 AM .10/08/2019 04:36 AM .. 09/04/2019 04:24 PM 102,712 NpcapHelper.exe 09/04/2019 04:24 PM 161,592 Packet.dll 09/04/2019 04:24 PM 64,312 WlanHelper.exe 09/04/2019 04:24 PM 387,384 wpcap.dll 4 File(s) 716,000 bytes 2 Dir(s) |
@matthias-he : i've been adding debug code to wlanhelper and compiling it to explore our error message here. it looks like enumeration of devices is also failing (PacketGetAdapterNames) wlanhelper doesn't directly use this function, but you can test it with windump for npcap https://github.com/hsluoyz/WinDump/releases Run windump -D - do you get any output? You should get a list of devices. If you get no output, it's no good. I have compiled a debug version of packet.dll that logs the problem when i try to retrieve mode for my adapter: [000056EC] 2019-10-23 23:50:19 <-- PacketGetAdaptersIPH Compare to successful mode retrieval on Windows 7 machine: [00001520] 2019-10-24 00:09:57 --> PacketFindAdInfo |
Here is a Windump readout followed by the WiFi hardware detection of wlanhelper. The Netgear A6200 driver version is 6.32.145.8 dated 4/25/2014. That is the latest driver version 1.0.0.35 from the Netgear web site. I find it curious that in the Windump readout the Netgear A6200 device, " 6.\Device\NPF_{F5E950FC-D049-4C10-938D-F59B05888BE8} ", is referenced by the vendor name 'Microsoft' rather than 'Netgear' as I would have expected. Microsoft Windows [Version 10.0.18362.418] C:\Windows\System32\Npcap>dir Directory of C:\Windows\System32\Npcap 10/24/2019 01:22 AM .10/24/2019 01:22 AM .. 09/04/2019 04:24 PM 102,712 NpcapHelper.exe 09/04/2019 04:24 PM 161,592 Packet.dll 06/02/2017 11:13 PM 584,704 WinDump.exe 09/04/2019 04:24 PM 64,312 WlanHelper.exe 09/04/2019 04:24 PM 387,384 wpcap.dll 5 File(s) 1,300,704 bytes 2 Dir(s) 7,899,918,336 bytes free C:\Windows\System32\Npcap>windump -D C:\Windows\System32\Npcap>wlanhelper -i
|
So you are not having enumeration issues. I think it would be good if you got a debug packet.dll. It was not difficult to compile with visual studio. You can get verbose logging from wlanhelper that way. |
Update: 0.992 Works on Windows 10! Turns out my problem on Windows 10 was that even after uninstall, npcap.sys version 0.9983 was left in the C:\Windows\System32\drivers directory. So when I reinstalled 0.992 it was not overwritten. Try this: Try changing mode with wlanhelper now: channel change: Wireshark captures packets! |
The last advice works for me either, so I managed to get properly working commands. However Intel(R) Wireless-AC 9560 160MHz seem to support only |
The unfortunate coda this story: Even after getting my A6210 working I find that it drops too many packets in monitor mode to be useful, even under Linux, so it is not a npcap problem. I have switched to a Linksys WUSB6300 which does a great job. No luck getting that one to work with npcap at all, so I am using a Kali Linux VM and doing usb-passthrough. The latest Kali dkms drivers work great. In retrospect I spent way too much time on this issue trying to get a $50 adapter working. It isn't worth your time and effort. Try something else. |
Just for reference here is how to check the file version: |
I'll bump this: npcap-0.9983 seems to have broken WlanHelper. Still applies in the latest versions
If i had to guess which commit of v0.9982...v0.9983 is causing this, I'd go for @dmiller-nmap sorry for bothering, have you had a change to look into this? Thanks a lot |
Looks like 1.00 is still not working regarding this issue:
Now with 0.9982 (not even rebooted):
|
The below screenshot command sequence (in administrator mode) speaks for itself. WLANHELPER can set the Netgear A6200 into monitor mode but cannot set it to a specific WiFi channel or frequency.
Npcpap was uninstalled and reinstalled with option "Support raw 802.11 traffic" checked, and the system was rebooted between uninstall and reinstall. No success.
C:\Windows\System32\Npcap>netsh wlan show interfaces
There are 2 interfaces on the system:
C:\Windows\System32\Npcap>wlanhelper f5e950fc-d049-4c10-938d-f59b05888be8 mode monitor
Success
C:\Windows\System32\Npcap>wlanhelper f5e950fc-d049-4c10-938d-f59b05888be8 channel 6
Error: makeOIDRequest::My_PacketOpenAdapter error (to use this function, you need to check the "Support raw 802.11 traffic" option when installing Npcap)
Failure
C:\Windows\System32\Npcap>wlanhelper f5e950fc-d049-4c10-938d-f59b05888be8 freq 2437
Error: makeOIDRequest::My_PacketOpenAdapter error (to use this function, you need to check the "Support raw 802.11 traffic" option when installing Npcap)
Failure
The text was updated successfully, but these errors were encountered: