1848564 Members
6489 Online
104033 Solutions
New Discussion

Re: hpux telneting

 
chandra sekhar_6
New Member

hpux telneting

i cant telnet to hpux machine having same segment ip &gateway
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: hpux telneting

On the server, the machine you wish to connect to:

inetd -l
tail -f /var/adm/syslog/syslog.log

Now try your telnet


See if there is anything on the syslog that indicates the source of trouble. If you know how to fix it, fix it otherwise post here for further help.


You can use tcpdump to diagnose the network traffic as well though thats a lot of data to read.

Other tidbits.

See if telnet is even configured in the server machines inetd.conf file. It can't be commented if it is to work.

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
Muthukumar_5
Honored Contributor

Re: hpux telneting

Can you please elaborate the problem? what you are trying with telnet? what is the error message you are getting?

Post this information.

hth.
Easy to suggest when don't know about the problem!
Torsten.
Acclaimed Contributor

Re: hpux telneting

first - as simple test - check the client connectivity. do a "ping servername" and "nslookup servername". if this is working, try to telnet from the server dirctly. What are the results, errors?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
saju_2
Respected Contributor

Re: hpux telneting

Hi

Are u able to ping to the hp-ux box?

If u r able to ping check whether telnet is enabled in the server.

/etc/inetd.conf file will contain a line for telnet
telnet stream tcp nowait root /usr/lbin/telnetd telnetd

If this line is hashed out then telnet will not work.

IF not, check /var/adm/inetd.sec and verify whether ur client machine ip is allowed to make a telnet session.

Regards
CS
Muthukumar_5
Honored Contributor

Re: hpux telneting

Few Check Points:

i) Check Connectivity:

Check with ping or nslookup with hostname or ip-address of the server.

ii) Check routing Status:

Check the routing with traceroute (unix) or tracert (windows) to hpux machine.

iii) Having any change to login in to machine:

When you are having login service like rlogin or ssh then login with check these.

a) Check telnet port is open:

netstat -na | grep 23

b) Check /etc/securetty file existance:

If that file is there then it will block to use root login

c) See /var/adm/inetd.sec file blocking service to particular ip-address / hostname / network

d) See /etc/profile or .profile for the speficic user's $HOME directory for blocking telnet service.

Check these. And post your work as response.

hth.
Easy to suggest when don't know about the problem!