Ethereal-users: RE: [Ethereal-users] ethenet adapters not displaying in capture w indow

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

From: "Dolbow, Bill" <bdolbow@xxxxxxxxxxxxxx>
Date: Wed, 9 Apr 2003 17:07:56 -0400
Yes, and Yes.

I am running Rhat 7.3, and everything is working fine if I type 'eth1' in
the capture window.  But like Guy said it is not finding it by default under
that capture window.  

For now I will hand type it in, but that sounds like something we should
fix.


Thanks


Bill Dolbow

Concord EFS
phone: 302-791-8316
alpha pager: 6910723@xxxxxxxxxx
Please visit our web sites: www.concordefs.com and www.star.com


Please note my e-mail address has changed to: bdolbow@xxxxxxxxxxxxxx

 -----Original Message-----
From: 	Guy Harris [mailto:guy@xxxxxxxxxx] 
Sent:	Wednesday, April 09, 2003 4:40 PM
To:	Gerald Combs
Cc:	Dolbow, Bill; ethereal-users@xxxxxxxxxxxx
Subject:	Re: [Ethereal-users] ethenet adapters not displaying in
capture window

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.