Telnet Problem

Hi,

    Recently I installed Linux 8. But I am unable to connect Telnet at clinet side. Both side means client and server Each other ping ok. If I connect by using Telent  "connection refused" Error is  comming. I think it is problem in the services. please tell what services I need to enable......

E-mail: rameshsamala@yahoo.com

Rameshsamala
rameshsamalaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

shivsaCommented:
1. check telnet entry in inetd.conf:

telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd
2. there is nothing in hosts.deny. Do you have correct entry in /etc/hosts for your local hostname and domain?
also you check to see if there is a corresponding 'NONE' in hosts.allow.

3. Can you telnet to the loopback (127.0.0.1) when you are logged in at the console?
4.  what kind of output this command give netstat -na | grep :23
if u do not get anything then try
 /sbin/chkconfig telnet
/etc/init.d/xinetd status
/etc/init.d/xinetd start

5. if u have firewall enable or tried to enable firewall or something.
then u need to either modify the firewall rules to permit inbound telnet and FTP traffic, or disable the firewall entirely. The later can be done with:

# chkconfig --level 2345 ipchains off
# chkconfig --level 2345 iptables off

That will prevent the firewall from starting at the next boot, and you can kill the running firewall with:

# /etc/init.d/ipchains stop
# /etc/init.d/iptables stop
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
owensleftfootCommented:
Edit the file /etc/xinetd.d/telnet and change the line disable = yes to diable  = no. Then issue the command service xinetd restart.
0
_corey_Commented:
You might actually still have to install the telnet-server* rpm file off the redhat cd2
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

sam_sunderCommented:
hello Samala,

1. Check wheather the telnet-server  package is installed.
2.  Check if the telnet server is running. You can do it in 3 ways.
        1. Chkconfig --list  and if the telnet service is not on make it on
        2.  Type  ntsysv if you are in super user mode. If the telnet option is not checked check the option and            
                restart xinetd.
        3.  Edit the file /etc/xinetd.d/telnet and change the line disable = yes to diable  = no
3. If your clients are windows OS try using PUTTY Tool Kit. Its a great tool I like it very much. You can download it from http://www.chiark.greenend.org.uk/~sgtatham/putty/

regards,

sam
0
LuxanaCommented:
Or try

#setup

then choose system services

check that you have ticked xinetd and telnet then

#/etc/init.d/xinetd restart
0
willy134Commented:
I would be trying to use ssh instead of telnet---it is secure (and telnet is not)
0
haydes007Commented:
I agree with willy. SSH will ensure that people can't ready what is being sent via telnet with a packet analyzer. Try the following command instead:

ssh -l yourlogin address.of.server

the -l lets you specify the login name to use. For more information type man ssh.
0
sam_sunderCommented:
if you want to use ssh. Try using putty.

regards,

sam
0
Karl Heinz KremerCommented:

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between  shivsa, owensleftfoot and  _corey_
Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.