you should provide more details in your message for us to be helpful! A cut and paste of the output of shell commands, in particular, could help understand what's going on on your machine.
Does ping 127.0.0.1 work? You should see something like "64 bytes from 127.0.0.1:..." repeated on the screen until you press CTRL-C.
Understand that telnet is composed by a client (invoked as # telnet) and a server (named telnetd, note the final 'd'). Normally the server is _not_ installed by default. On MDK9.0 the server package is named telnet-server-krb5-1.2.5-1mdk
To make sure the server is installed, type # urpmi telnet-server-krb5 You should get a message like "everything already installed".
I installed the telnet server on my MDK to check. First of all, it's a xinetd service, so it will not normally be shown by ps (I was wrong on this regard in my previous message). xinetd is a daemon that monitors the incoming calls on all ports and starts the registered services on request.
So, try this: # service xinetd start Do you get an OK? To double check, type # ps -ax | grep xinetd you should see two lines.
Then, go to /etc/xinetd.d and do an ls. Do you see there a file named telnet? This is the telnet server configuration file read by xinetd daemon when it detects an incoming request on the telnet port. Open it with a text editor and check that it contains the line "disable = no" (it means that the telnet server is enabled).
Finally, open /etc/xinetd.conf and check that it _does_not_ contain any "only_from" lines. If it does, delete them.
There's not much more to telnetd configuration.
good luck,
raffaele
[EMAIL PROTECTED] wrote:
On Tuesday 25 February 2003 09:36, Raffaele Belardi wrote:
Raffaele
it seems that i can't start telnet service when i do service telnet start i get ok but in mcc the status is stop
hosts.allow and hosts.deney are empty.
Gil
I would: 1. make sure interface is up (ping 127.0.0.1) 2. make sure you have the telnet server package installed (Mandrake Control Center) 3. make sure telenet server is up and running (ps -axl) 4. check /etc/xinetd.conf for any "ONLY_FROM" lines 5. check that /etc/hosts.allow and /etc/hosts.deny are empty
The last two are the least probable causes, unless you have messed up with the security scripts. What level of security are you running?
raffaele
[EMAIL PROTECTED] wrote:
On Monday 24 February 2003 11:33, Raffaele Belardi wrote: Didn't work any other idea's? Gil
Assuming that you have the telnet server installed, you need to start it (Mandrake Control Center, System tab, Services icon).
Also, I had a similar problem on the MDK PC I use at home, where I have a modem Internet connection. I looks like if you don't connect to internet, loopback port is not enabled by default, so you get the error below. I had to issue a
# ifup lo
as root, then it worked ok.
raffaele
[EMAIL PROTECTED] wrote:
Hi when ever i try to connect to telnet 127.0.0.1 port i get Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused in /etc/hosts.allow i wrote telnet : 127.0.0.1 what should i do? Gil
------------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
