At 11:25 PM 2/2/00 +0000, you wrote:
> > You could check to see if a default route is present.
>
>All my machines have a default route set, but there is only an
>"internet" connection when the modem (in a remote firewall) is dialed up.
Ah, I hadn't considered he might be testing for an indirect connection to
the net. In some places, ping and traceroute firewalled; even that test
cannot be relied upon for every configuration.
(Am I correct that your remote firewall has no default route until pppd
adds one?)
The other boxes can't tell the difference between the net being gone and
one host being gone, though... The further "away" the tests are from the
local machine, the greater the possibility for error and long
timeouts. All a matter of what he *really* wants to know, I suppose. If
it's "can I download this web page," he might as well just try to download it.
-Mike
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]