[NTLUG:Discuss] no route to host and ...
Richard Cobbe
cobbe at directlink.net
Sun Jul 16 14:47:10 CDT 2000
Lo, on Sunday, 16 July, 2000, m m did write:
> Hi all:
>
> could anyone tell me what are the most reason to cause the problems:
>
> 1. no route to host.
Number of things; my experience (with diald & pppd) is that the default
route isn't getting added to the route table appropriately (or, really, at
all). That's certainly not the only possible cause.
> 2. network is unreachable.
See above.
> 3. connection closed by foreign host.
This message is presumably from telnet? Couple of reasons:
1) Telnet usually displays this after you log out of the remote session.
If this is the case, this is expected and not an error.
2) If, on the other hand, you're getting this message before you get a
chance to log on to the remote session, then the remote machine is most
likely configured to prevent you from logging on from your source
address. (Note for the interested: I don't think the Linux firewalling
code will generate such a message; this is usually a result of using
the tcp_wrapper package.)
> 4. How do I start telent server?
Make sure that the line containing `telnet' in /etc/inetd.conf is NOT
commented out, and then make sure that you're running inetd.
Is this, however, really what you want to be doing? Telnet is easy to set
up, but it's also extremely insecure: the entire session, including
whatever passwords you might use, will be sent cleartext over the net.
This is not good; you may want to check out SSH as a replacement
(www.openssh.net or www.ssh.com, depending on which licensing situation you
want). It's not that much harder to set up, and it encrypts all
communications over the network.
> 5. which file is the "route add ..." commend writes on?
I may be wrong, but I believe that the route table is stored in-core, in
the kernel, rather than written to disk. In other words, 'route' doesn't
write to a file.
> 6. someone post the question: "can not ping to outside..."
> where can I retive the discuss?
If you're asking for mailing list archives, try
<http://ntlug.org/mailman/listinfo/>.
Richard
More information about the Discuss
mailing list