From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 06:41:28 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 9D09816A41A for ; Mon, 28 Jan 2008 06:41:28 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 2AE2213C442 for ; Mon, 28 Jan 2008 06:41:27 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1804482fgg.35 for ; Sun, 27 Jan 2008 22:41:26 -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=r5mGanbSFL07d200NX8Tasju1n45MQmNVbz4uEhRwxY=; b=mYNO8Btpqd54q5wOO/mtQEFdYXT3veqR9xqpIPcFkGr2arTqrf1dj7GEeCO8nv65yObBatnCUmNfuwTQzesyzFQJXht3LN+3VKymRySm4lCaPMO13ratuitE1SOQhAH4Pn6xGNcGK7WoiABjn2Qwoy8kVbQij21bljtUeOWQruw= 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=BMP9db/Frf7QIYz6MKunaV9o4izgHQFjUVPSDbSnUV8LfdMp0dG6oSBKsWwFtRXnR7rZwgotMO6CsRCGvOA7JzOf9LynEpvv8+3E9XmDH2niA2Tn8MMMV7fYCQNh46wdcdv4XVqE8jbGWYOtjkWltpTQs5FSyXmSPVkDLqio18c= Received: by 10.78.186.9 with SMTP id j9mr6567969huf.24.1201502486703; Sun, 27 Jan 2008 22:41:26 -0800 (PST) Received: by 10.78.151.2 with HTTP; Sun, 27 Jan 2008 22:41:26 -0800 (PST) Message-ID: <94136a2c0801272241x6633a1b7i74acb20000c7fe4a@mail.gmail.com> Date: Mon, 28 Jan 2008 07:41:26 +0100 From: "Zbigniew Szalbot" To: freebsd-questions In-Reply-To: <1201502087.6923.2.camel@norman-laptop> 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> 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 06:41:28 -0000 Hello, 2008/1/28, Norman Maurer : > > 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 Thank you very much! When I want to revert it, will it suffice to type: export FTP_PASSIVE_MODE=false ? Thank you again! Zbigniew Szalbot