Dear All,<br><br>I am using Windows 7 Home Premium 64-bit.<br><br>I copied and pasted the codes from <a href="http://www.winpcap.org/docs/docs_411/html/group__wpcap__tut3.html">http://www.winpcap.org/docs/docs_411/html/group__wpcap__tut3.html</a> to Visual C++ 2008 Express and compiled it.<br>
<br>It seems like the application does not detect some of my network adapters.<br><br>I tried to run "ipconfig /all" command in the command prompt, and the following are the output:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
C:\Users\user>ipconfig /all<br><br>Windows IP Configuration<br><br> Host Name . . . . . . . . . . . . : user-PC<br> Primary Dns Suffix . . . . . . . :<br> Node Type . . . . . . . . . . . . : Hybrid<br> IP Routing Enabled. . . . . . . . : No<br>
WINS Proxy Enabled. . . . . . . . : No<br><br>Ethernet adapter MyNetwork - VPN Client:<br><br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : VPN Client Adapter - MyNetwork<br>
Physical Address. . . . . . . . . : 00-AC-3D-2C-CF-D8<br> DHCP Enabled. . . . . . . . . . . : Yes<br> Autoconfiguration Enabled . . . . : Yes<br><br>Wireless LAN adapter Wireless Network Connection 2:<br><br> Media State . . . . . . . . . . . : Media disconnected<br>
Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter<br> Physical Address. . . . . . . . . : F6-7B-CB-81-B6-A2<br> DHCP Enabled. . . . . . . . . . . : Yes<br>
Autoconfiguration Enabled . . . . : Yes<br><br>Wireless LAN adapter Wireless Network Connection:<br><br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Atheros AR5B93 Wireless Network Adapter<br>
Physical Address. . . . . . . . . : F0-7B-CB-81-B6-A2<br> DHCP Enabled. . . . . . . . . . . : Yes<br> Autoconfiguration Enabled . . . . : Yes<br><br>Ethernet adapter Local Area Connection:<br><br> Media State . . . . . . . . . . . : Media disconnected<br>
Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Atheros AR8151 PCI-E Gigabit Ethernet Con<br>troller<br> Physical Address. . . . . . . . . : C8-0A-A9-4A-D4-72<br> DHCP Enabled. . . . . . . . . . . : Yes<br>
Autoconfiguration Enabled . . . . : Yes<br><br>Ethernet adapter VirtualBox Host-Only Network:<br><br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter<br>
Physical Address. . . . . . . . . : 08-00-27-00-64-E6<br> DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br> Link-local IPv6 Address . . . . . : fe80::9d48:38ec:d383:4dee%27(Preferred)<br>
IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)<br> Subnet Mask . . . . . . . . . . . : 255.255.255.0<br> Default Gateway . . . . . . . . . :<br> DHCPv6 IAID . . . . . . . . . . . : 805830695<br> DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-49-CF-47-C8-0A-A9-4A-D4-72<br>
<br> DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1<br> fec0:0:0:ffff::2%1<br> fec0:0:0:ffff::3%1<br> NetBIOS over Tcpip. . . . . . . . : Enabled<br>
<br>Ethernet adapter VMware Network Adapter VMnet1:<br><br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet<br>1<br> Physical Address. . . . . . . . . : 00-50-56-C0-00-01<br>
DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br> Link-local IPv6 Address . . . . . : fe80::6115:6d2d:afe4:a66d%41(Preferred)<br> IPv4 Address. . . . . . . . . . . : 192.168.152.1(Preferred)<br>
Subnet Mask . . . . . . . . . . . : 255.255.255.0<br> Default Gateway . . . . . . . . . :<br> DHCPv6 IAID . . . . . . . . . . . : 1107316822<br> DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-49-CF-47-C8-0A-A9-4A-D4-72<br>
<br> DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1<br> fec0:0:0:ffff::2%1<br> fec0:0:0:ffff::3%1<br> NetBIOS over Tcpip. . . . . . . . : Enabled<br>
<br>Ethernet adapter VMware Network Adapter VMnet8:<br><br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet<br>8<br> Physical Address. . . . . . . . . : 00-50-56-C0-00-08<br>
DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br> Link-local IPv6 Address . . . . . : fe80::6135:a580:48d9:b458%43(Preferred)<br> IPv4 Address. . . . . . . . . . . : 192.168.254.1(Preferred)<br>
Subnet Mask . . . . . . . . . . . : 255.255.255.0<br> Default Gateway . . . . . . . . . :<br> DHCPv6 IAID . . . . . . . . . . . : 1140871254<br> DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-49-CF-47-C8-0A-A9-4A-D4-72<br>
<br> DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1<br> fec0:0:0:ffff::2%1<br> fec0:0:0:ffff::3%1<br> NetBIOS over Tcpip. . . . . . . . : Enabled<br>
<br>Tunnel adapter isatap.{301CF116-89E0-4037-AD49-1E03408FB1F4}:<br><br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Microsoft ISATAP Adapter<br>
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0<br> DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br><br>Tunnel adapter isatap.{65F0F8C3-6333-4869-A03E-275BEDBDFFE4}:<br>
<br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3<br> Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0<br>
DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br><br>Tunnel adapter Teredo Tunneling Pseudo-Interface:<br><br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br>
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface<br> Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0<br> DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br>
<br>Tunnel adapter isatap.{C99B10E4-AF74-4E16-B32C-1721E313412B}:<br><br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4<br>
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0<br> DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br><br>Tunnel adapter isatap.{8325B539-7117-4591-8E47-CDDB303BD623}:<br>
<br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Microsoft ISATAP Adapter #6<br> Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0<br>
DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br><br>Tunnel adapter isatap.{04018DBA-0F4A-40CA-AA8D-978389D0E3BF}:<br><br> Media State . . . . . . . . . . . : Media disconnected<br>
Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Microsoft ISATAP Adapter #7<br> Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0<br> DHCP Enabled. . . . . . . . . . . : No<br>
Autoconfiguration Enabled . . . . : Yes<br><br>Tunnel adapter isatap.{1400CEE9-3B52-4DFC-9ABD-74A51F5323AC}:<br><br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br>
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2<br> Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0<br> DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br>
<br>Tunnel adapter isatap.{3A465CF1-C001-42E7-9D12-C3270A536B58}:<br><br> Media State . . . . . . . . . . . : Media disconnected<br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5<br>
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0<br> DHCP Enabled. . . . . . . . . . . : No<br> Autoconfiguration Enabled . . . . : Yes<br></blockquote><br>When I run my application, the following are the output:<br>
<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">1. rpcap://\Device\NPF_{3A465CF1-C001-42E7-9D12-C3270A536B58} (Network adapter '<br>
Microsoft' on local host)<br>2. rpcap://\Device\NPF_{65F0F8C3-6333-4869-A03E-275BEDBDFFE4} (Network adapter '<br>VPN Client Adapter - mynetwork' on local host)<br>3. rpcap://\Device\NPF_{C99B10E4-AF74-4E16-B32C-1721E313412B} (Network adapter '<br>
Sun' on local host)<br>4. rpcap://\Device\NPF_{301CF116-89E0-4037-AD49-1E03408FB1F4} (Network adapter '<br>Atheros L1C PCI-E Ethernet Controller' on local host)<br>5. rpcap://\Device\NPF_{1400CEE9-3B52-4DFC-9ABD-74A51F5323AC} (Network adapter '<br>
Microsoft' on local host)<br>6. rpcap://\Device\NPF_{04018DBA-0F4A-40CA-AA8D-978389D0E3BF} (Network adapter '<br>VMware Virtual Ethernet Adapter' on local host)<br>7. rpcap://\Device\NPF_{8325B539-7117-4591-8E47-CDDB303BD623} (Network adapter '<br>
VMware Virtual Ethernet Adapter' on local host)<br>Enter the interface number (1-7):<br></blockquote><div><br>According to the application output above, the application does not detect my wireless adapter "Atheros AR5B93 Wireless Network Adapter" together with other "tunnel" adapters. Why?<br>
<br>Regards,<br></div>