From owner-freebsd-questions Wed Jul 18 21: 9:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc25.worldnet.att.net (mtiwmhc25.worldnet.att.net [204.127.131.50]) by hub.freebsd.org (Postfix) with ESMTP id 1630537B405 for ; Wed, 18 Jul 2001 21:09:33 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.101.235.85]) by mtiwmhc25.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010719040927.SZNZ5127.mtiwmhc25.worldnet.att.net@worldnet.att.net>; Thu, 19 Jul 2001 04:09:27 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id 6736D50BC5; Thu, 19 Jul 2001 00:12:07 -0400 (EDT) Date: Thu, 19 Jul 2001 00:12:07 -0400 From: parv To: Mark Hughes Cc: User & Ian Patrick Thomas , freebsd-questions@freebsd.org Subject: Re: Closing PPP connection opened using ppp -auto Message-ID: <20010719001207.A23653@moo.holy.cow> Mail-Followup-To: Mark Hughes , User & Ian Patrick Thomas , freebsd-questions@freebsd.org References: <045b01c10fc4$7813ba50$0200a8c0@mark2> <20010718201121.I51074@localhost> <20010718210458.A74289@moo.holy.cow> <05dc01c11002$61ea7960$0200a8c0@mark2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05dc01c11002$61ea7960$0200a8c0@mark2>; from mark@dvdnews.co.uk on Thu, Jul 19, 2001 at 04:24:21AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG on Jul 19 00:04, i got this from Mark... ... > > Sending an "INT" signal to PPP gets it to close the connection, but in this > case will it execute ppp.linkdown? the PPPoA driver for my modem needs to > be killall'd then restarted each time it is used in ppp (don't ask me why, > it's a known bug though according to the docs...should be fixed in the next > version :+) ) - I've got a script to do this executed from ppp.linkdown, > but that file never seems to get looked at. > > If the line is dropped, will ppp.linkdown be parsed then? That's the only > time I'd really envisage the line coming down and needing re-initializing. as far as i have seen, the only time ppp.link(up|down) scripts run is only when root sends a signal, be either HUP or INT. that's my problem & other's too. so, sudo may be the solution for you, for now, but i haven't tried. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message