Ethereal-dev: Re: [Ethereal-dev] Interface not displayed in Capture->Start combobox

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 21 Aug 2004 19:56:54 -0700
steve glass wrote:

tethereal 0.10.0a
Compiled with GLib 2.2.1, with libpcap 0.8,

OK, so libpcap has "pcap_findalldevs()", so that's probably what's being used to find the network interfaces. Just out of curiosity , what does "tcpdump -D" (tcpdump, not tethereal) print?

eth1: Link encap:UNSPEC HWaddr 00-02-2D-3D-2F-E9-00-00-00-00-00-00-00-00-00-00
~   UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
~   RX packets:372 errors:0 dropped:372 overruns:0 frame:0
~   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
~   collisions:0 txqueuelen:1000
~   RX bytes:78120 (76.2Kb)   TX bytes:0 (0.0 b)
~   Interrupt: 23 Base address:0x100

OK, no IP address, so it won't show up in SIOCGIFCONF (the primary mechanism used by libpcap on Linux if "getifaddrs()" isn't present).

What does "cat /proc/net/dev" print?