LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-22-2006, 06:05 AM   #1
tba
LQ Newbie
 
Registered: Mar 2006
Distribution: RTAI/Red Hat
Posts: 4

Rep: Reputation: 0
Telnet between local comps (RTAI/Redhat 9)


Hello all,

For a research project, I am working with two local computers that need to talk through telnet. The hardware is as follows:

1) A WinXP computer for analysis and control purposes.
2) A robot running RTAI/Red Hat 9 Linux (kernel 2.4.20) that needs to receive commands and be accessed through Telnet and move based on those commands.

Since I am a Linux newbie, I come to you. The problem is as follows:
I can ping my robot with my WinXP computer and all packets are received. However, I can not open a connection through Telnet:

"Could not open connection to the host, on port 23: Connect failed."

However, when I do "chkconfig --list telnet", it says "on". Also xinetd and sshd are running, according to "service --status-all".

Furthermore, I edited "/etc/xinetd.d/telnet" so that "disabled=no". There is also a "/etc/xinetd.d/telnet~", but I don't know what it is. However, after a restart of the service and system I still couldn't connect. There's probably something I overlook. Any idea how to get this connection to work? What could be causing this?

Thanks in advance for any help or pointers,

Tom.
 
Old 03-22-2006, 06:19 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
any firewall installed on the machine that would block port 23 ? (or maybe on the source pc that would block the outgoing port)
 
Old 03-23-2006, 08:50 AM   #3
tba
LQ Newbie
 
Registered: Mar 2006
Distribution: RTAI/Red Hat
Posts: 4

Original Poster
Rep: Reputation: 0
The source pc (WinXP) has a standard Windows firewall, but it was turned off. The destination pc has a standard Red Hat distribution, I am not sure about that. How to find out?
 
Old 03-28-2006, 12:21 AM   #4
tba
LQ Newbie
 
Registered: Mar 2006
Distribution: RTAI/Red Hat
Posts: 4

Original Poster
Rep: Reputation: 0
Does anyone has any ideas what could cause this? I can ping it, but I can't telnet into it.
 
Old 03-28-2006, 05:52 AM   #5
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Did you check for a firewall (iptable or whatever...) blocking incoming port 23 on the linux box as suggested ? (on oldhat9, try redhat-config-security as root in a terminal...).
 
Old 03-31-2006, 08:42 AM   #6
tba
LQ Newbie
 
Registered: Mar 2006
Distribution: RTAI/Red Hat
Posts: 4

Original Poster
Rep: Reputation: 0
Bingo!

It WAS the Linux built-in firewall. I had enabled all services properly, but in Security Level it still said "disable". I didn't know how to access the firewall settings in Red Hat, but finally found it. You learn something every day. Like I said, I have extremely limited experience .

Thanks.
 
  


Reply


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
copy files from telnet session to local drive rkemp Linux - Networking 7 03-11-2009 06:01 AM
ZEBRA :telnet local host 2604 refused?? Y fhameed Linux - Networking 0 12-08-2004 12:19 PM
Telnet client that supports local printing? jedimastermopar Linux - Software 2 08-14-2004 08:06 AM
telnet problem between two local linux machines jkcunningham Linux - Software 2 06-23-2002 02:48 PM
telnet local but no-telnet via internet blacksheep Linux - Networking 7 11-26-2001 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration