>>>>> "M" == Maarten Boekhold <[EMAIL PROTECTED]> writes:
>> I just have my ip-up script (it's a ppp config script, see man >> pppd) touch a file in /usr/local/etc/ppp when I connect, and >> ip-down remove the file when I disconnect. Then I can just check >> for the existence of that file, and know if I'm connected. >> Alternatively, you could M> doesn't work if the connection is dropped by a bad line or such M> things. It does if you also have these set. lcp-echo-interval lcp-echo-failure Actually, I think hardware handshaking should handle the problem, but it doesn't always seem to (grrr). -- Rob