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!

Mandrake8.1 ..Cannot Telnet

Status
Not open for further replies.

latch

Programmer
Jun 26, 2001
89
DE
Hi
I just installed Mandrake Linux 8.1 but Im unable to telnet into it from another system although I can ping it...what could be the possible reasons for this?

TIA

C
"Brahmaiva satyam"
-Adi Shankara (788-820 AD)
 
Hi,

check, if /etc/inted.conf contains a line like:
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

If it is remarked, remove the # and do a kill -1 on the pid of the inetd.

Check, if /etc/securetty contains pseudoterminals like pts/0, pts/1 and so on. They are needed or something equivalent.

Check, if your IP you want to connect from is listed in the /etc/hosts.deny. If yes, remove it.

Hope it helps,
later
zaxxon
 
Hello,

It sounds like all the telnet packages did not get installed. The easiest way to tell if this is the case it to cd /etc/xinetd.d and look for the telnet file. If it is not there then you will need to install the telnet packages from the install CD.

Once this is done there are a few more things to check:

1) Make sure that the /etc/xinetd.d/telnet file has disable = no. If it doesn't then it will need to be changed and xinetd restarted.

2) Ipchains could also be blocking the telnet port. See the ipchains man page.

Hope that helps
-Earl

 
Hi

I checked the /etc/xinetd.d directory and found no telnet file.

Should the tcpd program be informed to start up telnet daemon on start up....if yes, how do I do it?

Or is telnetd a program by itself?

PLease be informed that Im using Mandrake8.1 .



regards
C "Brahmaiva satyam"
-Adi Shankara (788-820 AD)
 
Hi,

You would need the following rpm installed --> ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/telnet-server-krb5-1.2.2-11mdk.i586.rpm .

Mandrake 8.1 is like redhat - it uses xinetd instead of inetd so you don't have to worry about inetd.conf. You may need to make some changes to the /etc/xinetd.d/telnet file however. If it were redhat the default would be to include a line 'disable=yes' in that file which would mean that xinetd would ignore it when starting up. You'd need to make it 'disable=no' to get it working.

You may also have to configure the firewall to allow port 23 through. Firstly just test if it works on the Mandrake box itself by doing 'telnet localhost' and signing in as a regular user. If that works try remotely. Almost certainly you won't be able to remotely telnet as root - you have to use a normal account and then 'su' to root if necessary from within the user session.

If its linux <-> linux you'd be much better off using ssh instead of telent as it is far more secure.

Regards
 
I got it working...thanks for all the help

cheers
C &quot;Brahmaiva satyam&quot;
-Adi Shankara (788-820 AD)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top