Click to See Complete Forum and Search --> : Can't telnet?
lamarts
10-07-2001, 03:35 PM
Setup:
Two Win2k and one Linux pc(s) connected to DSL router. Internet access works fine. Ping works fine between the computers.
I can't seem to telnet or ftp? any ideas why
I can't? Quite puzzling to me.
thanks lamarts@flash.net
scanez
10-07-2001, 06:20 PM
Do you mean trying to telnet or ftp into your linux machine? Are the telnet and ftp daemons installed and running? Are they enabled through /etc/inetd.conf (or /etc/xinetd.conf)?
A little more info please. Thanks!
SC
krinkstar
10-07-2001, 06:23 PM
I had that problem when I installed red hat 7.1 after much head scratching I discovered that telnet wasn't installed. D'oh!
[ 07 October 2001: Message edited by: krinkstar ]
GideonT
10-07-2001, 07:56 PM
I've got the same problem too.
in /mnt/cdrom/RedHat/RPMS
I typed in rpm -ivh telnet-server-0.17-10.i386.rpm
but then error occured, it says:
fail dependencies
xinetd is needed by telnet-server-0.17-10
what does it mean? how can I fix it? sorry I'm a new newbie is there a detailed website which teaches me how to install telnet and ftp server?
lamarts
10-07-2001, 08:29 PM
thanks for the responses. Sorry about the lack of info.
One...I was trying to telnet and/or ftp from the Linux box to another box.
For one......the error I get is:
Trying 192.168.2.33
telnet: Unable to connect to remote host: Connection Refused
this occurs also when I telnet to localhost!
I did find a /etc/xinetd.conf file. I was reading a book and it pointed me to /etc/inetd.conf, which I don't have.
I will check out the manpage for xinetd.conf file.
Meanwhile, any info would be appreciated. lamarts@flash.net
scanez
10-07-2001, 09:33 PM
Originally posted by GideonT:
<STRONG>I've got the same problem too.
in /mnt/cdrom/RedHat/RPMS
I typed in rpm -ivh telnet-server-0.17-10.i386.rpm
but then error occured, it says:
fail dependencies
xinetd is needed by telnet-server-0.17-10
what does it mean? how can I fix it? sorry I'm a new newbie is there a detailed website which teaches me how to install telnet and ftp server?</STRONG>
Install xinetd. The xinetd package should also be on your cdrom so
rpm -ivh xinetd.blah.blah.rpm
then
rpm -ivh telnet-server-0.17-10.i386.rpm
Then check my reply to the next post for further configuration.
SC
scanez
10-07-2001, 09:37 PM
Originally posted by lamarts:
<STRONG>thanks for the responses. Sorry about the lack of info.
One...I was trying to telnet and/or ftp from the Linux box to another box.
For one......the error I get is:
Trying 192.168.2.33
telnet: Unable to connect to remote host: Connection Refused
this occurs also when I telnet to localhost!
I did find a /etc/xinetd.conf file. I was reading a book and it pointed me to /etc/inetd.conf, which I don't have.
I will check out the manpage for xinetd.conf file.
Meanwhile, any info would be appreciated. lamarts@flash.net </STRONG>
Okay wait, so you said that you are trying to telnet from the linux box to one of the other boxes? Well then you would have to setup a telnet server on the win2k boxes, sorry but I can't help you there.
If you are trying to setup a telnet server on your linux box, assuming you have the correct packages installed, go to /etc/xinetd.conf (anywhere you see /etc/inetd.conf in a book, just use /etc/xinetd.conf, it does the same thing) and there should be a section for telnet that says something like
disable=yes
change that to
disable=no
then restart xinetd by
/etc/rc.d/init.d/xinetd restart
(I'm not sure if that's the
right directory for init.d on your box, what distro are you using).
Good luck
SC
GideonT
10-07-2001, 10:04 PM
disable=yes
change that to
disable=no
man! so there's the trick that spend me 10 hrs to figure out! Now my telnet and wu-ftp are working. Thanks a million times!
err... one more little thing.. the ftp works well in the local network.. but it halts when accessing from the internet... is there other ports I need to forward from my router? My linux machine is behind a router, currently I only forward port 21 for the ftp server.
[ 07 October 2001: Message edited by: GideonT ]
lamarts
10-08-2001, 01:00 AM
I am using RedHat 7.1. I do eventually want to telnet to windows pc(s). But right now, I just want the telnet, ftp features working on my Linux box.
I did what you said....SC......there's a telnet and a wu-ftp file located in the xinetd directory.....where I changed the disable to no. Works like a champ!
Thanks alot, SC