Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 1999 15:42:02 -0400
From:      Michel Adamus <madamus@connectalk.com>
To:        Nick LoPresti <nick@chromatix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /dev/bpf0
Message-ID:  <37A2000A.B8C933C3@connectalk.com>
References:  <00ed01bedabc$97ecd4e0$8c7361cf@dogwood.chromatix.com>

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




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