At 07:12 28/08/98 +0200, Stefan Frank wrote:
>Hi,
>
>i'm looking for a way to check within a shell script wheter a PPP connection
>is already up or not. To check for a /var/run/ppp0.pid file did not help, as
>this file is already created when the modem is still dialing my ISP's
>number.
Try something like: ifconfig | grep ppp0
I used this in my ppp-on shell script - i put it in a loop with a 1 second
delay.
There is probably a better way, but it worked for me..
Regds, Peter
---
Direct: 01252-742562
Main: 01252-742555
Fax: 01252-742556
Pager: 01426-226613
*
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]