Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can not telnet from other machines

Status
Not open for further replies.

adila100

MIS
Apr 24, 2002
1
US

Guys,
I am new in Linux. I have got one intel box having Red Hat Linux 7.2. It working fine when I'm on console and can telnet to any machine in my network. But when I telnet to this machine from other machines, I cant not do it. I have conection refused. I tried to ping it, iti is working, I can telent from the console to the same machine. I spent some time to figure out but no luck.
Any idea?
 
is xinetd running ? redhat 7.2 by default does not allow ftp or telnet.

ps -ef|grep xinetd
if its not running,
/etc/rc.d/init.d/xinetd restart

if you still cant telnet to it check that you have a telnet file in /etc/xinetd.d/
vi telnet
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

make sure that disable=no.

***************************************
Party on, dudes!
[cannon]
 
Oh forgot to add, make sure your local network is allowed acces in the /etc/hosts.allow file,
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
192.168.200. ***************************************
Party on, dudes!
[cannon]
 
Guys, thank you but id doesn't work, I have in the log file this message

" 02/4/25@16:58:48 xinetd[1197]: ERROR: bind failed (Address already in use
(errno = 98)
°÷ÿ¿
·ïÿ¿Ùïÿ¿
äi
CÈõÿ¿ù
. service = telnet
02/4/25@16:58:48 xinetd[1197]: CRITICAL: {init_services} no services.
Exiting...
"

Any ideas?

Thanks again
Adrian
 
check you have a unique IP and hostname for the machine in question .. from the error looks like its sharing its domain name or IP with another machine on the network ***************************************
Party on, dudes!
[cannon]
 
Thanks KarveR!

Your advice is just what I needed to solve an identcle problem on my new home Linux network.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top