*BSD News Article 50917


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!Germany.EU.net!news.dfn.de!gs.dfn.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: I can't get tcpdump to work
Date: 14 Sep 1995 12:30:01 +0200
Organization: Private U**x site, Dresden.
Lines: 19
Message-ID: <439079$ct1@bonnie.tcd-dresden.de>
References: <1995Sep13.102751.5352@goya.eunet.es>
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

Jose Ignacio Gijón <nacho@eunet.es> wrote:

>When I try to use tcpdump i always receive the same error
>tcpdump: /dev/bpf0: Device not configured.
>Could somebody tell me how to configure /dev/bpf0.

Look into /sys/i386/conf/LINT:

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
...
pseudo-device   bpfilter        4       #Berkeley packet filter
-- 
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. ;-)