From owner-freebsd-stable@FreeBSD.ORG Fri Mar 16 07:53:26 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E998D16A404 for ; Fri, 16 Mar 2007 07:53:26 +0000 (UTC) (envelope-from willy@Offermans.Rompen.nl) Received: from psmtp10.wxs.nl (psmtp10.wxs.nl [195.121.247.26]) by mx1.freebsd.org (Postfix) with ESMTP id 7EDF813C458 for ; Fri, 16 Mar 2007 07:53:26 +0000 (UTC) (envelope-from willy@Offermans.Rompen.nl) Received: from jerry.offrom.nl (ip5652b794.speed.planet.nl [86.82.183.148]) by psmtp10.wxs.nl (8.13.8/8.12.10) with ESMTP id l2G7rOY5025024; Fri, 16 Mar 2007 08:53:24 +0100 Received: from wiz.offrom.nl (hydrogen.chemistry.nl [192.168.4.1]) by jerry.offrom.nl (8.13.6/8.13.6) with ESMTP id l2G7rLrK009103; Fri, 16 Mar 2007 08:53:21 +0100 (CET) (envelope-from willy@offrom.nl) Received: from willy by wiz.offrom.nl with local (Exim 4.50) id 1HS7Fk-0001gg-Pw; Fri, 16 Mar 2007 08:53:32 +0100 Date: Fri, 16 Mar 2007 08:53:32 +0100 From: Willy Offermans To: Hajimu UMEMOTO Message-ID: <20070316075332.GA5562@wiz> References: <20070314104732.GA5794@wiz> <45F7D727.2080301@unsane.co.uk> <20070315133346.GA5645@wiz> <45F94CD5.90601@FreeBSD.org> <20070315143322.GA7027@wiz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Virus-Scanned: ClamAV 0.90/2843/Fri Mar 16 06:21:00 2007 on jerry.offrom.nl X-Virus-Status: Clean X-Spam-Status: No, score=-4.2 required=10.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on jerry.offrom.nl Cc: freebsd-stable@FreeBSD.ORG, openvpn-users@lists.sourceforge.net Subject: Re: tap device at boot time X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Willy@Offermans.Rompen.nl List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 07:53:27 -0000 On Thu, Mar 15, 2007 at 11:50:00PM +0900, Hajimu UMEMOTO wrote: > Hi, > > >>>>> On Thu, 15 Mar 2007 15:33:22 +0100 > >>>>> Willy Offermans said: > > Willy> Thank you for the information. So this is _not_ the way to go with > Willy> FreeBSD 6.1-RELEASE #5. Naturally the following question > Willy> would be: how then to proceed with FreeBSD 6.1-RELEASE? and most > Willy> important is cloned_interfaces="tap0" generally meant to do the things I have > Willy> asked for: initialisation and configuration of a tap device during boot. > > The cloned_interfaces variable is for a cloned interface. The tap is > not a cloned interface on 6.1-RELEASE, yet. However, still you can > create tap0 by opening /dev/tap0. Try putting > > cp /dev/null /dev/tap0 > > into your /etc/rc.early. > > Sincerely, > Hello Hajimu, If I load the tap kernel_module, then it is quite obvious that I want to use the tap device. Why should I perform `cp /dev/null /dev/tap0` to create tap0. It does not sound logic. Is this the same for, let say, the xl0 device? Again the fundamental question why is the handling of the tap device so much different from the handling of a normal NIC? One would expect a similar procedure for initialising NICs! Please correct me if I'm too naive! To be more practical, where should I put `cp /dev/null /dev/tap0`? I don't have anything like /etc/rc.early. Should there be a trailing dot? Should I create rc.early? Probably I need to google again and maybe to read the handbook again. -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, De jrus wah, Willy ************************************* W.K. Offermans Home: +31 45 544 49 44 Mobile: +31 653 27 16 23 e-mail: Willy@Offermans.Rompen.nl Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org