Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-11-2008, 02:40 PM   #1
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
telnet error : checklist

2 days back I faced a problem...
I wanted to start telnet on RHEL5 and SLES10SP1. But i was not able to.
It was giving error like illegal seek and was not allowing root to login and etc...
Most of the google result was saying that use SSH and not telnet... We know it but its an requirement to use telnet... So I am putting a summary how to debug the prob...

Debug telnet issue
1. Check out telnet server is running on DUT (i.e., the machine to which you want to telnet)
rpm -qa | grep telnet
If not, take rpm from net, install it and see.

2. If telnet-server is already there, see whether it is listening on correct port
netstat -tan
and there should be one entry like : tcp 0 0* LISTEN

3. If it is not there, checkout
chkconfig --list telnet
It should show you telnet on

4. If not, run chkconfig xinetd on

5. If this is also fine. Edit file vi /etc/xinetd.d/telnet
and add a line disable = no

6. If it is there, then edit file vi /etc/securetty
and add entries like pts/0 and pts/1 and pts/2 and pts/3 .... etc
chmod 644 /etc/securetty

7. If this is also fine. Then add an entry of the telnet client to /etc/hosts file on telnet server.
Old 01-11-2008, 03:47 PM   #2
Senior Member
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
The following are better ways to debug

1. Make sure telnetd is installed
rpm -qa |grep telnet-server

2. If it isn't installed install it.

3. After it is installed, see if it is running.
netstat -tl |grep telnet

4. If it isn't running see if you can start it:
sudo chkconfig telnet on
/etc/init.d/xinetd restart

The last two are fine.

8. If you still can't connect check your firewall settings.



Last edited by forrestt; 01-11-2008 at 03:49 PM.
Old 06-08-2008, 10:51 PM   #3
Registered: Sep 2004
Posts: 56

Rep: Reputation: 15
Check /etc/xinetd.conf and make sure you have correct "only_from = xx.xx.xx.xx"


connection, error, illegal, refused, root, telnet

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Checklist software, anyone? dotancohen Linux - Software 3 09-11-2007 05:55 PM
Xdialog checklist help serris Programming 2 10-31-2006 02:57 AM
security checklist ddaas Linux - Security 8 06-17-2005 05:36 AM
vpn checklist sanw2k Linux - Networking 1 10-20-2003 03:28 AM
Security CheckList miso Linux - Security 4 11-25-2002 04:23 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration