*BSD News Article 37801


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!spool.mu.edu!torn!news.unb.ca!angus!phowlett
From: phowlett@angus.ASG.unb.ca (Peter Howlett)
Newsgroups: comp.os.386bsd.questions
Subject: Re: bpf configuration
Date: 12 Nov 1994 20:21:06 GMT
Organization: University of New Brunswick
Lines: 23
Message-ID: <3a383i$pp0@sol.sun.csd.unb.ca>
References: <1994Nov11.120350.14265@dec8.ncku.edu.tw>
NNTP-Posting-Host: angus.asg.unb.ca
X-Newsreader: TIN [version 1.2 PL2]

Cheng-Kang Wen (ckwen@mail.ncku.edu.tw) wrote:

: Hello,

: Does any one know how to configure the /dev/bpf0 on NetBSD 1.0 ?
: I got the message when I run tcpdump:
:     /dev/bpf0: device not configured.

: Any suggestions ?

You need to recompile your kernel with the bpfilter device.
Straight out of the LINT file, add the line:

pseudo-device   bpfilter        4       #berkeley packet filter

to your config file before rebuilding.


--------------------------------------------------------------------
Peter Howlett				Atlantic Systems Group
E-Mail: Peter.Howlett@ASG.unb.ca	Fredericton, N.B. Canada
Phone: (506) 453-3505			Fax:   (506) 453-5004
http://www.ASG.unb.ca/personal/peter_howlett.html