On a machine in a local network, I have in my /etc/network/interfaces
file:

auto eth0
iface eth0 inet dhcp

But after a power outage, my machine sometimes restarts while the
network isn't available yet. In this case, I can no longer ssh to
it. And I can't reboot it remotely.

How can I make pump (the DHCP client I'm using) to try again
periodically? I think I can write a script that tests if pump
is running (with the "ps" command) and can run this script by
cron. But is there a better way?

Note: When I'm in front of the machine, I still want to be able to
use it when the network is not available (to do some local work,
while waiting for the network to come back).

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to