[Winpcap-users] missing usb adsl connection

ceo at triplebit.com ceo at triplebit.com
Tue Dec 11 17:37:28 GMT 2007


Dear Mr. Gianluca Varenni,
Here is our previous correspondence regarding missing interfaces by the function  pcap_findalldevs_ex. Following your advise I see that the sample application works fine and exposes all the valid interfaces but when I do it in my application I miss the USB ADSL connection. This happens even if I import the source code from the sample application instead of my own original code(of course, without modifying the include macro's - just the code itself).

Can you farther help please?

Regards
I. lesher
  ----- Original Message ----- 
  From: Gianluca Varenni 
  To: ceo ; winpcap-users at winpcap.org 
  Sent: Sunday, December 02, 2007 3:16 AM
  Subject: Re: [Winpcap-users] missing usb adsl connection


  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/20071211/afe7f4a7/attachment.htm


More information about the Winpcap-users mailing list