don't know if you consider this to be wheel reinvention, but would it
be worth just getting three sets of patches and running patch on the said
files (perhaps within a script, yes).
Otherwise the netconf(ig) command util. I wonder does it take command line
attributes?
Gavin
On Tue, 27 Nov 2001, Niall O Broin wrote:
> I find myself in a situation now where I'll regularly be using my notebook
> in one of three locations viz. home and two work locations. In the two work
> locations I'll need different network settings e.g. IP address, default
> router, name servers etc. Is there any convenient existing way of automating
> this ? I know it's relatively trivial to write a script to do it but I'd
> sooner not re-invent the wheel. On my Powerbook, running either MacOS
> classic or MacOS X I can just select Preferences->Network and my location
> and everything is done INCLUDING proxy settings for browsers etc. but on the
> Linux notebook it's currently the manual option. I know one option would be
> to have DHCP setup in both work locations but that's not currently an option
> although it may be in the not too distant future.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!