Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 23:40:32 -0800
From:      "Ben Pfountz" <netprince@vt.edu>
To:        <freebsd-questions@freebsd.org>
Subject:   Can I having ppp run a program before disconnecting?
Message-ID:  <000a01c08a8f$edf53380$0200a8c0@princenet>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C08A4C.DEDA7420
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am using ppp in -auto mode with a 32 minute idle timeout.  I would =
like to run a script just before each idle disconnect in order to update =
my DNS services to an offline state.  I cant use ppp.linkdown because I =
am already disconnected from the internet when it is executed.  Is there =
a way to do this?

Please CC me because I'm not a subscriber to freebsd-questions.

Thanks.

--
Ben Pfountz
Computer Science Undergraduate
Virginia Tech

------=_NextPart_000_0007_01C08A4C.DEDA7420
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am using ppp in -auto mode with a 32 =
minute idle=20
timeout.&nbsp; I would like to run a script just before&nbsp;each idle=20
disconnect&nbsp;in order to update my DNS services to an offline =
state.&nbsp; I=20
cant use ppp.linkdown because I am already disconnected from the =
internet when=20
it is executed.&nbsp; Is there a way to do this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Please CC me because I'm not a =
subscriber to=20
freebsd-questions.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>--</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ben Pfountz</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Computer Science =
Undergraduate</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Virginia =
Tech</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C08A4C.DEDA7420--



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?000a01c08a8f$edf53380$0200a8c0>