On 10/23/2009 6:23 AM, Rod Whitworth wrote:
But I always get an error saying:
ftp: No control connection for command
Yep! You did NOT read all the docs. Start with OpenBSD FAQ. Read it
all. Study the pf part well. Look for references to ftp.
What makes you think that's the issue? pkg_add uses PASV ftp by
default, which shouldn't have any issues with pf.
Marcio, try just issuing:
ftp ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/midori-0.1.7.tgz
(or whatever package) and see if that gives the same error. If it does,
then start diagnosing problems with ftp, maybe there's an upstream
transparent FTP proxy or misconfigured firewall. Also make sure you
don't have the FTPMODE variable set, but that doesn't seem likely.
If you continue having problems and don't control your upstream
connection, a different mirror may work.