Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 08:53:32 +0100
From:      Willy Offermans <Willy@Offermans.Rompen.nl>
To:        Hajimu UMEMOTO <ume@FreeBSD.ORG>
Cc:        freebsd-stable@FreeBSD.ORG, openvpn-users@lists.sourceforge.net
Subject:   Re: tap device at boot time
Message-ID:  <20070316075332.GA5562@wiz>
In-Reply-To: <ygey7lyy31j.wl%ume@mahoroba.org>
References:  <20070314104732.GA5794@wiz> <45F7D727.2080301@unsane.co.uk> <20070315133346.GA5645@wiz> <45F94CD5.90601@FreeBSD.org> <20070315143322.GA7027@wiz> <ygey7lyy31j.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Willy@Offermans.Rompen.nl> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070316075332.GA5562>