Re: Checking if the network is up
>>>>> "L" == Luis Francisco Gonzalez <email@example.com> writes:
L> Is there any way of checking whether the network is responding so
L> that I only run popclient when it is?
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
check the output of "netstat -r".