Open jbirch8865 opened 5 years ago
How many network adapters do you have (as seen in the "Change adapter settings" window aka "Network Connections" window, off of "Network and Sharing Center" control panel)? Not counting disabled adapters, do you have more than 7? My guess is you have 7, and one of the devices labeled 'Microsoft' is your wifi device.
I've found that my Intel AC8260 Wireless adapter enumerates as 'Microsoft' in the second column, as do the Bluetooth Network Connection and a VirtualBox host-only interfaces. I assume this is, as you allude to, due to some driver somewhere in the stack being written by Microsoft.
A quick and dirty way to figure out which is which is, in the "Change adapter settings" window, to disable everything except the interface you are trying to identify, then running list_devices() again. It will only yield the enabled device, which will be your wifi adapter.
I haven't figured out how to list the devices by make/model number or by the device name as used in "Change adapter settings" window.
Another way that doesn't require you to disable any interfaces is to run Wireshark and open the "Capture options" dialog window, and from there click "Manage Interfaces". This will show a mapping between the formal device name and the name we see in the "Change adapter settings" window.
Not sure if this is an issue with this python wrapper or something deeper in the dependent libs. I am trying to capture all arp traffic and am successfully able to execute WinPcapDevices.list_devices() which lists 7 devices
PS C:..\Documents\DashFun> python Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
However my Realtek wifi device is missing and therefor doesn't work using the WinPcapUtils.capture_on_and_print("Ethernet") command. Any advice?