Date: Wed, 12 Mar 2003 20:40:20 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Mike Hoskins <mike@adept.org> Cc: stable@FreeBSD.ORG Subject: Re: ifconfig destroy Message-ID: <20030312204020.A28243@Odin.AC.HMC.Edu> In-Reply-To: <20030312195532.W2586-100000@fubar.adept.org>; from mike@adept.org on Wed, Mar 12, 2003 at 07:58:38PM -0800 References: <20030312195532.W2586-100000@fubar.adept.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <interface> 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<UP,POINTOPOINT,RUNNING,MULTICAST> 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 <if> destroy" only works on devices created via "ifconfig <if> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030312204020.A28243>