Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 1998 23:21:46 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Capriotti <capriotti@geocities.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: TCPDUMP - how to set up 
Message-ID:  <199805012221.XAA16929@awfulhak.org>
In-Reply-To: Your message of "Fri, 01 May 1998 13:57:12 -0300." <3.0.32.19691231210000.0141a440@pop.mpc.com.br> 

next in thread | previous in thread | raw e-mail | index | archive | help
> When I try to run TCPDUMP with
> 
> tcpdump -i tun0
> 
> it returns 
> 
> tcpdump: /dev/bpf0: Device not configured
> 
> 
> How do I configure it ? I've gone through Man pagen and got no help (that I
> could unerstand).

You need

pseudo-device bpf 4

or similar in your kernel config (check LINT for examples).  You can 
also get ppp itself to do the logging (set log +tcp/ip).
-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



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?199805012221.XAA16929>