[Winpcap-users] Packet32.PacketOpenAdapterNPF:CreateFileAfailedwith error 2 (file not found)

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Dec 21 15:33:23 GMT 2006


This is a known "issue" with winpcap. Due to the particular process we use to load the driver, the network cards are discovered only when the driver is loaded. The driver does not receive any notification when a new card is inserted in the system.

Have a nice day
GV
  ----- Original Message ----- 
  From: Yann Garcia 
  To: winpcap-users at winpcap.org 
  Sent: Thursday, December 21, 2006 6:49 AM
  Subject: RE: [Winpcap-users] Packet32.PacketOpenAdapterNPF:CreateFileAfailedwith error 2 (file not found)


  Hello Gianluca,

   

  You are right, I have to stop and restart the service Npf.

  I think the problem is on the NPF driver part, is it correct? Do you have any idea about the ways to solve this problem? I'm going to study how the driver works but I'm not a driver specialist!

   

  Thanks a lot for your help.

  Best regards,

   

  Yann

   

   


------------------------------------------------------------------------------

  De : winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] De la part de Gianluca Varenni
  Envoyé : mercredi 20 décembre 2006 16:09
  À : winpcap-users at winpcap.org
  Objet : Re: [Winpcap-users] Packet32.PacketOpenAdapterNPF: CreateFileAfailedwith error 2 (file not found)

   

  Have you tried either rebooting or restarting the WinPcap capture driver after having inserted the PCMCIA cards?

   

  You can restart the driver by opening a command prompt and typing

   

  "net stop start" and then "net start npf"

   

  Hope it helps

  GV

   

    ----- Original Message ----- 

    From: Yann Garcia 

    To: winpcap-users at winpcap.org 

    Sent: Wednesday, December 20, 2006 1:05 AM

    Subject: [Winpcap-users] Packet32.PacketOpenAdapterNPF: CreateFileA failedwith error 2 (file not found)

     

    Hi all,

     

    I work with WinPcap 4.0 beta 3 on a Dell Inspiron laptop. The OS is a Win XP Pro SP2.

    My problem is that all PCMCIA cards aren't found (error 2) by CreateFileA(), called by PacketOpenAdapterNPF() function of the source file 'Packet32.c'. I've done my tests with Sony Ericsson GC79 and Option GlobeTrotter PCMCIA cards.

     

    I've searched in the archive of the Winpcap mailing list but I've not found any explanation or solution to my problem.

    Please anyone can help me?

     

    Thanks a lot for your help,

     

    Best regards

     

    Yann

     


----------------------------------------------------------------------------

    _______________________________________________
    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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20061221/b41ca2c1/attachment-0001.htm


More information about the Winpcap-users mailing list