if i run a Wi-Fi capture it drops if i login to a SSID
asked Dec 05 '17
updated Dec 05 '17
I keep getting "The network adapter on which the capture was being done is no longer running; the capture has stopped." I had previously installed wireshark with USB option, as well as SSH and UDP. Aside from this, I had Windows Hyper-V active. I turned off Hyper-V. And, I removed wireshark, USB and WINPCAP as well as SSH and UDP. Then I installed Wireshark again using defaults. The problem remained
Any ideas on how to resolve this to where I can have Wireshark running when I login to my SSID?
Thanks.
>

Your edit of the Question should have rather been a Comment to my Answer, so if you can re-post it as such, the clarity for anyone reading this later would be better - I can then delete this comment and re-post its topic-related part for the same reason of clarity.
To the topic - yes and no. Yes because the expected result for monitoring and promiscuous mode is the same, to make the interface let through to the capturing API also frames not intended for itself. No because the necessary configuration instructions to be sent to the driver are different, hence two different names. You can set a wireless driver/adaptor to promiscuous mode but it will not change anything as the lower layers won't receive the frames anyway; to change this, you need the monitoring mode.
As for the list of supported adaptors, I'm afraid no one tracks one. It is a combination of hardware and driver version, and while some (hw, driver) versions do support monitoring mode while associated, some do not and some do not even support monitoring mode as such.
More than that, the world of wireless protocols is so complex with all the encodings (modulations), channel widths and channel aggregations which can be chosen from, that you may run into a situation where a wireless adaptor and driver capable of running in monitoring mode is incapable to understand wireless frames which the AP is sending to devices with higher capabilities. So you then end up limiting the negotiable parameters at the access point, so that nothing which your capturing adaptor does not understand could be negotiated, but doing so affects the network throughput and may even hide the issue you're after from you because it does not occur at lower speeds/modulations.
With Mac, everything works as expected. With linux, success is not guaranteed. With Windows, success is rare.
I saw your answer:
Thanks. By monitoring mode, I assume you mean promiscuous. My adapter properties is:
Manufacturer: Intel Corporation Description: Intel(R) Dual Band Wireless-AC 8260 Driver Version: 19.50.0.11
Is there a list of support adapters?
Yes and no. Yes because the expected result for monitoring and promiscuous mode is the same, to make the interface let through to the capturing API also frames not intended for itself. No because the necessary configuration instructions to be sent to the driver are different, hence two different names. You can set a wireless driver/adaptor to promiscuous mode but it will not change anything as the lower layers won't receive the frames anyway; to change this, you need the monitoring mode.
I'm afraid no one systematically tracks that. What matters is even a combination of hardware and driver version, and while some (hw, driver) versions do support monitoring mode while associated, some do not and some do not even support monitoring mode as such.
More than that, the world of wireless protocols is so complex with all the encodings (modulations), channel widths and channel aggregations which can be chosen from, that you may run into a situation where a wireless adaptor and driver capable of running in monitoring mode is incapable to understand wireless frames which the AP is sending to devices with higher capabilities. So you then end up limiting the negotiable parameters at the access point, so that nothing which your capturing adaptor does not understand could be negotiated, but doing so affects the network throughput and may even hide the issue you're after from you because it does not occur at lower speeds/modulations.
With Mac, everything works as expected. With linux, success is not guaranteed. With Windows, success is rare.
According to Microsoft's documentation on Network Monitor mode, "While in NetMon mode, the miniport driver can only receive packets based on the current packet filter settings. The driver cannot send packets either on its own or through a call to its MiniportSendNetBufferLists function.", which pretty much means "you can be in monitor mode or you can be associated with a Wi-Fi network, but you can't do both". I.e., it may be a Windows requirement that the driver not allow you to capture in monitor mode while associated with a network, regardless of whether the adapter supports it.
(This is not a limitation imposed by other operating systems. My Mac, running macOS, has no problem doing it.)