From owner-freebsd-stable Wed Dec 20 15:53:24 2000 From owner-freebsd-stable@FreeBSD.ORG Wed Dec 20 15:53:22 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (Postfix) with ESMTP id 1FB5A37B400 for ; Wed, 20 Dec 2000 15:53:22 -0800 (PST) Received: from whizzo.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.11.1/8.11.0) with ESMTP id eBKNrI581531; Wed, 20 Dec 2000 18:53:18 -0500 (EST) (envelope-from louie@whizzo.transsys.com) Message-Id: <200012202353.eBKNrI581531@whizzo.transsys.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Roman Shterenzon Cc: Bill Fumerola , Stable FreeBSD X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" Subject: Re: tun0 References: <001101c069a9$deedf4a0$0500a8c0@gdmckee.local> <20001219162624.O72273@elvis.mu.org> <977351022.3a41316e3f8da@webmail.harmonic.co.il> In-reply-to: Your message of "Thu, 21 Dec 2000 00:23:42 +0200." <977351022.3a41316e3f8da@webmail.harmonic.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 20 Dec 2000 18:53:18 -0500 Sender: louie@TransSys.COM Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Quoting Bill Fumerola : > > > 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 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