Subject: Re: pkg_add
To: Richard Ibbotson <richard@sheflug.co.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 01/07/2005 21:56:22
On Sun, Jan 02, 2005 at 04:53:52PM +0000, Richard Ibbotson wrote:
> 
> > The ftp(1) program uses passive ftp by default.
> 
> Hmmm.....
> 
> pkg_add 
> ftp://ftp.netbsd.org/pub/NetBSD/packages/2.0/i386/All/bash-2.05.2.7nb2.tgz
> 
> "ftp: connect to address 2001:4f8:4:7:2e0:81ff:fe21:6563: No route to 
> host."

This is because it tries ipv6 first, and most likely you don't have v6
connectivity. It's harmless, it should fall back to v4.

> 
> All other packets are routed without problem.  Maybe I need to open a 
> port for pkg_add ?  Although, I thought it was working on port 21 
> anyway.  ftp and all other protocols work fine through the firewall.  
> Maybe I need to do some sort of debugging ?

From the command line, does
ftp ftp://ftp.netbsd.org/pub/NetBSD/packages/2.0/i386/All/bash-2.05.2.7nb2.tgz
fetch the package ?
If this work, can you type
ftp ftp://ftp.netbsd.org/pub/NetBSD/packages/2.0/i386/All/
and successfully issue a dir command at the ftp prompt ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--