[Winpcap-users] Cannot see adapter list

Jim Matthews jmatt_vi at yahoo.com
Thu Mar 9 17:53:41 GMT 2006


Thanks GV,
  
  I will log a bug report now. But I just wanted to share the results here--just in case!
  
  This is the output of the Debug version of packet.dll. Looks like a  real issue is with the NPF service. I am seeing similar issues being  reported on this site now--They might be all related!
  
  Thanks,
  ~ Jim
  
  
  
  ===
  ************Packet32: DllMain************
  PacketGetFileVersion
  PacketGetFileVersion
  dag capture library not found on this system
  PacketGetAdapterNames: BufferSize=0
  PacketGetAdapters
  PacketGetAdapters: Cycling through the adapters:
   1) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
   2) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
   3) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
   4) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
   5) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
  Adapters not found under SYSTEM\CurrentControlSet\Control\Class. Using the TCP/IP bindings.
  AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
  AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
  PacketGetAdaptersIPH
  PacketGetAdaptersIPH: retrieved needed bytes for IPH
  PacketGetAdaptersIPH: retrieved list from IPH
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
  PacketGetAdaptersIPH: unable to open the adapter
  PacketGetAdapterNames: input buffer too small
  PacketGetAdapterNames: BufferSize=61
  PacketGetAdapters
  PacketGetAdapters: Cycling through the adapters:
   1) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
   2) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
   3) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
   4) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
   5) AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
  Adapters not found under SYSTEM\CurrentControlSet\Control\Class. Using the TCP/IP bindings.
  AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
  AddAdapter
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
  PacketGetAdaptersIPH
  PacketGetAdaptersIPH: retrieved needed bytes for IPH
  PacketGetAdaptersIPH: retrieved list from IPH
  PacketOpenAdapterNPF
  OpenService failed! Error=1060PacketOpenAdapterNPF: CreateFile failed, LastError= 2
  PacketGetAdaptersIPH: unable to open the adapter
  PacketOpenAdapter: trying to open the adapter=\Device\NPF_GenericDialupAdapter
  PacketGetNetType
  PacketGetNetInfo
  
  ===
  

Gianluca Varenni <gianluca.varenni at cacetech.com> wrote:              Jim,
   
  can you please report a WinPcap bug as explained here http://www.winpcap.org/bugs.htm?
   
  My impression is that the "Symantec update" broke something,   which kind of software is it? Firewall/antivirus?
   
  Have a nice day
  GV
   
   
      ----- Original Message ----- 
    From:     Jim Matthews     
    To: winpcap-users at winpcap.org 
    Sent: Friday, March 03, 2006 12:22     PM
    Subject: [Winpcap-users] Cannot see     adapter list
    

Hello!
-----------------------
PROBLEM     OVERVIEW
-----------------------
I am using Win 2000 SP4 machine with a     "3Com 3C920 Integrated Fast Ethernet Controller(3C905C-TX)" and Winpcap 3.0.     
- When I run "windump -d", it lists no adapters. 
- Ethereal does not     list the 3Com adapter either.
- When I uninstall WinPcap 3.0 and install     Winpcap 3.1, I see only a "Generic Dial-up Adapter".
-If I go back to     Winpcap 3.0, I dont see any adapters listed!

Anyone know why this is     happening and how to fix it?

-----------------------
ADDITIONAL     DETAILS
-----------------------

Here are details of how all this     started and all investigation details.

- I was able to capture traffic     with WinPcap 3.0 on the 3Com adapter.
- There were some Symantec     updates(anti-virus) pushed to my computer by my company. I am not sure if     there were any further changes pushed during the same update.
-     After&nbs! p; a couple of days, I realized that I do not see any adapters     in the output of "windump -d" or even  Ethereal.
- I unisntalled     Winpcap 3.0 and re-installed Winpcap 3.0  to see if this fixes the     problem but it didnt.
- When I install Winpcap 3.1 instead, I see that a     "Generic Dial-up Adapter" is listed in the list of interfaces.
-     ipconfig/all shows the 3Com adapter and I can connect to the internet     successfully.
- I tried cleaning up Winpcap registry entries(Carefully) and     also made sure that packet.dll and winpcap.* files do not exist on my computer     before isntalling winpcap again. 
- There were a couple of users who     reported an issue with the SAME CARD on the ethereal mailing list but there     was no resoution listed in the mailing     lists.
http://ethereal.ntop.org/lists/ethereal-users/200009/msg00055.html
http://www.ethereal.com/lists/ethereal-users/200009/msg00036.html
-     I have two other machines in my office with the same NI! C and I am seeing the     same problem on both of them.
However, a third machine with same     configuration on which "no Symantec updates were pushed". It seems to work     fine. I tried to break this too by removing winpcap and No adapters were     listed.But I was able to fix this very easliy with a re-isntall and I can see     the 3Com adapter!


Nothing seems to work! Any help will be     appreciated!

Thanks,
-Jim        

---------------------------------
    Yahoo! Mail
Bring photos to life! New     PhotoMail makes sharing a breeze.         

---------------------------------
      
_______________________________________________
Winpcap-users     mailing     list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users


		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060309/c2b9845e/attachment.htm


More information about the Winpcap-users mailing list