Date: Fri, 11 Jul 1997 09:50:51 +0200 (DFT) From: Dermot McNally <dermot@sissdev.sps.mot.com> To: Stan Brown <stanb@netcom.com> Cc: (FreeBSD Mobile List) <freebsd-mobile@FreeBSD.ORG> Subject: RE: Multiple system configs Message-ID: <XFMail.970711100112.dermot@sissdev.sps.mot.com> In-Reply-To: <199707101950.MAA19679@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10-Jul-97 Stan Brown wrote: > It seems to me that what I need is a choice early in the boot up > process of at least 2 sets of various config files. One would be for > use on my LAN, and the other would be for free standing machine. > Potentially I might need third for the network at work. > > Before I go forth to tackle this project I thought I would ask for the > people on this lists thoughts on this subject. as anyone done this? > Where in the boot process should I put this choice? Is there way to do > this using BootEasy? You could do something like what I do - in pccard.conf I have nominated a handler script for ethernet card insertion which ifconfigs the interface in turn for each possible IP address it might be using on the each network it commonly gets connected to, each time attempting to ping the gateway. If it finds it, it brings up a default route and writes the correct resolv.conf file. The script is written (in Perl) to my specific requirements, but you could probably adapt it without too much trouble. Dermot ---------------------------------- Dermot McNally, Motorola EMEA CCS, Muenchen dermot@sissdev.sps.mot.com, phone +49-89-92103 648 ----------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970711100112.dermot>