Subject: Re: Dynamic configuration...
To: Richard Rauch <rauch@rice.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 12/01/2001 21:06:29
On Sat, Dec 01, 2001 at 12:37:06AM -0600, Richard Rauch wrote:
> I currently have a laptop (on my home networked, dubbed ``odysseus'' since
> it travels around; (^&).  It has one configuration for hooking up to the
> Rice campus network when I'm on-campus, and another configuration for
> hooking up to the LAN in my apartment.  Now, I've finally got DSL up and
> running at home, and will need to reconfigure stuff some more.  (I may
> also be able to use DHCP to use certain other parts of the Rice
> network---in the lan that covers my office, I have a static IP, but other
> networks on Rice use DHCP...)
> 
> The basic problem: I have multiple configurations and presently have to
> hand-munge some stuff via sudo or as root.  What I'd like is something
> automatic, even if it's as yucky as polling for different possible working
> configurations.  Given that there is nothing constant about these
> configurations except that they use TCP/IP over ethernet, is there a nice
> way to do this?

Well, you have to hack /etc/rc.d/network for this. I see no other way ...

--
Manuel Bouyer <bouyer@antioche.eu.org>
--