From owner-cvs-all Tue Aug 31 14:58:31 1999 Delivered-To: cvs-all@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 4C13F14FFC; Tue, 31 Aug 1999 14:58:21 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id HAA06255; Wed, 1 Sep 1999 07:28:19 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id HAA86181; Wed, 1 Sep 1999 07:28:19 +0930 (CST) Date: Wed, 1 Sep 1999 07:28:19 +0930 From: Greg Lehey To: Poul-Henning Kamp Cc: Brian Somers , "Jordan K. Hubbard" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Now you see it, now you don't (was: cvs commit: src/usr.sbin/ppp Makefile) Message-ID: <19990901072818.Q13904@freebie.lemis.com> References: <199908312122.WAA02632@keep.lan.Awfulhak.org> <31401.936135386@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <31401.936135386@critter.freebsd.dk>; from Poul-Henning Kamp on Tue, Aug 31, 1999 at 11:36:26PM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 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 100baseTX 10baseT/UTP 10baseT/UTP > lp0: flags=8810 mtu 1500 > sl0: flags=c010 mtu 552 > ppp0: flags=8010 mtu 1500 > lo0: flags=8049 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 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 100baseTX 10baseT/UTP 10baseT/UTP > lp0: flags=8810 mtu 1500 > sl0: flags=c010 mtu 552 > ppp0: flags=8010 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > tun0: flags=8010 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 mtu 1500 inet 192.109.197.137 netmask 0xffffff00 broadcast 192.109.197.255 ether 00:80:48:e6:a0:61 lp0: flags=8810 mtu 1500 tun0: flags=8010 mtu 1518 inet 192.109.197.137 --> 192.109.197.211 netmask 0xffffff00 tun1: flags=8010 mtu 1500 tun2: flags=8010 mtu 1500 tun3: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 ppp0: flags=8051 mtu 1500 inet 139.130.136.133 --> 139.130.136.129 netmask 0xffff0000 ppp1: flags=8010 mtu 1500 lo0: flags=8049 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