Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2001 10:30:24 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Scott Stoddard <sstoddar@gblx.net>
Cc:        questions@freebsd.org
Subject:   Re: Delay bringing up telnet window
Message-ID:  <3B20EF90.E32A51AB@centtech.com>
References:  <000a01c0f02f$0eeb3a80$671bd240@phx.api.gblx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
It's the remote side's reverse lookup that's causing it.  When you
connect, it trys to do a reverse lookup on your IP, and times out.  In
some cases with FreeBSD 4.2 and OpenSSH, you need to apply a patch (came
out several months ago), that seems to fix a similar problem.

Eric Anderson



Scott Stoddard wrote:
> 
>         I have this exact same problem, on free bsd and other linux distributions I
> have run (redhat, slackware). It drives me nuts... I have had many people
> say it is due to dns but I am ssh'ing by IP (same problem by telnet) I am
> using a Petium 120... the wait is like 30-45 seconds before I get a login
> promp! Once logged in the rest of the seesion runs great...
> 
> --Scott
> 
> "I hear and I forget. I see and I remember.
> I do and I understand." -Confucius
> 
> Date: Thu, 07 Jun 2001 14:56:08 -0700
> From: Drew Tomlinson <drewt@writeme.com>
> Subject: RE: Delay bringing up telnet window
> 
> > -----Original Message-----
> > From: Bill Moran [mailto:wmoran@iowna.com]
> > Sent: Thursday, June 07, 2001 11:59 AM
> > To: Steve Leibel
> > Cc: freebsd-questions@FreeBSD.ORG
> > Subject: Re: Delay bringing up telnet window
> >
> >
> > Steve Leibel wrote:
> > >
> > > I've got this weird problem, maybe somebody can help.
> > >
> > > I run FreeBSD on a Pentium-133 on a local network along with my Mac.
> > > When I run my Mac telnet client and request a session on the FreeBSD
> > > box, the window comes up right away but there is usually a 20 or 30
> > > second delay before I get a login prompt.
> > >
> > > In the past I've seen the problem where AFTER I enter my userid and
> > > password there is a long delay.  But that's generally
> > caused by a DNS
> > > problem.  That's not the problem I'm having.
> > >
> > > In my case, the login prompt itself takes a long time to come up.
> >
> > Interesting ... because any time I've seen the aforementioned DNS
> > problem, it's occurred before the login prompt.
> 
> Bill -
> 
> You are correct.  DNS only comes into play when you connect via a
> hostname and the hostname needs to be resolved to an IP address.  Once
> the login prompt is reached, this step has been completed.
> 
> Steve -
> 
> Try to connect using the IP address instead of the hostname.  If there's
> no delay using the IP address, then you have a DNS issue.  If there is a
> delay, then it's something else, possibly a routing problem.
> 
> Good luck,
> 
> Drew
> 
> > Can you do a reverse lookup on the machine you're logging in from? For
> > example, if you login in from 192.168.0.7, once you're logged in, try
> > "nslookup 192.168.0.7" and see if you get a timeout.
> >
> > -Bill
> >
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
-------------------------------------------------------------------------------
Eric Anderson	 anderson@centtech.com    Centaur Technology    (512)
418-5792
For every complex problem, there is a solution that is simple, neat, and
wrong.
-------------------------------------------------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B20EF90.E32A51AB>