[ltp] Network connection and bootup

S. Anthony Sequeira linux-thinkpad@linux-thinkpad.org
Sat, 08 Nov 2003 15:43:00 +0000


On Sat, 2003-11-08 at 14:54, Matthias Posseldt wrote:
> On Saturday 08 November 2003 15:29, S. Anthony Sequeira wrote:
> > I am building a TP360e using LFS (www.linuxfromscratch.org)
> >
> > I would like to know the strategies used (by distros or otherwise) to
> > handle bootup scripts when the laptop is connected to a network.

[...]
> 
> I--on Gentoo--use a concept to switch to a different runlevel when in 
> different network environments. I use a program called quickswitch for that 
> task. It copies around some configuration files (resolv.conf, conf.net, etc.) 
> and then switches to a different runlevel. It works on Gentoo, because Gentoo 
> has boot script dependencies. Therefore, if I change from network1 to 
> network2, Gentoo will restart all services that depend on network.
> 
> Also, Gentoo has an unlimited number of runlevels. But I use three different 
> ones, so you can use level 3, 4, 5 for different configurations if you like.
> 
> Ciao, Matthias

Excellent strategy, but too much work for me I'm afraid :(

Also seems to me to need some intervention.  All I need is

am I online to a LAN

yes - startup/stop network daemons
no - don't

Thanks.
-- 
Tony