Davy Leon wrote: > Hi guys > > I have a link wich I stablish by running > > pppd call isp > > It' launched by the cron at some scheduled times of the day. I need the > link doesn't stay up for more than 30 min, but doesn't know how to do > that. No matter the link is idle or being used I want to terminate it > once reached the ammount of time specified. How can I do that? I should probably port this option over from the OpenSolaris variant of pppd: maxconnect n Terminate the connection after it has been available for network traffic for n seconds (that is, n seconds after the first network control protocol starts). An LCP Time-Remaining message is sent when the first NCP starts, and again when 5, 2, and 0.5 minutes are remain- ing. Without that option, one way of doing what you ask is to use the "linkname" parameter to force a reliable PID file name, and then just sleep and kill the process based on the contents of that file. -- James Carlson 42.703N 71.076W <carlsonj@xxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html