Click to See Complete Forum and Search --> : How do I turn on a telnet server in mandrake 7.2


davolfman
01-08-2001, 05:19 PM
Hopefully this should be easy. All I want to do is access my linux box over my home network through telnet. Security is not an issue. All I need is a text terminal access from any other computer on the network.

jakieboy
01-08-2001, 05:24 PM
Edit /etc/inetd.conf take the # away from the front of telnet and save the file then type killall -HUP inetd .
Do this as root or su to root.

------------------
If it ain't a *NIX then it ain't **** http://www.linuxnewbie.org/ubb/smile.gif

[This message has been edited by jakieboy (edited 08 January 2001).]

Mountainman
01-08-2001, 05:31 PM
Make sure that you have the telnet server package installed from the source cdrom. Otherwise, it wont work. http://www.linuxnewbie.org/ubb/biggrin.gif

------------------
---Meddle not in the affairs of Dragons, for thou art but a snack, and tasty with ketchup---
Http://www.geocities.com/mountainmancentral

davolfman
01-08-2001, 05:42 PM
The line in inetd.conf was already uncommented so that's not where the problem is. The line reads:

telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

But when I try to log in to the computer's IP address (192.168.1.8) from a windows telnet client it doesn't work. Guess it's a bit more complicated than I thought.

PS. I don't have a source CD (what I have is the entire 586 source tree downloaded to a folder in my /home partition. So if I am going to recompile I'll probably have to download source myself.

[This message has been edited by davolfman (edited 08 January 2001).]

jakieboy
01-08-2001, 05:55 PM
But as Mountainman suggested, is there a /usr/sbin/in.telnetd ?

WeDeliver
01-08-2001, 05:57 PM
First, insure the basics, that you have a valid working interface going. Secondly, try removing the tcpd part in the line in inetd.conf. I find that it either works or causes the connection to be closed immediatly.

jakieboy
01-08-2001, 06:01 PM
Wait a minute, you're running 'Drake 7.2, so if you choosed workstation install it won't install the in.telnetd superdeamon, only the server install does that if I remember correctly http://www.linuxnewbie.org/ubb/frown.gif

------------------
If it ain't a *NIX then it ain't **** :)

davolfman
01-08-2001, 06:37 PM
Mountainman and jackieboy were right, it wasn't installed. Apparently that package wasn't part of the 100+ percent that I told it to do in the custom install.

It's working fine, I didn't even need to restart anything or enter the console even, the GUI RPM install tool worked pefectly.

Coral Sea
01-11-2001, 03:12 AM
I have three PCs, two with Mandy 7.2 installed with the same configurations. I can telnet to one but not the other. The telnet line is uncommented. Haven't tried disbling the TCP-WRAPPERS as suggested above on the non-telnettable Mandy box but I think I'll give that a try.

------------------
Visit my Web Site at http://members.home.net/2826651556/

Coral Sea
01-17-2001, 02:20 PM
UPDATE TO MY PREVIOUS POST: Based on input in the software section of this discussion group, I discovered that Mandrake 7.2 sometimes does not install the telnet-server RPM. Why it did on one PC and not the other is baffling. Anyway, telnet now works on both PCs. http://www.linuxnewbie.org/ubb/smile.gif

------------------
Visit my Web Site at http://members.home.net/2826651556/