From owner-freebsd-current@FreeBSD.ORG Tue Sep 6 12:47:04 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77A6816A41F for ; Tue, 6 Sep 2005 12:47:04 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E92A043D49 for ; Tue, 6 Sep 2005 12:47:03 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j86Cl0qF002419; Tue, 6 Sep 2005 22:47:00 +1000 Received: from ppp2A92.dyn.pacific.net.au (ppp2A92.dyn.pacific.net.au [61.8.42.146]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j86CkNXi030563; Tue, 6 Sep 2005 22:46:40 +1000 From: Sam Lawrance To: dandee@volny.cz In-Reply-To: <20050905150129.414784E704@pipa.profix.cz> References: <20050905150129.414784E704@pipa.profix.cz> Content-Type: text/plain Date: Tue, 06 Sep 2005 22:46:38 +1000 Message-Id: <1126010799.18946.5.camel@dirk.no.domain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 06 Sep 2005 12:54:46 +0000 Cc: freebsd-current@freebsd.org Subject: Re: ifconfig tun(N) destroy does not work ! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 12:47:04 -0000 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