From owner-freebsd-questions@FreeBSD.ORG Mon Jun 14 23:35:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5211516A4CE for ; Mon, 14 Jun 2004 23:35:55 +0000 (GMT) Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1AD543D2D for ; Mon, 14 Jun 2004 23:35:54 +0000 (GMT) (envelope-from ben@spooty.net) Received: from m44-mp1.cvx3-b.pop.dial.ntli.net ([80.1.84.44]) by mta07-svc.ntlworld.comESMTP <20040614233546.GUPA5696.mta07-svc.ntlworld.com@m44-mp1.cvx3-b.pop.dial.ntli.net> for ; Tue, 15 Jun 2004 00:35:46 +0100 From: Ben Paley To: "freebsd -questions@" Date: Mon, 14 Jun 2004 22:46:21 +0100 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200406142246.21502.ben@spooty.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: ifconfig [interface] destroy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 23:35:55 -0000 Hello, Occasionally when I run ppp I get this message: bash-2.05b$ ppp Working in interactive mode Using interface: tun0 Warning: Add route failed: 0.0.0.0/0 already exists ppp ON potato> and ifconfig shows: bash-2.05b$ ifconfig -a rl0: flags=8843 mtu 1500 options=8 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::2c0:26ff:fe27:1909%rl0 prefixlen 64 scopeid 0x1 ether 00:c0:26:27:19:09 media: Ethernet autoselect (none) status: no carrier plip0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 vmnet1: flags=8843 mtu 1500 inet 192.168.254.1 netmask 0xffffff00 broadcast 192.168.254.255 inet6 fe80::2bd:1eff:fe0b:1%vmnet1 prefixlen 64 scopeid 0x4 ether 00:bd:1e:0b:00:01 tun0: flags=8010 mtu 1500 When this happens ppp seems to run normally and connect to my ISP, but no browsers or mail clients etc can see the network... I think this happens when someone closes an xterm session without quitting ppp, but I'm not sure - in any case, I've read the ifconfig man page and tried to sort it, but this happens: su-2.05b# ifconfig tun0 destroy ifconfig: SIOCIFDESTROY: Invalid argument Obviously I'm doing somthing wrong - what is it? Thanks, Ben