[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] Newbie questions - 1
Steve Mansfield schrieb am 2003-08-28:
> Then it occurred to me that I sometimes have this problem with web surfing.
> Our connection is via an ISDN dial-up router connected to the hub. When the
> router is offline and you type in a URL, the router dials-up and connects, as
> you'd expect. But sometimes, you get a 'server not found' message. Hitting
> 'reload' in the browser then connects you. It's as though the router, or
> something along the way, is dropping some data during the initial connection.
DNS query are likely to be dropped; using UDP, such data silently
disappears when the network is down. That would match "server not
found".
Are you running a local DNS resolver either on the router or your
computer?
> This concerned me with regard to putting Fetchnews into a cron job. So for the
> time being, the crontab precedes the fetchnews command with a 'ping
> news.wanadoo.fr -c 1 -w 1'. Wanadoo isn't returning the ping, but at least it
> wakes up the router. It remains to be seen how effective this is. If anyone
> has a more sensible suggestion (I'm very new to *nix), I'd appreciate hearing
> it.
This should be ok, although I'd suggest using -w10 or something so it
waits for up to 10 s or the link is up, whichever comes earlier. You may
need to stuff "193.252.19.30 news.wanadoo.fr" into your /etc/hosts
though so the ping will start reliably.
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list