Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-05-2001, 09:33 AM
|
#1
|
LQ Newbie
Registered: Sep 2001
Posts: 10
Rep:
|
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.
|
|
|
10-05-2001, 11:29 AM
|
#2
|
Member
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371
Rep:
|
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.
|
|
|
10-05-2001, 03:06 PM
|
#3
|
LQ Newbie
Registered: Sep 2001
Posts: 10
Original Poster
Rep:
|
My xinetd.d directory does not contain telnet only rsync.
|
|
|
10-05-2001, 06:17 PM
|
#4
|
Member
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42
Rep:
|
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
|
|
|
10-06-2001, 10:00 AM
|
#5
|
Member
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182
Rep:
|
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.
|
|
|
10-06-2001, 11:25 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
10-11-2001, 10:45 AM
|
#7
|
LQ Newbie
Registered: Oct 2001
Posts: 1
Rep:
|
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
|
|
|
10-22-2001, 01:12 PM
|
#8
|
LQ Newbie
Registered: Oct 2001
Location: mt.view,ca
Posts: 8
Rep:
|
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.
|
|
|
10-22-2001, 02:22 PM
|
#9
|
Member
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|