LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-03-2005, 07:12 AM   #1
mavles
LQ Newbie
 
Registered: Sep 2003
Distribution: RedHat
Posts: 5

Rep: Reputation: 0
Telnet not working


Hi,

I've installed Linux Redhat 9.0 and it's connected to another WinXP laptop in the same network. If I telnet from the Linux RH9 Box to localhost or its IP 192.168.1.2, I can get connected. But when I telnet from the WinXP laptop with the IP 192.168.1.5, it never gets through. The screen in the laptop hangs for a while and then exits with the error message below:

telnet 192.168.1.2
Trying 192.168.1.2....
telnet: Unable to connect to remote host: Connection reset by peer

I'm aware that this a common classic problem with Linux because I've been reading the forum threads everywhere. But unfortunately there doesnt seem to be a common classic solution for this.

If there is anyone here who'll be able to shed some light in this matter. I appreciate greatly if someone can come forward to help me.

Waiting anxiously,

Selvam
 
Old 01-03-2005, 07:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
sounds like you have only_from set in /etc/xinetd.d/telnetd but don't use telnet. it's crap. use ssh

http://openssh.org
http://www.chiark.greenend.org.uk/~sgtatham/putty/
 
Old 01-06-2005, 10:42 AM   #3
mavles
LQ Newbie
 
Registered: Sep 2003
Distribution: RedHat
Posts: 5

Original Poster
Rep: Reputation: 0
Actually I do agree with you that telnet is crap and ssh is far better. But the problem is that all the other pcs in my customer premises are windows. and i have installed linux red hat as a database server. so if i were to troubleshoot i need to telnet from any of the windows machines to the linux server. i hv no choice but to telnet from windows as windows doesnt come with ssh.

So based on my previous symptoms can you diagnose what could be the problem? i think it has to do with some configuration file. Please share with me if you know the solution.
 
Old 01-06-2005, 10:49 AM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Use putty in the windows boxes to get ssh access.
 
Old 01-06-2005, 10:50 AM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Anyway... are you filtering traffic comming into the telnet server?
 
Old 01-07-2005, 01:31 AM   #6
chumisekar
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
By default when u install REDH HAT 9.0 the firewall security IPTABLES also gets installed and started . Check whether the iptables is in the process . iptables -L
and stop the firewall and flush by iptables -F


sumithra
 
  


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
telnet not working bijuhpd Linux - Newbie 2 05-12-2005 07:09 AM
Telnet on LAN not working oPi Linux - Newbie 7 02-03-2005 08:25 AM
telnet is not working JackDante Linux - Newbie 16 08-04-2004 03:48 AM
Telnet not working mbiker Linux - General 3 04-29-2002 04:03 AM
telnet not working keirobyn Linux - Networking 2 01-21-2002 07:20 PM

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

All times are GMT -5. The time now is 11:07 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