*BSD News Article 88198


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!europa.clark.net!newsfeed.internetmci.com!news.cyberport.net!myke
From: myke@phluffy.cyberport.net (Mike Holling)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: tcpdump of ppp?
Date: 3 Feb 1997 21:29:25 GMT
Organization: Cyberport Montana.
Lines: 13
Message-ID: <slrn5fcm5l.ds4.myke@phluffy.cyberport.net>
References: <5d4uuf$113@chronicle.concentric.net> <5d51m5$qj9$1@polaris.eurocontrol.fr>
Reply-To: myke@cyberport.net
NNTP-Posting-Host: phluffy.cyberport.net
X-Newsreader: slrn (0.9.2.1 BETA UNIX)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34955

>In article <5d4uuf$113@chronicle.concentric.net>,
>Rick Slater <Slater@cris.com> wrote:
>> The ppp documentation claims that one can use tcpdump with it,
>> but when I point tcpdump at /dev/tun it comes up with the error
>> message "/dev/bpf improperly configured" and then exits.

I'm running 2.1.0 on a machine with a permanent 28.8 internet connection.
Tcpdump works just fine (I do have a kernel with bpf devices).  I do not
get any "bpf attached" messages at bootime, maybe the newer releases do
this.  Tcpdump is smart enough to see that tun0 is my primary interface so
just typing "tcpdump" does the right thing.

- Mike