delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/05/16:09:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 5 Mar 2002 16:09:14 -0500 (EST)
From: Michael Adler <adler AT glimpser DOT org>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: rsh slow during RAS connection
In-Reply-To: <Pine.NEB.4.44.0203051415390.29991-100000@reva.sixgirls.org>
Message-ID: <Pine.NEB.4.44.0203051526470.29991-100000@reva.sixgirls.org>
MIME-Version: 1.0

I setup rsh by putting the client's IP in server:/etc/hosts, and the
hostname in server:/etc/hosts.equiv. /etc/hosts is a symlink to
/cygdrive/c/WINNT/system32/drivers/etc/hosts.

Over the LAN , responses take about 1 second.

If I dial into the server using PPP, the response time grows to 50 seconds
or more. The client is still authenticated, but it takes a very long time.

After I close the ppp connection, using rsh over the LAN is really slow.
What's different now? I still have a second IP from the PPP connection.

This makes me think that this is a hostname resolving issue and that when
the server gets a second IP ( 1 ethernet + 1 PPP ), my /etc/hosts solution
gets foiled.


I've used strace to track the client's calls and it typically gets stuck here:

458  995773 [main] rsh 956 cygwin_getservbyname: A0112E0 = getservbyname (shell, tcp)


Can anyone offer insight on how to setup name resolutions to avoid this or
how to hot-wire rshd?

Thanks

Mike




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019