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

Re: [Sheflug] IPCop and dial control



On Mon, 2002-02-04 at 16:02, james.mears [at] consignia.com wrote:
> I can get connections to go up and down at different times using crontab but I
> cannot figure how
> to start and stop the dial on demand function i.e. once the ppp connection is
> dropped at 7am it should be completely disabled until 6pm and then
> switched back on again.
> 
> I am sure this will mean editing cgi files or passing values to the cgi script via
> crontab ?? but how ?? this is where I get completely lost.

How about executing /etc/ppp/ppp-on when you want to bring up dod, and
/etc/ppp/ppp-off when you want it to go down?

That should work, on brief inspection.

Cheers,

Alex.

This is a digitally signed message part