Date: Sat, 1 Feb 2003 16:00:03 -0500 (EST) From: "Stephen D. Kingrea" <reytech@sover.net> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tcpdump irregularity Message-ID: <Pine.BSI.4.21.0302011559100.22762-100000@granite.sover.net> In-Reply-To: <20030131235622.GB589@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
all is well now. your advice rules. thank you! stephen On Sat, 1 Feb 2003, Giorgos Keramidas wrote: >On 2003-01-31 16:44, "Stephen D. Kingrea" <reytech@sover.net> wrote: >> using 4.7 on a gateway designated machine (ipfw/natd) serving 3 >> wstations. >> >> www#tcpdump -i dc0 ###in fact, any interface.... >> tcpdump: (no devices found) /dev/bpf0: Device not configured > >Check that you have the following in your kernel config: > > $ grep -i bpf /usr/src/sys/i386/conf/GENERIC > # The `bpf' device enables the Berkeley Packet Filter. > device bpf # Berkeley packet filter > $ > >Then make sure you have proper device nodes created in /dev by >running (further down in your post you mentioned that you *do* have a >/dev/bpf0 node, so this part is already done on your setup). > > # cd /dev > # sh MAKEDEV bpf0 bpf1 [...] > >> now, i read somewhere that kernel must be compiled with option >> PACKETFILTER, however; workstation running 4.7 with generic kernel >> runs tcpdump perfectly. > >There is no PACKETFILTER kernel option afaik. When you want to know >what options are available and how to enable them for your kernel you >should consult the files GENERIC and LINT in /usr/src/sys/i386/conf. > >- Giorgos > 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?Pine.BSI.4.21.0302011559100.22762-100000>