From owner-cvs-all  Wed Sep  1  6:49:27 1999
Delivered-To: cvs-all@freebsd.org
Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38])
	by hub.freebsd.org (Postfix) with ESMTP
	id 78A9F14DA5; Wed,  1 Sep 1999 06:49:23 -0700 (PDT)
	(envelope-from julian@whistle.com)
Received: from current1.whistle.com (current1.whistle.com [207.76.205.22])
	by alpo.whistle.com (8.9.1a/8.9.1) with SMTP id GAA41787;
	Wed, 1 Sep 1999 06:47:19 -0700 (PDT)
Date: Wed, 1 Sep 1999 06:48:11 -0700 (PDT)
From: Julian Elischer <julian@whistle.com>
To: Greg Lehey <grog@lemis.com>
Cc: Poul-Henning Kamp <phk@critter.freebsd.dk>,
	Brian Somers <brian@Awfulhak.org>,
	"Jordan K. Hubbard" <jkh@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG,
	cvs-all@FreeBSD.ORG
Subject: Re: Now you see it, now you don't (was: cvs commit: src/usr.sbin/ppp Makefile)
In-Reply-To: <19990901072818.Q13904@freebie.lemis.com>
Message-ID: <Pine.BSF.3.95.990901064806.2324B-100000@current1.whistle.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk



On Wed, 1 Sep 1999, Greg Lehey wrote:

> On Tuesday, 31 August 1999 at 23:36:26 +0200, Poul-Henning Kamp wrote:
> > In message <199908312122.WAA02632@keep.lan.Awfulhak.org>, Brian Somers writes:
> >
> >>  # ppp install
> >>  Working in interactive mode
> >>  Warning: No available tunnel devices found (Device not configured).
> >>  Warning: bundle_Create: Device not configured
> >>  # echo /dev/tun*
> >>  /dev/tun0
> >>  # ifconfig tun0 inet 1.2.3.4 5.6.7.8
> >>  ifconfig: interface tun0 does not exist
> >>
> >> Errum, Poul ?  Any suggestions/fixes ?  Or am I pointing in the wrong
> >> direction ?
> >
> > Uhm, sorry, wasn't paying attention there:  The tun device is created
> > when you open it, Ie:
> >
> > rover# ifconfig -a
> > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >         inet 212.242.40.130 netmask 0xfffffff0 broadcast 212.242.40.143
> >         ether 00:e0:18:98:93:7d
> >         media: autoselect (100baseTX) status: active
> >         supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
> > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> >         inet 127.0.0.1 netmask 0xff000000
> > rover# date < /dev/tun0
> > Tue Aug 31 21:35:05 GMT 1999
> > rover# ifconfig -a
> > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >         inet 212.242.40.130 netmask 0xfffffff0 broadcast 212.242.40.143
> >         ether 00:e0:18:98:93:7d
> >         media: autoselect (100baseTX) status: active
> >         supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
> > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> >         inet 127.0.0.1 netmask 0xff000000
> > tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> > rover#
> 
> Huh?  Since when does that happen?  None of the boxes I have running
> behave like this.  Or am I opening the in some mysterious way?  For
> example, I have
> 
> # ifconfig -a
> ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.109.197.137 netmask 0xffffff00 broadcast 192.109.197.255
>         ether 00:80:48:e6:a0:61 
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1518
>         inet 192.109.197.137 --> 192.109.197.211 netmask 0xffffff00 
> tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> tun2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> tun3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>         inet 139.130.136.133 --> 139.130.136.129 netmask 0xffff0000 
> ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000 
> 
> I've never used tun1 to tun3.
> 
> Greg
> --
> See complete headers for address, home page and phone numbers
> finger grog@lemis.com for PGP public key
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message