1833758 Members
2059 Online
110063 Solutions
New Discussion

slow telnet

 
Peter Wong_6
Occasional Contributor

slow telnet

on my workstation running 10.20 it is very slow in setting up telnet sesion.
ie after typ in telnet hostxxx it could be couple of minits before I get the
login promt. Have try using IP adress of hostxxx and it is the same. Even if
I try telnet to the workstation from the workstation it is the same and it even
tke longer to process the login after I type in the password for it log me
in??? Any sugestions?
4 REPLIES 4
Dan Hull
Regular Advisor

Re: slow telnet

It sounds like there is probably a network problem here. You may want to post a
similar message in the "Networking and Openview" forum also (if you haven't
already).

Re: slow telnet

Looks like a network problem. What happens if you try
% telnet 127.0.0.1
Does that come up immediately?

Perhaps you should also check your logfiles to see if there are warnings or
errors regarding the network.

Are other services (ftp, http) also affected?

Do ping or traceroute work properly?
Jason Luginbuhl_1
Frequent Advisor

Re: slow telnet

Peter,

This type of thing is normally a result of a problem with the name resolution
having a problem with the "reverse lookup" resolving IP to hostname.

Here is a good thing to test. Once you get logged in (after the delay), try the
following command:
$ who -Rm

This will tell you exactly where this new system thinks you came from. Pay
attention to exactly what is in the parentheses. If configured properly you
would expect to see the fully-qualified domain name of the box you came from.
If it is an IP address in the parentheses then it could not "reverse lookup"
your IP address and you are having problems with name resolution. If using DNS
or NIS, you will need to fix/update the maps. If using /etc/hosts, make sure it
has accurate entries.

You can convince yourself that the name resolution is the problem by trying the
following:
1) Add an entry for the box you are coming from into the destination system's
/etc/hosts file.
2) Move /etc/resolv.conf to /etc/resolv.conf.old if resolv.conf exists.
3) Create/edit /etc/nsswitch.conf so that the "hosts" line looks EXACTLY like:
hosts: files
4) Retry the telnet. If the delay is gone, the name resolution on the
destination system is your issue.
Carey Goad_1
New Member

Re: slow telnet

Peter, we had an identical problem like this and Jason is right on. We finally
disabled our reverse lookups by changing the nsswitch.conf to only include the
host file.