Re: Checking if the network is up
>>>>> "M" == Maarten Boekhold <firstname.lastname@example.org> 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
It does if you also have these set.
Actually, I think hardware handshaking should handle the problem, but
it doesn't always seem to (grrr).