Date: Fri, 13 Feb 1998 08:35:50 -0600 (CST) From: jeh@anubis.network.com (Jeff Henning) To: cbrown@daisy.kwangwoon.ac.kr (Hwang Jung Ho) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tcpdump setting! Message-ID: <199802131435.IAA00583@osiris.network.com> In-Reply-To: <34E3DD03.41C67EA6@daisy.kwangwoon.ac.kr> from "Hwang Jung Ho" at Feb 13, 98 02:41:23 pm
next in thread | previous in thread | raw e-mail | index | archive | help
You need to recompile your kernel with the berkley packet filter device enabled. Add the following line to your /usr/src/sys/i386/conf/MYKERNEL (or whatever you named it): pseudo-device bpfilter 4 #Berkeley packet filter I grabbed this from a 2.2.2 system so if it's something else, you can get the exact line from the LINT kernel. You also need to be running tcpdump as root. Good luck. Jeff Henning Network Systems Corp. > > Hello. > I'm first used FreeBSD 2.2.1 version. > I tried to used 'tcpdump' command for network check. > But I used 'tcpdump' command, "/dev/bpf0 : Device not configured" > message out. > I owned to /dev/bpf0 file read/write author. > How can I do? > Sorry, I'm first step in FreeBSD system. > > > ============================================ > cbrown@daisy.kwangwoon.ac.kr > cbrown@nownuri.net > ============================================ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802131435.IAA00583>