Date: Thu, 19 Jul 2001 05:11:54 +0100 From: "Mark Hughes" <mark@dvdnews.co.uk> To: "parv" <parv_@yahoo.com> Cc: "User & Ian Patrick Thomas" <ipthomas_77@yahoo.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Closing PPP connection opened using ppp -auto Message-ID: <060c01c11009$056acd00$0200a8c0@mark2> References: <045b01c10fc4$7813ba50$0200a8c0@mark2> <20010718201121.I51074@localhost> <20010718210458.A74289@moo.holy.cow> <05dc01c11002$61ea7960$0200a8c0@mark2> <20010719001207.A23653@moo.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?060c01c11009$056acd00$0200a8c0>