From owner-freebsd-stable Wed Mar 12 20:40:27 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C036537B401 for ; Wed, 12 Mar 2003 20:40:25 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E43B643FAF for ; Wed, 12 Mar 2003 20:40:24 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id h2D4eLJu029544; Wed, 12 Mar 2003 20:40:21 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id h2D4eKSx029540; Wed, 12 Mar 2003 20:40:20 -0800 Date: Wed, 12 Mar 2003 20:40:20 -0800 From: Brooks Davis To: Mike Hoskins Cc: stable@FreeBSD.ORG Subject: Re: ifconfig destroy Message-ID: <20030312204020.A28243@Odin.AC.HMC.Edu> References: <20030312195532.W2586-100000@fubar.adept.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030312195532.W2586-100000@fubar.adept.org>; from mike@adept.org on Wed, Mar 12, 2003 at 07:58:38PM -0800 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 12, 2003 at 07:58:38PM -0800, Mike Hoskins wrote: >=20 > Should `ifconfig destroy` work in -stable? >=20 > >From ifconfig(8), >=20 > ifconfig interface destroy > destroy > Destroy the specified network pseudo-device. >=20 > # ifconfig -a > tun0: flags=3D8051 mtu 1500 > inet 192.168.10.5 --> 192.168.10.6 netmask 0xffffffff > Opened by PID 452 > # ifconfig tun0 down > # ifconfig tun0 destroy > ifconfig: SIOCIFDESTROY: Invalid argument >=20 > What's the right way to remove pseudo-device/interfaces? I'm playing with > a SSH/PPP tunnel, which can cause a lot of these to be created during my > test phase. "ifconfig destroy" only works on devices created via "ifconfig create" and tun devices haven't been converted to do that yet. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+cAuzXY6L6fI4GtQRAvhgAJ98MbHGQYnJr9qhbKoj7MbQirud5QCgh2YD tRK/5nDYizuShFCD3r1oB/4= =90IA -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message