Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet hangs!

Status
Not open for further replies.

acipriani

MIS
Dec 14, 2001
14
US
When connecting to a SCO 5.0.5 machine, some of my pc's emulator, when starting the telnet session, will hang. I do not get a login at this point, but after about 1 - 2 minutes a login will pop up and everything is fine.

I am using Power Term or just plain old Windows telnet. Hangs for both.

Any help or pointers into the right direction would be great.

Thanks,
Adam
 
Check your hostname resolution. (ie /etc/hosts or DNS)
What is most likely happening is your unix machine is unsuccessfully trying to resolve your hostname from your ip.

The problem will be in the reverse arp resolution.
Look at the entries for the clients having the problems vs the entries for the clients that work normally.

stan
 
Stan,

Thanks for the help. I determined that there was a problem with the default gateway. By removing the gateway, the problem was resolved, but what bothers me is why having a default gateway was causing this problem? They don't need it, so I'm not going to lose sleep, but knowing is always better. Thanks again for you help Stan.

Thanks,
Adam
 
Forgot the actual system protocol that needs to timeout before the IP is answered back....but essentially the hang is the timeout having to complete.
try:

inconfig tcp_initial_timeout 3

This will mean that timeout will be [6 seconds]. You always double the number entered.

Keep a look out for /etc/resolv.conf. Doesn't hurt to move out of way [mv resolv.conf resolv.conf.old]. This will hang TCP altogether...and will even hang "pinging" the server address. grrrrr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top