Operating System - Linux
1828408 Members
4488 Online
109977 Solutions
New Discussion

Re: Telneting from linux to HP-UX

 
ROSS HANSON
Regular Advisor

Telneting from linux to HP-UX

Is there a setting I am missing for this problem?
When I telnet from my Red Hat box to a HPUX server it does connect but only after about
15 seconds or so go by. Doing the same thing from a Windows box it connects right away!
Both are on the same subnet,gateway and so on.
What is missing if anything?
Ross Hanson
6 REPLIES 6
John Poff
Honored Contributor

Re: Telneting from linux to HP-UX

Hi,

It could be a name resolution issue. Check to see that each box can resolve the other one via nslookup, and also check the reverse lookup using the IP address.

JP
Sergejs Svitnevs
Honored Contributor

Re: Telneting from linux to HP-UX

Do all your machines have the other machine names in the host tables (/etc/hosts)? Telnet and ftp to a HPUX (and Linux) box will do a reverse lookup, so if the boxes do not have both machines in their host table, it will take a lot longer.

Regards,
Sergejs
Balaji N
Honored Contributor

Re: Telneting from linux to HP-UX

hi,

by any chance does this has anything to do with the reverse lookup.

the server which you connects to tries to use a reverse dns lookup and see if it can validate the ip?

try adding the hostname of the linux box to /etc/hosts file on HPUX and see if it helps.

also, can u post the relevant clippings from the syslog on HP unix.

and are you sure that there is no issue with the DNS settings on the RHL box.

some how i think that the problem is with DNS.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Caesar_3
Esteemed Contributor

Re: Telneting from linux to HP-UX

Hello!

Check if you made ping and other services
if this also take time.

Caesar
Steven E. Protter
Exalted Contributor

Re: Telneting from linux to HP-UX

This is just latency.

If you have a DNS server, preferably HP-UX or Linux, servicing the local domain, you'll get very fast connect.

I had the exact same problem in my web hosting business on the internal network. The second I had the webserver do DNS for local machines the connects were instant.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ollie R
Respected Contributor

Re: Telneting from linux to HP-UX

Hi Ross,
To test if this is anything to do with hostname resolution, try to TELNET using the IP address instead of the hostname.
If it connects straight away, you can be pretty sure the problem has been identified.
Ollie.
To err is human but to not award points is unforgivable