Ethereal-users: Re: [Ethereal-users] No capture interfaces in OS X

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 25 Jan 2003 17:42:45 -0800
On Sat, Jan 25, 2003 at 03:10:22PM +0100, Michael Tuexen wrote:
> Solution 1:
> Execute in the Terminal
> sudo chmod u+r /dev/bpf?

u+r, or go+r?  The "/dev/bpf*" entries were owned by root, as I
remember, and root already has read/write access.

Another alternative might be to change the owner of those entries to
yourself.

> You have to type in your password. This has to be repeated after each 
> reboot.

Is the problem that the "/dev/bpf" entries are supplied by fdescfs, or
is it that the union mount that the mount_fdesc man page claims happens
with fdescfs doesn't let chmod's pass through it to the underlying
on-disk file system?

It's a bit irritating Darwin doesn't let me do what FreeBSD and some
other BSDs doe, i.e.  *persistently* give myself the ability to capture
packets as myself rather than as root (although I guess FreeBSD 5.0,
using devfs by default, would require me to do it differently).