Date: Sun, 26 Nov 1995 17:05:50 -0500 (EST) From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM> To: Everett F Batey <efb@cotdazr.org> Cc: questions@freebsd.org Subject: Re: tcpdump bpf0 permissions Message-ID: <Pine.3.89.9511261717.C23075-0100000@kryten.atinc.com> In-Reply-To: <Pine.BSF.3.91.951126134547.19756A-100000@gcpacix.vcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Nov 1995, Everett F Batey wrote: > > Cant access tcpdump as suer or as root .. seems to be looking for a > SUnOSish like command like the setup to in.etherd pre Solaris to open > the interface to permiscuous (sp?) mode .. > > tcpdump: /dev/bpf0: Device not configured you need to compile a kernel that contains the bpf psuedo-devices. add the line "pseudo-device bpfilter 4 #Berkeley packet filter" to the end of your kernel config file and rebuild the kernel. install the new kernel and reboot. at boot time you want to see lines similar to "bpf: ep0 attached". you can also use /sbin/dmesg to view the boot messages. you will need one bpfilter for each interface that you want to use tcpdump on Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG play go. ride bike. hack FreeBSD.--ah the good life i am moving to a new job. PLEASE USE: jmb@FreeBSD.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9511261717.C23075-0100000>
