> 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

doesn't work if the connection is dropped by a bad line or such things.

Maarten 

_______________________________________________________________________
| Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL  |
|   [EMAIL PROTECTED] [EMAIL PROTECTED]   |
|                  Take life as a party!                              |
-----------------------------------------------------------------------

Reply via email to