[Winpcap-users] missing usb adsl connection

Gianluca Varenni gianluca.varenni at cacetech.com
Sun Dec 2 01:16:16 GMT 2007


What does the sample application return?
Are you running on Vista?

Have a nice day
GV
  ----- Original Message ----- 
  From: ceo 
  To: winpcap-users at winpcap.org 
  Sent: Saturday, December 01, 2007 6:07 AM
  Subject: [Winpcap-users] missing usb adsl connection


  Hi all,
  I usually use my NAT router for communication and Winpcap works fine.
  Trying to connect with usb adsl modem fails since the following code doen't see it - it sees just the Ethernet adapter.  I tryed with Ethereal and I could sniff the modem easily. This code is taken from the examples following the product.
  Can someone help please
  Thanks
  I. lesher

      /* Retrieve the device list on the local machine */
      if (pcap_findalldevs_ex(PCAP_SRC_IF_STRING, NULL, &alldevs, errbuf) == -1)
      {
          fprintf(stderr,"Error in pcap_findalldevs: %s\n", errbuf);
          exit(1);
      }
      
      /* Print the list */
      for(d=alldevs; d; d=d->next)
      {
          printf("%d. %s", ++i, d->name);
          if (d->description)
              printf(" (%s)\n", d->description);
          else
              printf(" (No description available)\n");
      }



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


  _______________________________________________
  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/20071202/4fbf97ef/attachment.htm


More information about the Winpcap-users mailing list