Every time there's a power outage at my home, my Gentoo box fails to start. This is because it attempts to configure the network via DHCP before my DHCP server has finished its startup. Thus I'm trying to think of a way to get the Gentoo box to "wait" a few minutes if DHCP fails on boot up. I've thought about making a simple script with the 'sleep' command and putting it in the boot runlevel but I really don't want it to wait on every reboot. Thus it seems there must be a way to modify the network startup script so that if DHCP fails, then it sleeps before trying again. Then maybe after so many DHCP failures, it finally uses a static configuration. However my scripting knowledge is limited so if someone would point me in the right direction, I'd really appreciate it.

Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list

Reply via email to