Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <001001c146ba$e6d589a0$c7b1aecf@delllaptop>
Reply-To: "Dan Dixon" <ddixon@peakpeak.com>
From: "Dan Dixon" <ddixon@peakpeak.com>
To: <cygwin@cygwin.com>
Subject: debug help: sudden loss of network functions with perl in cygwin
Date: Wed, 26 Sep 2001 12:41:47 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400


I am failing to successfully connect to my network through perl->cygwin.
Several scripts were working fine, now none work.  No edits were made.

This fails while it worked just fine two days ago:

#!/c/usr/bin/perl -w

use Net::FTP;
$ftp = Net::FTP->new('somehost.com', Debug => 1, Timeout => 60 );

if ( ! defined $ftp ) {
     print "failed\n";
     print "report: $@\n";
     exit;
}

It reports "Net::FTP: Timeout".  It comes back instantly (NOT 60 secs), just
as it
does when I'm not even connected to the network.

ftp from the cygwin command line works fine

perl: new HTTP::request
also fails while by regular browsers still work

The thing I did around the time this happened was to remove TCP-IP->lan
adapter
and replace it (for another reason).

THings I've tried:
ftp from command line: OK
http from web browsers: OK
telnet somehost.com 80 (manual http GET): OK
ftp from AbsoluteFTP: OK
connect to network over dialup: NO CHANGE, problem still exists
reinstall perl, cygwin
completely removed TCP->IP from network setup, reboot, reinstall: NO CHANGE

Running WINMe, dell 4000 laptop, 3com lan card

Any debug tips?  I'd really like to get my scripts back up and running and
I'm out
of things to try.




--
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/

