Ethereal-users: Re: [ethereal-users] HELP

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 6 Aug 2000 20:04:05 -0700
On Sun, Aug 06, 2000 at 07:50:42PM -0700, Dragos Ruiu wrote:
> Or 4) you rebuilt the kernel with BPF support but you didn't:
> 
> 	cd /dev;  /dev/MAKEDEV bpf0

Yeah, I thought of that one afterwards; as the error was "No such file
or directory", that's probably the cause.

If the kernel has a value in the "bpfilter" line other than 1, he
probably wants to do

	./MAKEDEV bpfN

where "N" is 1 less than the value in the "bpfilter" line.

(Oh, for clone devices, so you can just open "/dev/bpf" and get back
either a handle on a non-busy BPF device, or EBUSY, and not have to make
sure you have enough BPF devices or have the code check each of the
devices.  Heck, that'd be nice for pseudo-ttys as well; that's how SVR4
STREAMS ptys work - there are separate devices for each slave, so that
you can have, for each pseudo-tty session, an entry in "/dev", but
there's only one "/dev/ptmx" master device.

There's been some talk in one of the FreeBSD mailing lists about doing a
devfs - there is one in the source tree, but it's not being maintained
currently and I'm not sure it actually works - and one of the things
being talked about there is clone device support.)