[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dialup connection timer



On Wed, Nov 05, 2008 at 10:48:33AM +0200, Dotan Cohen wrote:
> 2008/11/5 Douglas A. Tutty <dtutty@vianet.ca>:
> > On Tue, Nov 04, 2008 at 10:02:35PM +0200, Dotan Cohen wrote:
> >> Is there any GUI-based software for timing how long one has been
> >> connected to dialup? I have found wvdial but I need something for a
> >> less technical user. Thanks in advance.
> >
> > Its not GUI, but a simple way would be to add a script to the -up and
> > -down ppp directories that just puts the output of date to the end of a
> > file with a comment like "dialup on" and "dialup off".  Let the less
> > technical user be able to read this file and they can do the math.
> 
> Thanks, Doug, but this would not work in the case of accidental
> disconnects, which are frequent with dial-up.

Are you saying that /etc/ppp/ip-down isn't run if you unplug the phone
wire?  I've never had that problem.  As for handling accidental
disconnects, there's the pppd persist option.

Doug.


Reply to: