From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 10:52:20 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 9791216A419 for ; Mon, 28 Jan 2008 10:52:20 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 2638B13C467 for ; Mon, 28 Jan 2008 10:52:19 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so1119028fka.11 for ; Mon, 28 Jan 2008 02:52:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4SIGuQ3UhA/W2Co23WCN/TT0/T51lDT/dKzGX/oqARM=; b=Z3YplH7gGeTQEGkDVne79LkdK0imrfEn2jA4ldks4s5FVVK/Oqb+7yOvROHS+7zmpYC9nSnRlycNS1QW5ZBiEzH6+BeC+7MhwRPP+ppCEY3GTSZJvW/F2KUM4UfILkQE73vK9DeL7hXwo8z6jKgGL9XYvEsZ62LVENn562YXbmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WcgqfWkhE5SGe4un0DyK0GNZkCXEc0a17r6o6OjVS5KWRULSAM7qlpsXFr5/h5HkTbtawLNG8DuwSIM7q8B2Rp04PiiwM9a1fAUJcQ4IH/363uVajFm/2qPVvbnDGl+MwbdaESdK6KHLAIntUz7syy/Dswd8F/rmII3auW/82aU= Received: by 10.78.83.15 with SMTP id g15mr6924782hub.6.1201517538585; Mon, 28 Jan 2008 02:52:18 -0800 (PST) Received: by 10.78.151.2 with HTTP; Mon, 28 Jan 2008 02:52:18 -0800 (PST) Message-ID: <94136a2c0801280252r278df9c5y1d83f200111628ff@mail.gmail.com> Date: Mon, 28 Jan 2008 11:52:18 +0100 From: "Zbigniew Szalbot" To: freebsd-questions In-Reply-To: <479DA2E7.8070808@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0801272219ue080ef9o74f30862c4c5ef73@mail.gmail.com> <1201502087.6923.2.camel@norman-laptop> <479DA2E7.8070808@FreeBSD.org> 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 10:52:20 -0000 Hi there, 2008/1/28, Kris Kennaway : > 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)). I do not have an access to this machine right now but I would think I should have the default login class. However, I ran pkg_add -rvK kde and I saw that while logging to the ftp server, the mode was set to Active because at some point I saw a message that I may want to set it to passive (I believe it was response from the FreeBSD FTP server). I'll check when I get home. Anyway, I could not complete the download of qt-3.3.38.tbz if I remember correctly (and I tried many times). Interestingly enough, when I typed wget LINK TO FILE, I downloaded it pretty fast. I then moved the file to /var/tmp but when I ran pkg_add -r kde, it did not seem to notice the file has been downloaded before and stopped again. I am going to try to install kde from an iso CD. Am I right in thinking that installing KDE via ports would take an awful lot of time on a humble PIII 866 512RAM machine? Thanks again! Zbigniew Szalbot