Hi Sonia,

On Thu, Nov 23, 2006 at 11:49:41AM +1100, Sonia Hamilton wrote:
> 
> * what's the best way *in general* to handle changing network related
> settings on a laptop? At the moment I'm just writing scripts that are
> called from cron that detect which n/w I'm on and adjust things. For
> example, for postfix I do stuff like this:
> 

NetworkManager is by far the best way to manage jumping between
different networks. 

The dispatcher allows you to hook into it and run events based on where
you are. 

There's a reasonable look into how to do it at:

http://www-inf.int-evry.fr/~olberger/weblog/2006/08/25/automatically-reconfigure-smtp-relays-in-exim-with-networkmanager-and-whereami/

Good luck!

Lindsay

-- 
http://slug.org.au/ (Sydney Linux Users Group)
http://lca2007.linux.org.au/ (linux.conf.au 2007)
http://holmwood.id.au/~lindsay/ (me)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to