Date: Sun, 10 Sep 2000 23:07:08 +0100 From: Nik Clayton <nik@freebsd.org> To: Junichi Saito <j.saito@wanadoo.fr> Cc: Jaroshenko Serge <jaroshenko@mail.ru>, freebsd-newbies@FreeBSD.ORG Subject: Re: your mail Message-ID: <20000910230708.A36061@canyon.nothing-going-on.org> In-Reply-To: <Pine.LNX.4.21.0009040923160.236-100000@kintaro.linux.org>; from j.saito@wanadoo.fr on Mon, Sep 04, 2000 at 09:29:43AM %2B0200 References: <Pine.BSF.4.21.0009041101550.260-100000@freebsd.merlin.ru> <Pine.LNX.4.21.0009040923160.236-100000@kintaro.linux.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<POINTTOPOINT,RUNNING,PROMISC,MULTICAST> 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<POINTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500 tun1: flags=8010<POINTOPOINT,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000910230708.A36061>