Date: Fri, 29 Aug 1997 10:28:22 -0500 (CDT) From: Alec Kloss <alec@d2si.com> To: khanson@pdspc.com (Kenny Hanson) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tcpdump Message-ID: <199708291528.KAA10293@d2si.com> In-Reply-To: <91DD7FDA88E4D011BED00000C0DD87E70ACA21@pds-gateway.pdspc.com> from Kenny Hanson at "Aug 29, 97 10:01:10 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Kenny Hanson said: > 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... > > Kenny Hanson, Senior Research Analyst > Paragon Development Systems > Email: khanson@pdspc.com > Web: http://www.pdspc.com > Phone: (800) 966-6090 > You'll need to use MAKEDEV to make the device nodes and you'll have to compile bpf into your kernel by adding a configuration line like pseudo-device bpfilter 4 to get 4 devices. After you've recompiled and rebooted, type (as root) # cd /dev # ./MAKEDEV bpf0 # ./MAKEDEV bpf1 # ./MAKEDEV bpf2 # ./MAKEDEV bpf3 For as many devices as you created.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708291528.KAA10293>