james rich wrote:
>
> Hi folks,
> I want to start a ppp connection from crontab. I want to monitor
> the line to reconnect if it drops. Later I want to end the connection
> from cron. I don't think I can use diald here because I want to maintain
> the connection regardless of traffic over the line. Am I wrong? I need
> something like xisp's auto-reconnect feature but usable from cron. Any
> suggestions?
>
> James Rich
> [EMAIL PROTECTED]
you _could_ use diald quite easily -- use the "restrict" and "up"
statements to force the link up during certain times, then "restrict"
and the "normal" filter rules to enable the "up when you need it" ;)
behaviour that is common with diald.
for example, /etc/diald/diald.conf:
<...>
restrict 18:00:01 20:00:00 * * *
up
restrict * * * * *
<normal filter rules follow...>
would make diald keep the line up b/n 6pm and 8pm all days, but only
dial-out when the filter rules matched at other times.
hope this is of interest,
--
:D_ima
Dima Nemchenko
[EMAIL PROTECTED]
---------------------------------------------------------------------
"Eventually, every frog has to croak."
Louis, the "Budweiser Lizard"
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]