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
[-- Attachment #1 --] On Wed, Mar 12, 2003 at 07:58:38PM -0800, Mike Hoskins wrote: > > Should `ifconfig <interface> destroy` work in -stable? > > >From ifconfig(8), > > ifconfig interface destroy > destroy > Destroy the specified network pseudo-device. > > # ifconfig -a > tun0: flags=8051<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 > > 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 -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+cAuzXY6L6fI4GtQRAvhgAJ98MbHGQYnJr9qhbKoj7MbQirud5QCgh2YD tRK/5nDYizuShFCD3r1oB/4= =90IA -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030312204020.A28243>
