*BSD News Article 76873


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!nntp.primenet.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Q] Set up bpf so I can use tcpdump?
Date: 23 Aug 1996 14:02:10 +0100
Organization: Coverform Ltd.
Lines: 22
Message-ID: <4vka4i$8m@anorak.coverform.lan>
References: <4vfh5o$rap@nntpd.lkg.dec.com>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Michael C. Cambria (cambria@snads.lkg.dec.com) wrote:
: I need help using tcpdump on FreeBSD 2.1.5.  Every time I run it, it get 
: a message about /dev/bpf0 not being configured.  I cannot find any info 
: on configuring bpf.  The man page has programming info, but I couldn't 
: find anything re: configuring.

: Am I expected to write a program myself?  I haven't had to do this on 
: other unixes I've used.  For example pfconfig(8) on Digital Unix allows
: me to config the packet filter driver.

: Note:  I did not build the kernel (no disk space yet).  I am using what 
: I installed of the CD which arrived a few days ago.

You'll need to rebuild your kernel with a line saying:

pseudo-device bpfilter x

where x is the number of simultaneous filters you'll need.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....