FOSS FieldA post a day on free software

Proxy Settings

June 1, 2007 by Οὐρανός in GNOME, Desktop

I have to use a proxy to get online and because many programs have their own independent proxy settings, I have to set each up individually. So, in addition to setting the $http_proxy variable, here's the config files I have to change: (replace the numbers)

wget, /etc/wgetrc

Switch on Passive Mode by default:

passive_ftp = on

Set the Proxy Servers:

http_proxy = http://username:[email protected]:80/
ftp_proxy = http://username:[email protected]:80/

Enable the proxy:

use_proxy = on

apt/aptitude, /etc/apt/apt.conf

Set the proxies

ACQUIRE {
http::proxy "http://srdmorhper:[email protected]:80/"
}

Synaptic

Also, Synaptic doesn't seem to share apt's settings. Synaptic's proxy settings are in Settings » Preferences » Network and should be entered as:
Proxy:username:[email protected] Port:80

Note: Some programs like Google Earth, work under Gnome 2.14 and Ubuntu 6.06 with the proxy if you start them from a terminal but not from the menu entry.