On Fri, 19 Oct 2001, Liu Tao wrote:

> Thanks for your reply. It corrected my mistake :)
> route -n returns immediately, and route returns after sevel seconds.

Cool, now we know what the problem is:
Name resolution, more specifically IP->Name resolution.

> then how to make in.telnetd do not do a dns reverse lookup?

You can't make in.telnetd act as a DNS server.  You should be able to add the
appropriate lines to /etc/hosts to make it work on your LAN.

127.0.0.1         localhost
192.168.0.1       win2kbox.your.domain    win2kbox
192.168.0.X       linuxbox.your.domain    linuxbox

replace "X" with the correct host IP.

Make sure your you have hosts.allow setup correctly.

I suggest while you are testing it you add:
in.telnetd:     ALL
to /etc/hosts.allow

Once you have it working you can substitute "ALL" for a better value.

Also check /var/log/daemon and /var/log/syslog for helpfill messages about
what is going on.

On the whole tho. I suggest that you setup ssh as it is just better than
telnet.

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */

Reply via email to