-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Drew Tomlinson wrote:
> 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
> 

You want ifplugd.

It will allow you to boot the machine even if there is not DHCP response
and then do the appropriate action when the DHCP server comes back up.
Try that out, maybe it will suit your needs.

- --
Jeremy Olexa
([EMAIL PROTECTED])
Office: EE/CS 1-201
CS/IT Systems Staff
University of Minnesota

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEZL4CFN7pD9kMi/URAs5KAJ9Gw+ITUea2jV7Y6Dyu7ItN4RTbVACeNrQX
V1+AGvCWpLaZUgVDUK3PNkI=
=e5Fn
-----END PGP SIGNATURE-----
-- 
[email protected] mailing list

Reply via email to