From owner-freebsd-questions Wed Jul 18 21:12:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dv-db.com (dv-db.com [207.159.141.95]) by hub.freebsd.org (Postfix) with ESMTP id 0685437B401 for ; Wed, 18 Jul 2001 21:12:45 -0700 (PDT) (envelope-from mark@dvdnews.co.uk) Received: from mark2 (host217-35-26-126.btopenworld.com [217.35.26.126]) by dv-db.com (8.9.3/8.9.3) with SMTP id FAA27014; Thu, 19 Jul 2001 05:12:36 +0100 (GMT/BST) Message-ID: <060c01c11009$056acd00$0200a8c0@mark2> From: "Mark Hughes" To: "parv" Cc: "User & Ian Patrick Thomas" , References: <045b01c10fc4$7813ba50$0200a8c0@mark2> <20010718201121.I51074@localhost> <20010718210458.A74289@moo.holy.cow> <05dc01c11002$61ea7960$0200a8c0@mark2> <20010719001207.A23653@moo.holy.cow> Subject: Re: Closing PPP connection opened using ppp -auto Date: Thu, 19 Jul 2001 05:11:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 > > 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. Yeah...I don't mind running it as root in all fairness. Having tried it though, the scripts do not seem to be executing. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message