Ethereal-users: Re: [Ethereal-users] X11 problem /Ethereal interface

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

From: Justin Walker <justin@xxxxxxx>
Date: Fri, 12 Mar 2004 19:36:56 -0800

On Friday, March 12, 2004, at 06:58 PM, PRC-2000 wrote:

I was getting the same error below until I re-installed X11 from the Mac OS
X Panther CD #3.

Gtk-WARNING **: cannot open display: :0.0


Now, when I launch Ethereal, and try to select the interface (Airport Card,
eth1) I get the following error:

The capture session could not be initiated ((no devices found) /dev/bpf0:
Permission denied). Please check to make sure you have sufficient
permissions, and that you have the proper interface or pipe selected.

There are no interfaces to choose from when I press Ctrl+K.

As the error message tells you, check to make sure you have sufficient permissions. Are you running as root? In order to open the packet filter devices (bpfn), you have to either be the owner, be root, or the permissions have to be set so that "other" can read them (which is not recommended). Since these devices are generally owned by root (and it's not recommended to change that), you have to be root to read them.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |    Men are from Earth.
                                       |    Women are from Earth.
                                       |       Deal with it.
*--------------------------------------*-------------------------------*