On Thu, Jun 15, 2000 at 12:47:25PM -0600, james rich wrote:
> 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?
Run pppd with the nodetach option from init.
Put this in /etc/inittab:
p1:23:respawn:/usr/sbin/pppd call provider nodetach
replace provider with your provider's name
Run
init q
>
> James Rich
> [EMAIL PROTECTED]
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]
>
>
--
------------------
Sarel Botha
[EMAIL PROTECTED]
------------------
99 little bugs in the code, 99 bugs in the code,
fix one bug, compile it again...
101 little bugs in the code....
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]