Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 00:44:46 -0500
From:      Moses Backman III <unixwarrior@home.com>
To:        Edwin Groothuis <mavetju@chello.nl>, Carles =?iso-8859-1?q?G=F3mez?= <carlesgo@mat.upc.es>
Cc:        "questions@freebsd.org" <questions@FreeBSD.ORG>
Subject:   Re: tcpdump
Message-ID:  <01022200444602.04931@Ghost>
In-Reply-To: <20010220101955.F4233@cgmd76206.chello.nl>
References:  <3A9235C6.2FF560DC@mat.upc.es> <20010220101955.F4233@cgmd76206.chello.nl>

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




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