Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Sep 2005 22:46:38 +1000
From:      Sam Lawrance <boris@brooknet.com.au>
To:        dandee@volny.cz
Cc:        freebsd-current@freebsd.org
Subject:   Re: ifconfig tun(N) destroy does not work !
Message-ID:  <1126010799.18946.5.camel@dirk.no.domain>
In-Reply-To: <20050905150129.414784E704@pipa.profix.cz>
References:  <20050905150129.414784E704@pipa.profix.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2005-09-05 at 17:01 +0200, Stay d wrote:
> Hi all, 
> "These network interfaces persist until the if_tun.ko module is unloaded (if
> tun is built into your kernel, the network interfaces cannot be removed)."
>  
> Of course the generic kernel defines "device tun", so I commented the line
> and recompiled the kernel.
>  
> After that, I tried again "destroy command" and with no changes.

Read the man page a little more closely - tun devices are created
when /dev/tun is opened, and destroyed when the kernel module is
unloaded.  The ifconfig create and destroy commands aren't used.
-- 
Sam Lawrance                            lawrance@FreeBSD.org
ph +61 0425 228 579                    boris@brooknet.com.au






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