Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 19:58:38 -0800 (PST)
From:      Mike Hoskins <mike@adept.org>
To:        stable@freebsd.org
Subject:   ifconfig destroy
Message-ID:  <20030312195532.W2586-100000@fubar.adept.org>

next in thread | raw e-mail | index | archive | help

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.

-mrh


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?20030312195532.W2586-100000>