how can a program tell if ppp-on succeeded
Posted on 1998-10-13
I'm using Redhat 5.1.
I have pppd working correctly.
I'm writing a program that starts up a ppp link via the /etc/ppp/ppp-on script file.
The program needs to open up a socket with the remote computer after the ppp link is established.
Does anyone know of a "good" way to determine if the ppp-on script succeeded in establishing a ppp link?
Do I use the connect-errors file?
Do I use the ip-up.local and ip-down.local files?
How long do I wait to determine a failure?