[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Checking if the network is up

> 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 Boekhold, Faculty of Electrical Engineering TU Delft,   NL  |
|   boekhold@cindy.et.tudelft.nl boekhold@gopher.library.tudelft.nl   |
|                  Take life as a party!                              |

Reply to: