For example: GENTOO_MIRRORS="192.168.5.4" emerge -fO atool >>> Fetching (1 of 1) app-arch/atool-0.39.0 >>> Downloading '192.168.5.4/distfiles/atool-0.39.0.tar.gz' --2013-01-31 20:29:17-- http://192.168.5.4/distfiles/atool-0.39.0.tar.gz Connecting to 192.168.5.4:80... It stay in this status for a while, so would be great do a sort of ping before start the merge.
I'm not sure ping is really works, sometimes server may block ping for security reason, but you can still access http/ftp
Why not just make your wget timeout shorter?
(In reply to comment #1) > I'm not sure ping is really works, sometimes server may block ping for > security reason, but you can still access http/ftp I don't see any security issue allowing the ping. Btw the list of mirror is not infinite. (In reply to comment #2) > Why not just make your wget timeout shorter? Also good idea.