andreafabrizi / rtmpSnoop

rtmpSnoop lets you to grab the RTMP properties from live or dumped video streams.
145 stars 39 forks source link

Can't detect my ethernet adapter on Windows #22

Open lexterror opened 6 years ago

lexterror commented 6 years ago

"ValueError: Unknown network interface None"

That's the error message I keep getting on Windows when I try to start the app. And I'm not sure how I can get name for my ethernet adapter either.

dogancelik commented 6 years ago

Easy way: Open Device Manager and find your Network Adapter name easy

Open PowerShell and type the command:

get-wmiobject win32_networkadapter -filter "netconnectionstatus = 2" |  select netconnectionid, name

You will get a device list:

netconnectionid               name
---------------               ----
VMware Network Adapter VMnet1 VMware Virtual Ethernet Adapter for VMnet1
VMware Network Adapter VMnet8 VMware Virtual Ethernet Adapter for VMnet8
Ethernet                      Realtek PCIe GBE Family Controller

Then use with rtmpSnoop:

python rtmpSnoop.py -i "Realtek PCIe GBE Family Controller"

You should see the text:

rtmpSnoop v0.2.1 - The RTMP Sniffer!
Andrea Fabrizi - andrea.fabrizi@gmail.com

Starting sniffing on Realtek PCIe GBE Family Controller...