From owner-freebsd-newbies Mon Sep 11 4:58:41 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 6BA3437B42C for ; Mon, 11 Sep 2000 04:58:37 -0700 (PDT) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.0/8.11.0) id e8AM78K36153; Sun, 10 Sep 2000 23:07:08 +0100 (BST) (envelope-from nik) Date: Sun, 10 Sep 2000 23:07:08 +0100 From: Nik Clayton To: Junichi Saito Cc: Jaroshenko Serge , freebsd-newbies@FreeBSD.ORG Subject: Re: your mail Message-ID: <20000910230708.A36061@canyon.nothing-going-on.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from j.saito@wanadoo.fr on Mon, Sep 04, 2000 at 09:29:43AM +0200 Organization: FreeBSD Project Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Sep 04, 2000 at 09:29:43AM +0200, Junichi Saito wrote: > In my case, ppp as well as tun are compiled in the kernel. When the > command 'ifconfig -a' is run, they should show up: so dose indeed ppp0 but > not tun0. The tun? interfaces are created when a device tries to read from them. For example, I currently have tun0, because of my PPP link. # ifconfig -a | grep tun tun0: flags=8150 mtu 1500 If I now try and read from /dev/tun1, using cat(1), the interface tun1 will be created. # cat < /dev/tun1 ^C # ifconfig -a | grep tun tun0: flags=8150 mtu 1500 tun1: flags=8010 mtu 1500 For you, tun0 will be created when you run a program that tries to use it. N -- Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95. Telephone line, $24.95 a month. Software, free. USENET transmission, hundreds if not thousands of dollars. Thinking before posting, priceless. Somethings in life you can't buy. For everything else, there's MasterCard. -- Graham Reed, in the Scary Devil Monastery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message