Stewart Stremler wrote:
..
But I can ping AND ssh between all the other machines and from gypsy to
all the other machines.

FROM            TO              PING    SSH
linus           linus           Y       Y
linus           hendriena       Y       Y
linus           gypsy           Y       N
hendriena       linus           Y       Y
hendriena       hendriena       Y       Y
hendriena       gypsy           Y       N
gypsy           linus           Y       Y
gypsy           hendriena       Y       Y
gypsy           gypsy           Y       Y

And the error is "No route to host".


I assume that the last-3 postulated lines are only from memory, since you cannot get into gypsy, right?

Somebody asked whether you could nmap gypsy (eg from linus, run nmap gypsy) -- did you do that, and did port 22 show up?

If you have nc (netcat), here's a useful little script for checking whether ports are open on some destination. I call it portlook.sh, and put it in /usr/local/bin (chmod +x).

= = =
#!/bin/sh
#TODO: add -q (quiet) switch,
# maybe -v (verbose) instead, or, in addition

function usage {
    PGM=${0##*/}
    cat <<END_USAGE
Usage: $PGM url [port]
 a url is required; port defaults to 80 (http)
 port may also be a service name such as http, ftp
 examples:
   $PGM yahoo.com
   $PGM www.yahoo.com 80
END_USAGE
    exit 91
}

which nc &>/dev/null || { echo "required nc program seems missing"; exit 92; }
[ -n "$1" ] || usage
URL=$1
PORT=${2:-"80"}
echo checking for connectivity to "$URL" port "$PORT" ..
nc -zw3 "$URL" "$PORT"
RC=$?
[ $RC -eq 0 ] && echo YES || echo nope
exit $RC

= = =


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to