From owner-freebsd-questions Sat Oct 3 15:56:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13758 for freebsd-questions-outgoing; Sat, 3 Oct 1998 15:56:17 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13709 for ; Sat, 3 Oct 1998 15:56:06 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id XAA08566; Sat, 3 Oct 1998 23:55:38 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id XAA00567; Sat, 3 Oct 1998 23:06:56 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810032206.XAA00567@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: groggy@iname.com cc: freebsd-questions Subject: Re: tunX = RUNNING, NOT! In-reply-to: Your message of "Fri, 02 Oct 1998 01:44:03 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 03 Oct 1998 23:06:56 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > i'm ending up with useless > tunX (ppp) devices on a dialup > server. they disappear if i > reboot the machine, but otherwise, > i can't get rid of bogus > > tunX: flags=8050 mtu 1500 > > lines in my ifconfig -a output. > > they should say: > > tunX: flags=8010 mtu 1500 > > what causes this? and what can i do about it? Check out ``15.1.2. Building a ppp ready kernel'' in the handbook. > it's causing me to run out of available > tunX devices. 2.2.7 running ppp -alias. The RUNNING flag just indicates that the interface has been used before. It doesn't prevent the device from being opened again. > i have a feeling it's from > bad connects/disconnects ... The only thing that should prevent a tun device from being used is if another process has it open. Try running ``fstat /dev/tunX'' to see what's upsetting things. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message