From owner-freebsd-questions Fri Jul 30 12:46:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from athena.connectalk.com (athena.connectalk.com [204.19.165.44]) by hub.freebsd.org (Postfix) with ESMTP id 84CD915221 for ; Fri, 30 Jul 1999 12:45:58 -0700 (PDT) (envelope-from madamus@connectalk.com) Received: from connectalk.com ([204.19.165.99]) by athena.connectalk.com (Netscape Messaging Server 3.6) with ESMTP id AAA66BE; Fri, 30 Jul 1999 15:43:54 -0400 Message-ID: <37A2000A.B8C933C3@connectalk.com> Date: Fri, 30 Jul 1999 15:42:02 -0400 From: Michel Adamus X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 3.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Nick LoPresti Cc: freebsd-questions@freebsd.org Subject: Re: /dev/bpf0 References: <00ed01bedabc$97ecd4e0$8c7361cf@dogwood.chromatix.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nick LoPresti wrote: > > I am having this problem with /dev/bpf0 > More specifically, I am trying to run trafshow(ports/net/trafshow). > When I run it, this is the output I get: > > bsd# trafshow > trafshow: /dev/bpf0: Device not configured You have to recompile your kernel with "pseudo-device bpfilter" how to: cd /usr/src/sys/i386/conf cp GENERIC MYOWNNAME Where MYOWNNAME is the name of your machine. Then edit that file and remove the comment for the line "pseudo-device bpfilter 4". Now, type this: config MYOWNNAME cd ../../compile/MYOWNNAME make depend make make install reboot The system will boot with the new kernel. Now you have to make the device. cd /dev ./MAKEDEV bpf0 > I have tried the -i arg but still come up with the same problem. > How does one go about "configuring" /dev/bpf0? > > I have run trafshow on other FreeBSD boxes without having this problem... > Did I do something wrong? > > Thanks for any help you guys can provide. You guys are great. practice and practice... more you see more you learn > ================================================ > > Nick > nick@chromatix.com > Web Page: http://www.lopresti.dhs.org/users/nick > > 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