[Winpcap-users] Disappearing Interface
Craig Votava
craig at alcatel-lucent.com
Tue Dec 12 22:35:16 GMT 2006
Folks-
I'm using winpcap via Win32-NetPacket, the perl module
by Jean-Louis Morel. I think I may have run into a
problem with winpcap 3.1 and wanted to verify things
here before going any further.
On some machines (Levono T60 in particular) that have
a wired and wireless ethernet interface on the
motherboard, the wired interface will disappear when
the wireless one is being used. This can be verified
with "netstat /all", "getmac", and various WMI queries
in both states.
The same thing seems to be happening with winpcap 3.1,
calling PacketGetAdapterNames(), via the GetAdapterNames()
perl call from the NetPacket perl module:
testapp.pl when T60 is using wired motherboard ethernet connection:
1 - Intel(R) PRO/Wireless 3945ABG Network Connection (Microsoft's
Packet Scheduler)
\Device\NPF_{7F8B1DE7-B0AA-40C0-8D89-D0325F269899}
2 - Intel(R) PRO/1000 PL Network Connection (Microsoft's Packet
Scheduler)
\Device\NPF_{8BAA28BF-8565-43BE-81C0-E7BBD94187D3}
3 - Generic dialup adapter
\Device\NPF_GenericDialupAdapter
testapp.pl when T60 is using wireless motherboard ethernet connection:
1 - Intel(R) PRO/Wireless 3945ABG Network Connection (Microsoft's
Packet Scheduler)
\Device\NPF_{7F8B1DE7-B0AA-40C0-8D89-D0325F269899}
2 - Generic dialup adapter
\Device\NPF_GenericDialupAdapter
The only solution I know of is to use the call
SetupDiEnumDeviceInterfaces() to "see" all of the
interfaces (including the invisible ones).
Any thoughts on this?
Thanks
-Craig
More information about the Winpcap-users
mailing list