different proxys at different locations

Tom H tomh0665 at gmail.com
Wed Oct 27 13:14:57 UTC 2010

On Wed, Oct 27, 2010 at 5:40 AM, Alan Pope <alan at popey.com> wrote:
> On 27 October 2010 08:50, Amedee Van Gasse <amedee-ubuntu at amedee.be> wrote:
>> 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.

You could try to adapt the script that I just mentioned in another
thread, ping-places.sh.

More information about the ubuntu-users mailing list