LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2004, 03:30 PM   #1
spivy66
LQ Newbie
 
Registered: Nov 2004
Posts: 28

Rep: Reputation: 15
Question telnet


I am new at linux. I have a problem that is driving me nuts.. Iam trying to get telnet server to run on my redhat 9 machine . I have tried everthing to get this working , I'll start off saying that when i type netstat -an --inet the ports are listening :22 and 23: and the foreign address is 0.0.0.0:*. The werid thing is i can telnet localy but no other machineon my network can, i have no firewall on here i type in iptables and says iptable needs to be upgraded, so i know its not a firewall issue. I also have done the following

made sure in /etc/xinetd.d/telnet
that disabled = no
I even added a line Only_from 0.0.0.0
check the host.deny in /etc/
checked the logs in /var
ran netstat - l and saw that telnet was listening

I have restarted xinetd serval times:


I am out of ideas i have read everything posble on the net that could help me.Is there a file to where telnet listens,cause like i said i can telnet localy on the machine Please help me

Last edited by spivy66; 11-22-2004 at 03:41 PM.
 
Old 11-22-2004, 04:48 PM   #2
LasseW
Member
 
Registered: Oct 2004
Distribution: Fedora 7, OpenSuse 10.2
Posts: 108

Rep: Reputation: 15
What happens when you try telnet from another machine ? Is there an error message or will it just hang ? Can you ping from the remote machine ?
 
Old 11-22-2004, 05:42 PM   #3
spivy66
LQ Newbie
 
Registered: Nov 2004
Posts: 28

Original Poster
Rep: Reputation: 15
yes i can ping the remote machine just, the error i get after it hangs for a few sec. is " could not open connection.. conection failed"
 
Old 11-22-2004, 08:14 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Makesure in.telnetd is installed on your machine. A lot of distros don't install the telnet-server package by default because it's a security risk. You should really not use telnet, but use SSH instead, as iot encrypts the traffic before sending it accross the network.
 
Old 11-22-2004, 09:58 PM   #5
spivy66
LQ Newbie
 
Registered: Nov 2004
Posts: 28

Original Poster
Rep: Reputation: 15
yes in.telnetd is on my machine the file is in /sbin . I tired to setup ssh but like i said iam new at this. ssh seems alot harder to setup
 
Old 11-22-2004, 10:36 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
SSH really isn't particularly hard to set up. On just about every distro I'm familiar with it's configured from the get go. If you post your troubles, someone can probably help.

As for telnet, do you have anything in your /etc/hosts.allow or /etc/hosts.deny that might be blocking the connection? You can also check your system logs (/var/log/messages and /var/log/secure for RH9) to see if they shed any light on the matter.
 
  


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
How do I setup telnet on Fedorac1 so I can telnet to it from winxp? mman49 Fedora 6 05-02-2004 01:40 PM
can not telnet localhost 25 but telnet dowell.exper.dynserv.com 25 exper Linux - Software 0 02-25-2004 06:13 AM
Telnet localhost and telnet IP seb77 Linux - Newbie 4 10-15-2003 04:15 PM
enable telnet but can't telnet from the computer guanyu Linux - Networking 8 08-26-2002 07:34 AM
telnet local but no-telnet via internet blacksheep Linux - Networking 7 11-26-2001 03:33 PM


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