*BSD News Article 46667


Return to BSD News archive

Xref: sserve comp.unix.bsd.386bsd.misc:85 comp.unix.bsd.freebsd.misc:3068 comp.unix.bsd.netbsd.misc:602
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!gatech!howland.reston.ans.net!xlink.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.386bsd.misc,comp.unix.bsd.freebsd.misc,comp.unix.bsd.netbsd.misc
Subject: Re: /dev/bpf* & tcpdump
Date: 10 Jul 1995 17:36:14 +0200
Organization: Private U**x site, Dresden.
Lines: 17
Message-ID: <3trhde$edv@bonnie.tcd-dresden.de>
References: <3tob4g$r2g@rzsun02.rrz.uni-hamburg.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Leslie Schaefer <2schaefe@rzdspc3.informatik.uni-hamburg.de> wrote:

>can anyone tell me if the standard FreeBSD 2.0 and NetBSD 1.0 kernels
>have the needed drivers for tcpdump compiled into them. I've made the 
>devices (/dev/bpf*) and called the prog. - only to receive the error
>message "device not configured".

They don't.  You need to rebuild a kernel with

pseudo-device bpf 4 # <-- >= the number of network interface you've got

tschüß,
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)