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: steve glass <stiabhan@xxxxxxxxxxxxxx>
Date: Sun, 22 Aug 2004 14:36:13 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guy Harris wrote:

| 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?
There are several libcaps on this machine. In /usr/include + /usr/lib 
its ridiculously out of date. Removed them anyway but the problem is 
simply...
| 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).
Bingo! We have a winner. I was configuring the interface +promisc 
without bothering to set an IP address (reasoning it didn't need one) 
but now have it working properly.
Many thanks,

Steve

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBKCK9519acpy1/C4RAtNbAJ9uVAcx9DQlTkcRV09YfnjvYuFl9gCeOqUi
8ZequSy4tALp8hqaiyXgjRA=
=XutL
-----END PGP SIGNATURE-----