Tuan Hoang wrote:
> I have an application that requires a PPP (null modem) to another machine.
> I plan to fork a process that launches pppd with the appropriate options.
> Aside from looping and doing a "ps", is there a way for the fork'ed
> process to monitor pppd and make sure that it is still running?
You can prevent pppd from going into the background using the
`-detach' option, so you can just repeatedly execute pppd in a loop.
Also, if you specify the `persist' option, pppd won't exit if the
connection is closed, but will attempt to reopen it.
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]