Welcome to the forums. I would point out that you have responded to an eight year old thread.
I doubt whatever problem you are having is the same as the one from 2011. Even if it is, I doubt the original poster is still fighting it.
I am going to close this thread, and invite you to start a new thread detailing your problem which you will own. If you think this thread relevant, go ahead and link back to it.
Thanks
]]>Hey,
how do I configure pacman to work with a http proxy?Example:
http proxy: proxy.hello-world.com:8888
user: iloveyou42
password: h4xxThe wget wiki (https://wiki.archlinux.org/index.php/Wget) tells me that it uses the standard environment settings. But that doesn't work... So I tried:
wget --proxy-user "proxy.hello-world.com\iloveyou42" --proxy-password "h4xx" proxy.hello-world.com:8888
and without port:
wget --proxy-user "proxy.hello-world.com\iloveyou42" --proxy-password "h4xx" proxy.hello-world.com
Dosnt work as well...Is it possible to make this work (if possible without wget)?
Thx 4 help
SOLUTION:
PROXY='http://iloveyou42:h4xx@proxy.hello-world.com:8888'
export HTTP_PROXY="$PROXY"
export http_proxy="$PROXY"
this works for me:
PROXY='http://iloveyou42:h4xx@proxy.hello-world.com:8888'
export HTTP_PROXY="$PROXY"
export http_proxy="$PROXY"
if [ -n "$1" ] ; then
HN=$1
else
HN=`hostname -f`
fi
case $HN in
*.archserver.org)
PROXY=''
;;
*.company.com.au)
PROXY='http://proxy.company.com.au:3128'
BYPASS='192.168.0.0/16,127.0.0.0/8,localhost'
;;
*.fukawi2.pvt)
PROXY='http://proxy.fukawi2.pvt:3128'
BYPASS='192.168.0.0/16,127.0.0.0/8,localhost'
;;
*)
PROXY=''
;;
esac
# clean, then export the environment vars
unset HTTP_PROXY http_proxy FTP_PROXY ftp_proxy no_proxy
if [ -n "$PROXY" ] ; then
export HTTP_PROXY="$PROXY"
export http_proxy="$PROXY"
export HTTPS_PROXY="$PROXY"
export https_proxy="$PROXY"
export FTP_PROXY="$PROXY"
export ftp_proxy="$PROXY"
export no_proxy="$BYPASS"
fi
____
*) actually, there are two proxies: one local proxy (cntlm) and the company ISA proxy that cntlm helps to authenticate against.
what was returned:
Resolving proxy.domain.de... 193.196.64.2
Connecting to proxy.domain.de|193.196.64.2|:8888... connected.
Proxy request sent, awaiting response... 403 Forbidden
2011-04-19 13:57:40 ERROR 403: Forbidden.
Example:
http proxy: proxy.hello-world.com:8888
user: iloveyou42
password: h4xx
The wget wiki (https://wiki.archlinux.org/index.php/Wget) tells me that it uses the standard environment settings. But that doesn't work... So I tried:
wget --proxy-user "proxy.hello-world.com\iloveyou42" --proxy-password "h4xx" proxy.hello-world.com:8888
and without port:
wget --proxy-user "proxy.hello-world.com\iloveyou42" --proxy-password "h4xx" proxy.hello-world.com
Dosnt work as well...
Is it possible to make this work (if possible without wget)?
Thx 4 help
SOLUTION:
PROXY='http://iloveyou42:h4xx@proxy.hello-world.com:8888'
export HTTP_PROXY="$PROXY"
export http_proxy="$PROXY"