From owner-freebsd-questions@FreeBSD.ORG Thu Jul 5 12:57:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C450E16A46B for ; Thu, 5 Jul 2007 12:57:57 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9F0B713C480 for ; Thu, 5 Jul 2007 12:57:57 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 6856 invoked from network); 5 Jul 2007 12:57:57 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Jul 2007 12:57:57 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1BB292842D; Thu, 5 Jul 2007 08:57:56 -0400 (EDT) To: "Dinesh Pandian" References: <3ea3ac8f0707041134o462a9e03od7223643d373ca49@mail.gmail.com> From: Lowell Gilbert Date: Thu, 05 Jul 2007 08:57:55 -0400 In-Reply-To: <3ea3ac8f0707041134o462a9e03od7223643d373ca49@mail.gmail.com> (Dinesh Pandian's message of "Thu\, 5 Jul 2007 02\:34\:16 +0800") Message-ID: <44fy433t4c.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: fetch hangs during Make, portupgrade -a, or portmanager -u.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2007 12:57:57 -0000 "Dinesh Pandian" writes: > Please help me out with a really annoying little problem that bugs me > everytime I try to install applications from ports. > > When I try to run portupgrade -a or portmanager -u, > when Make fetches the files from the servers, fetch > normally hangs randomly sometime through the downloading > of the distfile. The only solution I've thought about is aborting > the upgrade procedure and issuing the same command again, > hoping that fetch resumes where it left off. > > In bigger files, > 5MB, I'd have to repeat this process several > times to download a single distfile. > > I've tried setting the FTP_PASSIVE_MODE env ON and OFF > to no avail. > > I can't seem to find a problem with the internet connection > as httpd and ftpd works perfectly fine! Is there a firewall in the way? NAT? Have you tried using fetch(1) from the command line, with increased verbosity level?