1833758 Members
2746 Online
110063 Solutions
New Discussion

Telnet problem

 
Isaac_4
Frequent Advisor

Telnet problem

Hi

I have a problem with my hpux box, after reinstalation the server only can acess using ssh conection but i need use the Telnet conection, somebody know how can active the telnet service. I can made telnet to the other server but no body can made telnet for my hpux 11.11 box.
Thank you
The time is gold
6 REPLIES 6
Devender Khatana
Honored Contributor

Re: Telnet problem

Hi,

By default the telnet service should be enabled after installation. What is the error message you are getting?

Is it connection refused?
Or
Stopping at flow controll off.

You can check it the telnet line is commented in /etc/inetd.conf. If it is commented then remove the comment and restart the inet daemon using

#inetd -c

HTH,
Devender
Impossible itself mentions "I m possible"
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Telnet problem

The name of the deamon is telnetd

Do
ps -ef | grep telnetd

This will help us know whether the deamon is running or not.
Vibhor Kumar Agarwal
baiju_3
Esteemed Contributor

Re: Telnet problem

Chek for the below line in /etc/inetd.conf

telnet stream tcp nowait root /usr/lbin/telnetd telnetd

Alo in /etc/services for the below line.

telnet 23/tcp # Virtual Terminal Protocol


If these lines are commented , then uncomment it do an #inetd -c .

thx,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Indrajit_1
Valued Contributor

Re: Telnet problem

Hi;

By default hp unix support telnet until an unless it is not blocked in ur internel firewall. Please check the following files

#cat /etc/services

if telnet is commented, uncomment it (remove # from telnet)
#cat /etc/inetd.conf

uncomment telnet if commented
#inetd -a
#cat /var/adm/inetd.sec

Hope this will help u to resolve ur issue..

cheers
indrajit
Never Ever Give Up
Bharat Katkar
Honored Contributor

Re: Telnet problem

Hi,

1. #cat /etc/inetd.conf
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd

The line above should not have been commented
If it is then uncomment it.

2. #cat /var/adm/inetd.sec

Check whether you have blocked telnet service here.

3. And now do
# /sbin/init.d/inted stop
# /sbin/init.d/inetd start

This Should help.
Regards,


You need to know a lot to actually know how little you know
Isaac_4
Frequent Advisor

Re: Telnet problem

thank you for help,
The time is gold