Ethereal-users: Re: [ethereal-users] permission problem with capturing

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

From: Gerald Combs <gerald@xxxxxxxx>
Date: Wed, 22 Dec 1999 09:05:47 -0600 (EST)
On Wed, 22 Dec 1999, Lothar Seitter wrote:

> running 'ethereal' under HP-UX 11 with root permission and
> /dev/lan0 set to 777, I always get the message:
> "There are no network interfaces that can be opened.
> Please to make sure you have sufficient permission to 
> capture packets."
> 
> I start ethereal with 'etheral -i lan0' and lan0 is definitely
> the lan interface.
> 
> What am I missing???

You may need to reference the card's DLPI device directly.  We were having
trouble getting Ethereal to capture on an HP-UX 10.20 machine here.  I
found an article on Deja News that says:

"To access a particular interface, you would say "tcpdump -i /dev/dlpiN"
where N is the PPA of the interface you wish to use. You get the PPA by
looking at the output of lanscan. On 10.20, it is the same value as the
NMID. On 11.X, it is the Card Instance number."

This didn't help in our case, but it might in yours.  The full article is
at http://x34.deja.com/[ST_rn=ps]/getdoc.xp?AN=549366486 .

Another article by the same author mentions that experimental versions of
libpcap and tcpdump are available at
ftp://ftp.cup.hp.com/dist/networking/tools/ .  The article itself is at
http://x34.deja.com/[ST_rn=ps]/getdoc.xp?AN=558665378 .