From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 09:39:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A953B16A41A for ; Mon, 28 Jan 2008 09:39:54 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 32D8313C458; Mon, 28 Jan 2008 09:39:53 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <479DA2E7.8070808@FreeBSD.org> Date: Mon, 28 Jan 2008 10:39:51 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Norman Maurer References: <94136a2c0801272219ue080ef9o74f30862c4c5ef73@mail.gmail.com> <1201502087.6923.2.camel@norman-laptop> In-Reply-To: <1201502087.6923.2.camel@norman-laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Zbigniew Szalbot , freebsd-questions Subject: Re: passive ftp transfer with pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2008 09:39:54 -0000 Norman Maurer wrote: > Am Montag, den 28.01.2008, 07:19 +0100 schrieb Zbigniew Szalbot: >> Hello, >> >> I have been trying to install KDE by using pkg_add -r kde but the >> download is always failing. Reading man pkg_add I see a reference to >> change the FTP mode to passive if the download constantly fails. >> However, man does not say which file should be edited to change it. I >> tried pkgtools.conf but I have not found anything about FTP transfer >> mode in there. >> >> Can you advise which file needs to be edited? >> >> Also: >> >> "Note: If you wish to use passive mode ftp in such transfers, set the >> variable FTP_PASSIVE_MODE to some value in your environment." >> >> What value should be set for FTP_PASSIVE_MODE? Any value? >> >> Many thanks! >> >> Zbigniew Szalbot > > Yes just do something like that: > > # export FTP_PASSIVE_MODE=true Note that this is set automatically for the default login class (/etc/login.conf). If you are not seeing it then either that file is not up-to-date or your user account is not in the default login class (see passwd(5)). Kris