Connection with Long Delay (Telnet, Ftp)
Hello
I have installed a Redhat 7.2 on a Pentium166(64M Ram) as my home linux server. (I do php programming on it). When I want to connect it using telnet it has a delay of about 15-30 seconds before its login page appears. For ftp it is worse. It needs about 30-60 seconds before login page appears. I use a 10/100 Compex Rl-2000 with a cross cable. Regards, Mac |
It's probably doing a dns lookup which could be taking very long. Add the hostnames to /etc/hosts and then make sure you have the hosts section in the file /etc/nsswitch.conf as follows:
hosts: files nisplus nis dns Well you don't necessarily need all of those just make sure it has the files first so it will look there first and not try to resolve it through dns. |
Thank you but I use IP addresses.
Mac |
Well even if you use IP addresses you might still want to do it. Unless you disabled it, it often does a reverse dns lookup so it can log the domain name instead of the ip address.
|
Quote:
I had this same problem and MIK's sollution fixed it for me! Thanks MIK! |
edit: I added no new data here. sorry, drive through.
|
Guys, I asked this question 7 years ago. The world has changed since that time dramatically.
Thanks for reminding me of how the world was in January 2002!!! |
Ah! That's pretty funny. I hadn't even noticed the date, and often don't look at the original posting date; apparently linux-who didn't either.
Actually, we just wanted to remind you. :-) |
I just stumbled across this post in a google search and was amused at how after 7 years comments were made and the original posted saw them.
I don't know if anyone will see this, but it has now been 9 years since that post! |
All times are GMT -5. The time now is 12:04 AM. |