On Tue, Sep 12, 2006 at 12:51:50PM -0700, James G. Sack (jim) wrote:
> 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?
Actually, Stewart put together that table for me to confirm it. He was
making sure we were talking about the same situation.
>
> Somebody asked whether you could nmap gypsy (eg from linus, run nmap
> gypsy) -- did you do that, and did port 22 show up?
I could do that ... if gypsy were powered up. But, it'll have to wait
<sigh> until I get home (or someone does who can answer the phone -- not
the cats or the snake).
>
> 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
>
> = = =
>
Worth trying, perhaps.
--
Lan Barnes
Linux Guy, SCM Specialist
Tcl/Tk Enthusiast
You say you are a Calvinist. I am not. I am of a sect by myself, as far
as I know.
- Thomas Jefferson, letter to Ezra Stiles Ely, June 25, 1819
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list