ubuntu 10.04 use wget with proxy

ubuntu at cgi-net.ch ubuntu at cgi-net.ch
Tue Aug 17 13:44:30 UTC 2010

On Tue, 17 Aug 2010 14:27:11 +0200, Massimiliano Ziccardi
<massimiliano.ziccardi at gmail.com> wrote:
>> If you don't mind using a gui, try gwget ('sudo apt-get install gwget'
>> it will be in Applications|Internet|gwget afterwards), then:
>> Edit|Preferences|Network.
>>  Sometimes letting the gui do the work eliminates cli typo errors.
> It's not a type problem.
> I have a script that always worked but, after I've upgraded my ubuntu to
> the
> latest release, it stopped working.
> Noone here knows how to fix that? It seems wget now ignores proxy
> !
> Should I fire a bug ?
> Thanks in advance, Massimiliano
Hi Massimiliano,

How do you define the proxy in your wget script?
Do you use a .wgetrc

Usually setting the environment variable as follow does work:
http_proxy=http://<your_proxy_address>:<proxy_port> # or whatever address
is appropriate for you
ftp_proxy=http://<your_proxy_address>:<proxy_port> # or whatever address
is appropriate for you
export http_proxy ftp_proxy

Hope this helps. If you also have to authentication on your proxy, use the
command options --proxy-user and --proxy-password


More information about the ubuntu-users mailing list