From owner-freebsd-questions Sat Feb 1 13: 0:20 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0E6737B401 for ; Sat, 1 Feb 2003 13:00:18 -0800 (PST) Received: from mailgate1.sover.net (mailgate1.sover.net [209.198.87.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 883EB43F3F for ; Sat, 1 Feb 2003 13:00:14 -0800 (PST) (envelope-from reytech@sover.net) Received: from granite.sover.net (granite.sover.net [209.198.87.33]) by mailgate1.sover.net (8.11.6/8.11.6) with ESMTP id h11L03e26175; Sat, 1 Feb 2003 16:00:04 -0500 (EST) Date: Sat, 1 Feb 2003 16:00:03 -0500 (EST) From: "Stephen D. Kingrea" To: Giorgos Keramidas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tcpdump irregularity In-Reply-To: <20030131235622.GB589@gothmog.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" 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