Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 18:39:58 +0100
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Numerous ftp timeouts - why?
Message-ID:  <200604101840.01100.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <44395991.4090201@centurytel.net>
References:  <44395991.4090201@centurytel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 09 April 2006 19:59, Michael D. Norwick wrote:
> New to FreeBSD not new to *nix.  Have the docs/handbook/faq, etc.  Using
> freebsd 6.0 RELEASE on Compaq Proliant 2500R.
> Why when trying to install various apps from ports do the ftp sessions
> frequently timeout?  If I manually fetch packages from
> sites the download goes ok, but this means I have to copy files to
> /usr/ports/distfiles manually.  did 'man fetch' but still no clue
> as to why this happens.


Try adding 

MASTER_SORT_REGEX?= ^file:  ^https?:

to make.conf.  This tells the ports system  to prefer http where availible. If 
things don't improve  then you have ruled-out its being ftp specific.

I've never made any specific firewall provision for ftp, and fetch claims to 
default to active mode. As it works for me I guess it must be honouring the 
FTP_PASSIVE_MODE="YES"  that's in the default environment.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604101840.01100.list-freebsd-2004>