different proxys at different locations

Alan Pope alan at popey.com
Wed Oct 27 09:40:10 UTC 2010

On 27 October 2010 08:50, Amedee Van Gasse <amedee-ubuntu at amedee.be> wrote:
> Currently I have to remember and change the proxy settings all the time.
> Sometimes I even have to reboot because the proxy changes don't "take".

Are you remembering to hit the 'apply system-wide' button? That's
probably why they don't take.

> I would like a solution where I set only one proxy, something like
>, and Ubuntu figures out what to do, wherever I am.

Have you tried setting a different location in the proxy settings dialog?

There's probably some scripting magic you could do searching for clues
on the network like the IP of the default gateway and get the MAC
address, and from that derive the location. I've often wanted
something like this, but not so much that the time spent making it
outweighs the few seconds using the proxy dialog :)


More information about the ubuntu-users mailing list