[gentoo-user] Net config
Hello all Gentooists! I want to know if it's possible to configure network in that way that if dhcp fails it will use a static IP, written by me in config file. I only want that service will start succesfully if dhcp server is dead, so dependent services will start too (like Apache), because i need them to run always on localhost. -- Michal Kurgan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Net config
Look in the /etc/conf.d/net.example file (assuming your using a more recent baselayout) - theres a fallback address (fallback_eth0 iirc) to which you can set an IP or say 'apipa' to get an IP in the 169 range like Windows does when it can't find one. HTH -- Tim Igoe ([EMAIL PROTECTED]) http://tim.igoe.me.uk - Personal Site http://tv.igoe.me.uk - UK TV Guide Quoting Michal Kurgan [EMAIL PROTECTED]: Hello all Gentooists! I want to know if it's possible to configure network in that way that if dhcp fails it will use a static IP, written by me in config file. I only want that service will start succesfully if dhcp server is dead, so dependent services will start too (like Apache), because i need them to run always on localhost. -- Michal Kurgan -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Net config
On Monday 02 of May 2005 11:58, Tim Igoe wrote: Look in the /etc/conf.d/net.example file (assuming your using a more recent baselayout) - theres a fallback address (fallback_eth0 iirc) to which you can set an IP or say 'apipa' to get an IP in the 169 range like Windows does when it can't find one. HTH Thanks for answer, but i don't have this file, if i had i would already have a resolution :). Could You send me this example, or tell me if i could find it on new Gentoo LiveCD, or somewhere else... I quickly searched witch google, but no results... (i found only that there is such file :)) -- Michal Kurgan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Net config
On Monday 02 of May 2005 13:10, Tim Igoe wrote: I'm using baselayout 1.11.9-r1 currently on my server (not at my workstation so I use 1.9.4-r6, but it's latest stable, also i use 2005.0 default linux profile. can't find out what thats on). But the server has the relevant example file - http://tim.igoe.me.uk/files/net.example if you can't get it through baselayout. thanks for link, copied that You might need a baselayout update for the net scripts to use the changes however. -- Tim Igoe ([EMAIL PROTECTED]) Thanks for fast answer with solution to my problem. :) -- Michal Kurgan -- gentoo-user@gentoo.org mailing list