LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2003, 12:03 AM   #1
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Rep: Reputation: 15
telnet problem - I have searched all over


I am trying to get telnet to work. I know that I should use ssh (but I am doing this for experimental reasoning). I have installed the server and found that it is suposed to be working. For example, here are some of the tests that I did:

=========================================
[mike@localhost xinetd.d]$ /sbin/chkconfig --list | grep telnet
#telnet#: on
telnet: on
[mike@localhost xinetd.d]$ netstat -pant | egrep :23
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN -
[mike@localhost xinetd.d]$ telnet 192.168.0.101
Trying 192.168.0.101...
Connected to 192.168.0.101.
Escape character is '^]'.
Red Hat Linux release 9 (Shrike)
Kernel 2.4.20-6 on an i686
login
=========================================

The problem is that I cannot connect via other computers on the LAN or through a Virtual server on my router. I can however connect via the local computer. Any suggestions? (besides switching to ssh )
 
Old 09-05-2003, 12:26 AM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
edit /etc/inetd.conf and /etc/services, make sure the telnet lines are not commented out, if they are uncomment and do a kill -HUP (INETD PID) you can find the pid with ps -aux
 
Old 09-05-2003, 08:32 AM   #3
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
I found xinetd.conf, not intetd.conf, and that had no lines commented out. Neither did services. Any other suggestions?

Thanks,

-Mike
 
Old 09-05-2003, 09:36 AM   #4
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
sorry, I don't
 
Old 09-05-2003, 10:02 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Is your firewall blocking access to port 23? That would explain why you could connect from within the machine, but not from outside.
 
Old 09-05-2003, 10:11 AM   #6
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
I am not concerned about the firewall (router) just yet because I cannot connect via another computer within the firewall. Maybe it has something to do with Redhat's firewall?

Thanks for all the help so far.

-Mike
 
Old 09-05-2003, 11:53 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Yes, I was suggesting that you look at the RedHat firewall. That may be where your trouble is.
 
Old 09-05-2003, 03:36 PM   #8
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
I changed the Redhat configuration through one of the system (GUI) tools. (I would like to know what this does under the GUI). Now I can telnet with all of my LAN computers, but I cannot telnet from an outside source. Does this mean that my router/firewall is not working correctly?

-Mike
 
Old 09-05-2003, 08:30 PM   #9
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
Well it turns out that it was a problem with my firewall/router. I updated the firmware and it worked great. Thanks all for the help.
 
Old 09-06-2003, 07:20 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
I would like to know what this does under the GUI
The GUI front ends you are using all deal with iptables (or ipchains on older distros). If you do a search on iptables here you will find TONS of info, including several firewall script examples. Learning iptables isn't a bad thing as it would allow you to customize your firewall very easily.
 
  


Reply



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
Mouse Problem (searched in the forum) HOHCEHC Debian 6 04-11-2004 02:44 PM
NVIDIA Searched... didnt find my problem linuxpupil Linux - Software 9 01-07-2004 08:27 PM
MA401 New Problem (aleady searched forum) weazy Linux - Laptop and Netbook 6 08-07-2003 09:39 PM
Mouse Scrolling problem (I have searched the threads too) ShibbyLinux Linux - General 6 04-12-2002 09:52 AM
iptables - I have searched and come up empty handed regarding telnet. ForumKid Linux - Security 15 01-09-2002 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:25 AM.

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