Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 1998 22:08:19 -0600
From:      Steve Price <sprice@HiWAAY.net>
To:        Greg Ryan <greg@safetyweb.com.au>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: tcpdump configuration
Message-ID:  <34C6C633.28D95ABC@hiwaay.net>
References:  <3.0.5.32.19980122145556.03a1d390@bach>

next in thread | previous in thread | raw e-mail | index | archive | help
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?
>

steve[/usr/src/sys/i386/conf]$ grep "packet filter" LINT
pseudo-device   bpfilter        4       #Berkeley packet filter
steve[/usr/src/sys/i386/conf]$ 

You should add this line to your kernel config file and from
/usr/src/sys/i386/conf do the following:

config your_kernel_config_filename
cd ../../compile/your_kernel_config_filename
make clean depend all install

Steve

> Thanks in advance,
> Greg
> 
> --
> SafetyWeb Internet Solutions Pty Ltd
> Suite 1101, Capital Tower
> Canberra City ACT 2601
> Australia
> 
> +61 02 6257 9901 Telephone
> +61 02 6257 9904 Technical Support
> +61 02 6257 9902 Fax
> 
> greg@safetyweb.com.au
> http://www.safetyweb.com.au



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