From owner-freebsd-questions Fri Feb 13 06:38:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA02362 for freebsd-questions-outgoing; Fri, 13 Feb 1998 06:38:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from nsco.network.com (nsco.network.com [129.191.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA02305 for ; Fri, 13 Feb 1998 06:37:13 -0800 (PST) (envelope-from jeh@anubis.network.com) Received: from anubis.network.com by nsco.network.com (4.1/1.34) id AA10993; Fri, 13 Feb 98 08:35:51 CST Received: from osiris.network.com by anubis.network.com (4.1/SMI-4.1) id AA27173; Fri, 13 Feb 98 08:35:51 CST Received: by osiris.network.com (SMI-8.6/SMI-SVR4) id IAA00583; Fri, 13 Feb 1998 08:35:50 -0600 From: jeh@anubis.network.com (Jeff Henning) Message-Id: <199802131435.IAA00583@osiris.network.com> Subject: Re: tcpdump setting! To: cbrown@daisy.kwangwoon.ac.kr (Hwang Jung Ho) Date: Fri, 13 Feb 1998 08:35:50 -0600 (CST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <34E3DD03.41C67EA6@daisy.kwangwoon.ac.kr> from "Hwang Jung Ho" at Feb 13, 98 02:41:23 pm X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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