On 2/8/08, lists <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello,
> >
> > I would like to know if there is a way in Gnu/Linux-Systems to use an
> > alternative IP-Config if no DHCP-Server is available.
> >
> > I know this Feature from Windows-Systems and as I have a Linux-System
> > running in a VirtualBox it is possible that I switch on the VBox
> > connected to the LAN (DHCP supported) but it could also be that I turn
> > on the VBox when I'm not connected and in this case I want to give the
> > system a static IP.
> >
> > I know that I can use a different runlevel where I could choose this
> > or this net-config but it would be great if there is an automatic way
> > for this behaviour.
> >
> > Any answer or tips are welcome. Thanks. :)
> >
> > greets
> > Christian
> >
> Network profiles?
> pick the profile you want during boot sequence.
> At least, that is the way every other distro seems to handle them ;)
>
> http://www.ces.clemson.edu/linux/network_profiles.shtml
>
> Jaqui
>

Gentoo actually has this functionality built into their startup
scripts. I'd dig more up to share, but I've gotta run ... the example
config line in /etc/conf.d/net is:

ifconfig_fallback_eth0=( "192.168.0.2 netmask 255.255.255.0" )

-- 
Poison [BLX]
Joshua M. Murphy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to