Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 1998 14:30:00 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Greg Ryan <greg@safetyweb.com.au>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: tcpdump configuration
Message-ID:  <19980122143000.19338@lemis.com>
In-Reply-To: <3.0.5.32.19980122145556.03a1d390@bach>; from Greg Ryan on Thu, Jan 22, 1998 at 02:55:56PM %2B1100
References:  <3.0.5.32.19980122145556.03a1d390@bach>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 22, 1998 at 02:55:56PM +1100, Greg Ryan wrote:
> Hi All,
>
> I'm trying to watch the traffic on our network to track down a problem, and
> am having trobule configuring tcpdump on either of our freebsd machines.
>
> I get the error '/dev/bpf0: Device not configured'
>
> The man pages say that root must have read access to the device but:
>
> crw-------  1 root  wheel   23,   0 Oct 18 22:19 bpf0
>
> Have also tried setting exec permission, but no effect. Is there something
> i may have missed, or a flag somewhere that (dis)allows promiscuous mode?

You need support for BPF in your kernel.  It's not there by default in
older versions, but it is in newer ones.  Add the following line to
your kernel config and build a new kernel:

pseudo-device 	bpfilter	16	# Berkeley packet filter

Greg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980122143000.19338>