Subject: Re: TUN on 1.6_BETA
To: Ernst du Toit <et@houseofet.com>
From: Perry E. Metzger <perry@wasabisystems.com>
List: port-i386
Date: 06/19/2002 19:12:30
tun is now a cloning device. "man tun". you need to use ifconfig to
create the tun devices when you need them.

.pm

Ernst du Toit <et@houseofet.com> writes:

> Has anything changed with the usage of the tun device in 1.6?
> 
> I installed the 1.6_BETA snapshot on my box, using sysinst upgrade.
> 
> Now I can't see any tun devices with ifconfig(1). I built GENERIC and my custom kernel to confirm and both are missing tun. Since I'm a heavy VTUN user this is a pain for me, so now I'm running a 1.5.2 kernel on a 1.6_BETA install... still works too :)
> 
> One data point - after running config(1) against the kernel config file, I see the following for tun.h in the compile directory:
> 
> # cat /usr/src/sys/arch/i386/compile/GENERIC/tun.h
> #define NTUN    1
> 
> Even though GENERIC defines: pseudo-device   tun             2
> 
> Maybe I should have a another coffee...???
> 
> --et
> 

--
Perry E. Metzger		perry@wasabisystems.com
--
NetBSD: The right OS for your embedded design. http://www.wasabisystems.com/