ifconfig tun(N) destroy does not work !

Sam Lawrance boris at brooknet.com.au
Tue Sep 6 05:47:04 PDT 2005


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





More information about the freebsd-current mailing list