LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-05-2001, 09:33 AM   #1
mmvaldez
LQ Newbie
 
Registered: Sep 2001
Posts: 10

Rep: Reputation: 0
Angry Can ping but not telnet


I have a network of three PCs which works well as a Microsoft Network with Internet connection sharing as well. I have set one of these pc's to dual boot as a Linux box and have set my eth0 to the proper address. I can ping my windows pc from my linux box and I can also ping my linux box from my windows pc. However, I can't telnet the linux box from my windows pc.
 
Old 10-05-2001, 11:29 AM   #2
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30
assuming you have redhat 7.1 here:

check your /etc/xinetd.d/ directory. telnet should be listed there, but the line disable = yes should be changed to read disable = no.

when you're done, you're going to have to restart the xinetd daemon by running

/sbin/service xinetd restart

i'd also suggest to look up how to configure tcp wrappers in /etc/hosts.allow and /etc/hosts.deny to allow only certain services (to perhaps certain IP addresses for more security). if telnet is already enabled but you still can't get in, that could be the other problem.
 
Old 10-05-2001, 03:06 PM   #3
mmvaldez
LQ Newbie
 
Registered: Sep 2001
Posts: 10

Original Poster
Rep: Reputation: 0
My xinetd.d directory does not contain telnet only rsync.
 
Old 10-05-2001, 06:17 PM   #4
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Rep: Reputation: 15
are you saying that rsync is the only file in the the xinetd.d directory yeah?

hmmmm, strange...

mines contains a bunch of files such as to name but a few;
echo, finger, ipop3, imap, imaps, klogin, krb5-telnet
rsh, rsync, telnet, wu-ftpd

admittedly some of these i have installed myself but i thought the default install of redhat would give you more things to play with than rsync..?

anyway, heres what telnet looks like on mines

service telnet
{

flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no

}

Once you've got that, reload xinetd by

% /sbin/service xinetd reload

That should get you goin

Martin
 
Old 10-06-2001, 10:00 AM   #5
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
He could be using inetd instead of xinetd.
In any case, just use linuxconf and go to the control panel and then to control service activity. If you find telnetd in the list, make sure it's set to run automatically and that it's running at the moment.

Also check your hosts.deny and hosts.allow files in /etc to see if the connection is not just denied.
 
Old 10-06-2001, 11:25 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the telnet xinetd conf file should be created by installing telnetd rpm from the cd's you've got, just change teh disable = yes line to no.
 
Old 10-11-2001, 10:45 AM   #7
bptenzo
LQ Newbie
 
Registered: Oct 2001
Posts: 1

Rep: Reputation: 0
Unhappy same problem but i am sure telnet service is running

hi all,

I have the same problem, I am sure the telnet service is running, since i test it out by telneting to localhost and it work. But it just that when I telnet from other machine (windows 2k pro), it doesn't work. I said connection refused. Is it because of the firewall or anything blocking the telnet port?
P.S i am using RH 7.1

Thanks for any suggestion or help in advance

bptenzo
 
Old 10-22-2001, 01:12 PM   #8
smallik
LQ Newbie
 
Registered: Oct 2001
Location: mt.view,ca
Posts: 8

Rep: Reputation: 0
if you install the laptop version of linux then you wil get only rsync.if you install server version then only you will get all the files including that of telnet.
 
Old 10-22-2001, 02:22 PM   #9
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
You can choose to install single packages

Then go to Deamons and select telnet AND xinetd then you can telnet to your linux machine

You'll should edit the file telnet in the dir /etc/xinetd.d/

Standard the service is disabled....

So set disable=yes to no



Succes
 
  


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
can ping but can't telnet to port 53 msweetnam Linux - Networking 4 01-26-2004 03:01 PM
can ping but no telnet dmalsbury Linux - Networking 6 01-08-2004 08:17 PM
PING but can't Telnet daveb93 Linux - Networking 4 09-26-2003 06:32 PM
Can ping, but no telnet or ftp dblhack Linux - Networking 3 08-20-2001 06:12 AM
Can Ping but Can't Telnet ??? gedo Linux - Networking 6 03-19-2001 08:17 AM

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

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