Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 1997 10:44:21 -0500
From:      Jonathan Lemon <jlemon@americantv.com>
To:        Kenny Hanson <khanson@pdspc.com>
Cc:        "Freebsd-Questions (E-mail)" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: tcpdump
Message-ID:  <19970829104421.21301@right.PCS>
In-Reply-To: <91DD7FDA88E4D011BED00000C0DD87E70ACA21@pds-gateway.pdspc.com>; from Kenny Hanson on Aug 08, 1997 at 10:01:10AM -0500
References:  <91DD7FDA88E4D011BED00000C0DD87E70ACA21@pds-gateway.pdspc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970829104421.21301>