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

[-- Attachment #1 --]
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

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

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c08a8f$edf53380$0200a8c0>