Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: "Sheldon, Ken" To: "'cygwin AT cygwin DOT com'" Subject: Solved: ftpd stalls when the W2k TCP Loopback adapter is enabled Date: Fri, 31 Aug 2001 15:09:01 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Brute force and trial and error saves the day! Using DHCP does not seem to help in my case. W2k disables the driver (and therefore loses its IP address) when a cable is not connected to the ethernet adapter. Fortunately, TCP/IP still works for 127.0.0.1. This loopback address works even if the loopback adapter is disabled. So, although some programs (j2sdkee) require the loopback adapter driver to be running in order for the installation to succeed, this driver can be disabled after installation and the loopback functionality will still work. -----Original Message----- From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com] Sent: Thursday, August 23, 2001 11:57 AM To: Sheldon, Ken; 'cygwin AT cygwin DOT com' Subject: Re: ftpd stalls when the W2k TCP Loopback adapter is enabled At 12:47 PM 8/23/2001, Sheldon, Ken wrote: >I use a development machine that is not always connected to a network. I >use win2k, so when by ethernet card is not connected, the OS disables the >device and I lose my IP address. So, to enable an IP address, I installed >the w2k loopback adapter. > >The cygwin ftpd process misbehaves when the loopback adapter is enabled. >The initial authentication works fine, but any command that involves a PORT >directive (such as LS, PUT, or GET) causes the process to stall for several >seconds before performing the command. If I disable the loopback adapter >and use only an ethernet adapter, things work fine. That gives me a >workaround when I am connected to a network. Unfortunately, I need to do >development when I am completely disconnected from the network and only the >loopback adapter is enabled. > >I a looking for ideas on how to approach this. Doesn't it work when the ethernet card is installed but not connected to a network? I don't have any trouble running W2K as a DHCP client when I'm not connected to a network. The DHCP client SW gets me a default IP address when I boot up off the network and my last lease is expired... Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/