From owner-freebsd-questions Fri Aug 29 08:45:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA10582 for questions-outgoing; Fri, 29 Aug 1997 08:45:31 -0700 (PDT) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA10571 for ; Fri, 29 Aug 1997 08:45:22 -0700 (PDT) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id LAA13974; Fri, 29 Aug 1997 11:10:10 -0500 (CDT) Received: (jlemon@localhost) by right.PCS (8.6.13/8.6.4) id KAA16455; Fri, 29 Aug 1997 10:44:22 -0500 Message-ID: <19970829104421.21301@right.PCS> Date: Fri, 29 Aug 1997 10:44:21 -0500 From: Jonathan Lemon To: Kenny Hanson Cc: "Freebsd-Questions (E-mail)" Subject: Re: tcpdump References: <91DD7FDA88E4D011BED00000C0DD87E70ACA21@pds-gateway.pdspc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <91DD7FDA88E4D011BED00000C0DD87E70ACA21@pds-gateway.pdspc.com>; from Kenny Hanson on Aug 08, 1997 at 10:01:10AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Aug 08, 1997 at 10:01:10AM -0500, Kenny Hanson wrote: > TWIMC: > I am trying to use tcpdump to take a look at incoming/outgoing > tcp packets. tcpdump is complaining that /dev/bpf0 is not configured. > I read through the bpf(4) man page but it doesn't describe how to > create such a device. Could somebody please share the command to > create /dev/bpf? Thanx in advance... cd /dev ./MAKEDEV bpf0 However, you'll also need to add support for bpf into your kernel. Add the following line to your kernel config file and recompile: pseudo-device bpfilter 4 (Where ``4'' is the number of bpf devices to configure). -- Jonathan