[Winpcap-users] missing usb adsl connection
Gianluca Varenni
gianluca.varenni at cacetech.com
Mon Dec 3 20:58:00 GMT 2007
This is the expected behavior. Dialup connections show up only when the connections are established. If you need to capture from the connection handshake on, you need to use the device called "Adapter for generic dialup and VPN capture".
Have a nice day
GV
----- Original Message -----
From: ceo at triplebit.com
To: winpcap-users at winpcap.org
Sent: Monday, December 03, 2007 12:36 PM
Subject: Re: [Winpcap-users] missing usb adsl connection
----- Original Message -----
From: Gianluca Varenni
To: winpcap-users at winpcap.org
Sent: Monday, December 03, 2007 6:35 PM
Subject: Re: [Winpcap-users] missing usb adsl connection
No, I meant the text output of the sample application.
There are few samples in the guide following WinPcap. Can you please be specific?
Also, can you please tell me what is the output of windump -D (capital D)? windump is available at www.winpcap.org/windump
Here is the output(the one I need is WAN (PPP/SLIP) Interface, and it shows up only when USB modem is connected. The "for" loop that I attached runs just one cycle and doesn't reveal both, the first and the second devices)-
1.\Device\NPF_GenericDialupAdapter (Adapter for generic dialup and VPN capture)
2.\Device\NPF_{3A5DC188-23D6-4FAB-A174-25BEE837D61F} (WAN (PPP/SLIP) Interface)
3.\Device\NPF_{623BC411-0BB9-4538-888B-F002A4F3DD0F} (Realtek RTL8139 Family Fast Ethernet Adapter (Microsoft's Packet Scheduler) )
Thanks
I. Lesher
----- Original Message -----
From: ceo at triplebit.com
To: Gianluca Varenni
Sent: Sunday, December 02, 2007 10:08 AM
Subject: Re: [Winpcap-users] missing usb adsl connection
Dear Sir,
Please follow my answers...
What does the sample application return?
The function pcap_findalldevs_ex returns ZERO ( I hope that's what you asked for).
Are you running on Vista?
The OS is XP SP2.
Thanks
I. lesher
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
----------------------------------------------------------------------------
_______________________________________________
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/20071203/47c7afb9/attachment.htm
More information about the Winpcap-users
mailing list