LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-25-2002, 12:42 AM   #1
sarmadys
Member
 
Registered: Nov 2001
Distribution: Solaris, Redhat AS, SUSE
Posts: 52

Rep: Reputation: 16
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
 
Old 01-25-2002, 03:11 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
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.
 
Old 01-25-2002, 04:58 AM   #3
sarmadys
Member
 
Registered: Nov 2001
Distribution: Solaris, Redhat AS, SUSE
Posts: 52

Original Poster
Rep: Reputation: 16
Thank you but I use IP addresses.

Mac
 
Old 01-25-2002, 05:59 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
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.
 
Old 08-14-2008, 05:01 PM   #5
linux-who?
Member
 
Registered: Jul 2005
Location: Florida
Distribution: Red Hat
Posts: 34

Rep: Reputation: 15
Wink

Quote:
Originally Posted by Mik View Post
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.

I had this same problem and MIK's sollution fixed it for me!
Thanks MIK!
 
Old 08-14-2008, 08:31 PM   #6
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
edit: I added no new data here. sorry, drive through.

Last edited by Mr. C.; 08-14-2008 at 08:37 PM.
 
Old 08-14-2008, 08:38 PM   #7
sarmadys
Member
 
Registered: Nov 2001
Distribution: Solaris, Redhat AS, SUSE
Posts: 52

Original Poster
Rep: Reputation: 16
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!!!
 
Old 08-14-2008, 08:41 PM   #8
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
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. :-)
 
Old 02-09-2011, 12:55 AM   #9
AluminumStudios
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
long delay dummyagain Programming 1 10-28-2003 04:49 AM
lilo long delay??? comtronics Debian 2 10-22-2003 03:59 AM
takes a long delay to resolve name Kocil Linux - Networking 2 03-11-2003 09:09 AM
Connection Refused telnet/ftp vhandrade Linux - Networking 1 10-19-2001 02:54 PM
Telnet/FTP Connection refused Rfriend@ucwv.edu Linux - Newbie 6 07-31-2001 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration