Hi,
You can let pppd start pptp, and have it run in the forgruond:
pppd nodetach <pppd_args> pty "pptp --nolaunchpppd <pptp_args>"
That way it can be in a loop since pppd will return only after disconnecting.

Shahar

On Tuesday 20 June 2006 11:46, [EMAIL PROTECTED] wrote:
> HI again,
>
> On second thought I didn't catch that the previous script is run at time
> periods.
>
> What I was looking for was it to be event driven not time driven.
>
>
> the connection dies, the system reconnects.
>
>
> So I gather to do this I would need a daemon running which checks for a
> live connection and then if the connection dies its notification would
> trigger the connect script to run?
>
>
> I found pppstatus but I am not sure it will be of help.
>
> Is this possible?
>
> Thanks
> Aaron
>
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to