Ethereal-users: Re: [Ethereal-users] ethenet adapters not displaying in capture window

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 9 Apr 2003 13:39:30 -0700
On Wed, Apr 09, 2003 at 03:31:38PM -0500, Gerald Combs wrote:
> I'm assuming you're running Linux.  Is eth1 up, e.g. have you run
> 'ifconfig eth1 up'?

The problem is, I suspect, that, on Linux, SIOCGIFCONF only finds
interfaces that have IP addresses, and that's what Ethereal uses to get
the list of interfaces.

The "pcap_findalldevs()" routine in recent libpcaps will, on Linux, also
look in "/proc/net/dev" for interfaces.  At some point we should
probably arrange that Ethereal use "pcap_findalldevs()" if present.