[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alternate boot for internet connection



On Wed, Jun 18, 2003 at 10:14:11AM +1200, Mike Beattie wrote:
> On Tue, Jun 17, 2003 at 07:57:35AM -0700, Michael Perry wrote:
> > You could use schemes.  If you peruse the pcmcia-howto that Hinds wrote
> > for the pcmcia-cs package, he mentions how to setup lilo to boot with
> > different append statements which launch different network setups.  I
> > have not done this in awhile but I did do it before.  I basically
> > created two schemes in /etc/pcmcia/network.opts called "home" and "work"
> > with different network setups like dhcp or static IP addresses.  I then
> > added this to my lilo.conf.
> ...
> 
> On Tue, Jun 17, 2003 at 08:57:00AM -0700, Michael Perry wrote:
> > Its not really difficult to do this with the pcmcia tools.  All one does
> > is create stanzas in /etc/pcmcia/network.opts or even
> > /etc/pcmcia/wireless.opts and then create append lines in lilo that
> > launch the schemes.  When the system boots the next time it will show
> > both entries in lilo.
> ...
> 
> UGH.
> 
> Use /etc/network/interfaces:
> 
> ---------------8<------------------
> # Wireless
> mapping eth1
>     script /etc/network/ifscheme
> 

Sounds good to me.  I like this approach as well.  I was just answering
the basic request that the user had.  Was there a way to use lilo.conf
to configure multiple schemes for pcmcia networking.  

Always good to have a "whole bunch of choice" when you are making a
choice.


--
Michael Perry | Do or do not. There is no try. -Master Yoda
mperry@lnxpowred.org | http://www.lnxpowered.org



Reply to: