>>When trying to telnet into my gateway box, I get :
>>
>>Trying 192.168.0.1...
>>Connected to lin1.mynet.hom.
>>Escape character is '^]'.
>>
>>
>>Where it hangs for a few mins before giving me a login prompt.



What you're seeing is the result of inetd in action. If you go to the
console of your box regardless of whether it Mandrake (Yeah!! Bravo!),
RedHat (OK, pretty good too.) or just about any other flavor of modern
Unix-like system (Well, at least better than Windows.) and run ps or top
to check the process list you'll note that the telnet daemon isn't
running (assuming no is connected over the net.)

Now, when you try to connect to the telnet port the request is caught,
looked up, and then a telnet daemon is spawned to handle it. You can
make it a lot faster if you remove telnet from the control of inetd and
just insert a line in your rc.local to start a daemon always loaded at
boot. But this consumes memory.

Examine your /etc/inetd.conf, /etc/services, and /etc/protocols files
and the inetd and tcpd man pages to find out how this works. Use less
instead of an editor to be safe when looking at the files.

If you've got plenty of resources and the small delay is frustrating
then change it. If you're already running out of memory then leave it
like it is.

Michael


Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to