<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gianluca.varenni@cacetech.com
href="mailto:gianluca.varenni@cacetech.com">Gianluca Varenni</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 03, 2007 6:35
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] missing usb
adsl connection</DIV>
<DIV><BR></DIV>
<DIV><FONT face="Courier New">No, I meant the text output of the sample
application.</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">There are few samples in the guide following
WinPcap. Can you please be specific?</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Also, can you please tell me what is the
output of windump -D (capital D)? windump is available at <A
href="http://www.winpcap.org/windump">www.winpcap.org/windump</A></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Here is the output(the one I need is <FONT
face=Arial>WAN (PPP/SLIP) Interface, and it </FONT>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)-</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face=Arial>1.\Device\NPF_GenericDialupAdapter (Adapter for generic
dialup and VPN
capture)<BR>2.\Device\NPF_{3A5DC188-23D6-4FAB-A174-25BEE837D61F} (WAN
(PPP/SLIP) Interface)<BR>3.\Device\NPF_{623BC411-0BB9-4538-888B-F002A4F3DD0F}
(Realtek RTL8139 Family Fast Ethernet Adapter (Microsoft's Packet Scheduler)
)<BR></FONT></DIV>
<DIV><FONT face="Courier New">Thanks</FONT></DIV>
<DIV><FONT face="Courier New">I. Lesher</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ceo@triplebit.com
href="mailto:ceo@triplebit.com">ceo@triplebit.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=gianluca.varenni@cacetech.com
href="mailto:gianluca.varenni@cacetech.com">Gianluca Varenni</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, December 02, 2007 10:08
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] missing
usb adsl connection</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial>Dear Sir,</FONT></DIV>
<DIV><FONT face=Arial>Please follow my answers...</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT><BR></DIV>
<DIV><FONT face="Courier New"><STRONG>What does the sample application
return?</STRONG></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">The function pcap_findalldevs_ex returns
ZERO ( I hope that's what you asked for).</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New"><STRONG>Are you running on
Vista?</STRONG></FONT></DIV>
<DIV><STRONG><FONT face="Courier New"></FONT></STRONG> </DIV>
<DIV><FONT face="Courier New">The OS is XP SP2.</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Thanks </FONT></DIV>
<DIV><FONT face="Courier New">I. lesher</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Have a nice day</FONT></DIV>
<DIV><FONT face="Courier New">GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ceo@triplebit.com href="mailto:ceo@triplebit.com">ceo</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 01, 2007
6:07 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] missing
usb adsl connection</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial>Hi all,</FONT></DIV>
<DIV><FONT face=Arial>I usually use my NAT router for communication and
Winpcap works fine.</FONT></DIV>
<DIV><FONT face=Arial>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.</FONT></DIV>
<DIV><FONT face=Arial>Can someone help please</FONT></DIV>
<DIV><FONT face=Arial>Thanks</FONT></DIV>
<DIV><FONT face=Arial>I. lesher</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> /* Retrieve the device list on
the local machine */<BR> if
(pcap_findalldevs_ex(PCAP_SRC_IF_STRING, NULL, &alldevs, errbuf) ==
-1)<BR>
{<BR> fprintf(stderr,"Error in
pcap_findalldevs: %s\n",
errbuf);<BR>
exit(1);<BR> }<BR>
<BR> /* Print the list */<BR>
for(d=alldevs; d; d=d->next)<BR>
{<BR> printf("%d. %s", ++i,
d->name);<BR> if
(d->description)<BR>
printf(" (%s)\n",
d->description);<BR>
else<BR>
printf(" (No description available)\n");<BR>
}<BR></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>