From owner-freebsd-questions Wed Feb 21 21:35:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.pa.home.com (ha2.rdc2.pa.home.com [24.12.106.195]) by hub.freebsd.org (Postfix) with ESMTP id C845137B491 for ; Wed, 21 Feb 2001 21:35:19 -0800 (PST) (envelope-from unixwarrior@home.com) Received: from Ghost ([65.2.79.76]) by mail.rdc2.pa.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010222053519.CKPU16097.mail.rdc2.pa.home.com@Ghost>; Wed, 21 Feb 2001 21:35:19 -0800 From: Moses Backman III To: Edwin Groothuis , Carles =?iso-8859-1?q?G=F3mez?= Subject: Re: tcpdump Date: Thu, 22 Feb 2001 00:44:46 -0500 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" Cc: "questions@freebsd.org" References: <3A9235C6.2FF560DC@mat.upc.es> <20010220101955.F4233@cgmd76206.chello.nl> In-Reply-To: <20010220101955.F4233@cgmd76206.chello.nl> MIME-Version: 1.0 Message-Id: <01022200444602.04931@Ghost> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday 20 February 2001 04:19, Edwin Groothuis wrote: > On Tue, Feb 20, 2001 at 10:15:50AM +0100, Carles Gómez wrote: > > I have the following problem: I would like to use tcpdump on my FreeBSD > > 3.2 release. When I type the shell command "tcpdump", the following > > message appears: > > > > tcpdump: /dev/bpf0: Device not configured > > > > I have looked at the tcpdump man page, and it talks about the fact that > > I must have read access on /dev/bpf0 in order to work properly with > > tcpdump. > > > > How can I do this? > > Recompile your kernel with bpf-support (grep in LINT for it and > copy that line into your normal kernel-config-file). See the handbook > on how to recompile kernels if you're not familair with it. After > that, go to /dev and do ./MAKEDEV bpf (or something similair) and > you're in! > > Edwin i use an smc 1211tx card which is rl0 for me for my outside interface.. try tcpdump -i rl0 (sub your device for rl0) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message