Date: Wed, 20 Dec 2000 18:53:18 -0500 From: "Louis A. Mamakos" <louie@TransSys.COM> To: Roman Shterenzon <roman@harmonic.co.il> Cc: Bill Fumerola <billf@mu.org>, Stable FreeBSD <freebsd-stable@FreeBSD.ORG> Subject: Re: tun0 Message-ID: <200012202353.eBKNrI581531@whizzo.transsys.com> In-Reply-To: Your message of "Thu, 21 Dec 2000 00:23:42 %2B0200." <977351022.3a41316e3f8da@webmail.harmonic.co.il> References: <001101c069a9$deedf4a0$0500a8c0@gdmckee.local> <20001219162624.O72273@elvis.mu.org> <977351022.3a41316e3f8da@webmail.harmonic.co.il>
next in thread | previous in thread | raw e-mail | index | archive | help
> Quoting Bill Fumerola <billf@mu.org>: > > > On Tue, Dec 19, 2000 at 10:53:07AM -0000, G D McKee wrote: > > > Hi > > > > > > In FreeBSD 4.1.1 tun0 device came up automatically on boot. How can I > > configure this in 4.2? > > > > It's there, its just not in your interfaces list until you use it. > > > > If you don't believe me: > > > > dd if=/dev/tun0 of=/dev/null count=0 > > > Does it work? > I had to write my own program which even uses setitimer() to break out of read() > :) From the shell, I can just do this to create a new instance of a tun interface: root@whizzo[21] # < /dev/tun1 root@whizzo[22] # ifconfig tun1 tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 root@whizzo[23] # You don't actually need to read it, just open it.. louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012202353.eBKNrI581531>