From owner-freebsd-questions Tue Jan 12 12:21:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA05862 for freebsd-questions-outgoing; Tue, 12 Jan 1999 12:21:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mta2-rme.xtra.co.nz (203-96-92-3.ipnets.xtra.co.nz [203.96.92.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA05852 for ; Tue, 12 Jan 1999 12:21:38 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta2-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990112202141.JEYV678125.mta2-rme@wocker> for ; Wed, 13 Jan 1999 09:21:41 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: freebsd-questions@FreeBSD.ORG Date: Wed, 13 Jan 1999 09:20:58 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: fetch in passive mode fails (repost) Reply-to: junkmale@xtra.co.nz X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990112202141.JEYV678125.mta2-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I cannot get make to do its fetches in passive mode. As a result, when doing a make I get errors like this: >> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//. fetch: ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//donkey-0.5.tar.gz: FTP error: fetch: Can't open data connection >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 OK. That tells me fetch is not using passive mode. Running a fetch with "-p" succeeds. I could just drop the firewall rules and do it again, but that's not good enough. A read of man fetch tells about an environment variable: "FTP_PASSIVE_MODE forces the use of passive mode FTP". I thought it was an environment variable, so I set that. No effect. A response to my previous post suggested that I try FTP_PASSIVE_MODE=YES in /etc/make.conf. That seems to have nil effect. Any suggestions on how to get make to force fetch to do ftp in passive mode that I can get my stuff through the firewall? thanks :) -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message