Date: Wed, 1 Sep 1999 07:28:19 +0930 From: Greg Lehey <grog@lemis.com> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Brian Somers <brian@Awfulhak.org>, "Jordan K. Hubbard" <jkh@FreeBSD.org>, 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> In-Reply-To: <31401.936135386@critter.freebsd.dk>; from Poul-Henning Kamp on Tue, Aug 31, 1999 at 11:36:26PM %2B0200 References: <199908312122.WAA02632@keep.lan.Awfulhak.org> <31401.936135386@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990901072818.Q13904>
