Re: ifconfig tun(N) destroy does not work !

From: Sam Lawrance <boris_at_brooknet.com.au>
Date: Tue, 06 Sep 2005 22:46:38 +1000
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_at_FreeBSD.org
ph +61 0425 228 579                    boris_at_brooknet.com.au
Received on Tue Sep 06 2005 - 10:47:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC