[clug] Network "profiles" and locations

Adam Baxter voltagex at voltagex.org
Sun Aug 21 07:39:44 MDT 2011


Is anyone doing "location aware" network configuration?

I'm thinking of the following:
* Laptop has been assigned an IP in the 10.0.0.0/24 range, I must be
at home. Otherwise I'm out, change/disable my /etc/apt/sources.list to
not use my local mirror
* Laptop has been assigned a public IP via ppp0, I'm on GPRS, disable
all chatty services to conserve bandwidth
* Laptop has been assigned an IP in the 172.0.0.0/24 range, I'm at
work, change my homepage
...and so on.

I think Network Manager does some of this, but I'm thinking about
doing it via ifup/down.

Any thoughts?

--Adam


More information about the linux mailing list