This is a follow-up to my first message to the list (see below).

In spite of the fact that - according to your suggestion - I have read every
piece of info  about ftp and proxies both under man and googling, I'm still
unable to pkg_add any package to my openbsd 4.0 installation.

Perhaps this is due to some bias from my wider experience with freebsd.

Here you are a typical session and the errors popping up

# export ftp_proxy=http://user:[EMAIL PROTECTED]:8080  # FreeBSD style
# echo $ftp_proxy
http://user:[EMAIL PROTECTED]:8080

# pkg_add -v ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/mc-4.6.1p0.tgz

Error from ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/:
ftp: no address associated with name: user:[EMAIL PROTECTED]:8080
Can't find ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/mc-4.6.1p0.tgz
/usr/sbin/pkg_add:
ftp://ftp.unina.it/pub/OpenBSD/4.0/packages/i386/mc-4.6.1p0.tgz:Fatal error

Of course, in etc/resolv.conf I ghave the "right nameserver"

Please help!

Vittorio
----- Messaggio inoltrato da [EMAIL PROTECTED] -----
    Data: Mon, 08 Jan 2007 13:09:19 +0100
    Da: [EMAIL PROTECTED]
Rispondi-A: [EMAIL PROTECTED]
 Oggetto: pkg_add behind a proxy
      A: [email protected]

At office, after having installed a freebsd (OS on which I'm pretty
experienced)server, I installed a new (web-)server with openbsd 4.0, OS on
which I'm an absolute beginner, even though the experience with the other BSD
helps a lot.

Now I'm trying to install a basic set of packages under openbsd using the
command (similar to the one I use under freebsd):

pkg_add -v ftp://.........../package

but I'm unable to reach any site because my box is behind a firewall-proxy
needing userid and password authentication.

I tried defining two environmental variables (as under freebsd) $http_proxy and
$ftp_proxy to no avail with openbsd.

Google didn't help.

How can I define once and for all the userid and password of the proxy?
(Please take into account that I'm a beginner)
Ciao
Vittorio

----------------------------------------------------------------
|-  This message was sent using IMP Webmail and Smartmin SSC  -|


----- Fine messaggio inoltrato. -----


----------------------------------------------------------------
|-  This message was sent using IMP Webmail and Smartmin SSC  -|

Reply via email to