<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I use a small watchdog-script for this. It checks for a running
dhclient and starts it if it for some reason failed. Just start it in
rc.local with /etc/scripts/dhc-watchdog.sh &gt; /dev/null 2&gt;
/dev/null &amp;<br>
<br>
<br>
#!/bin/sh<br>
if (grep dhcp /etc/hostname.sis0) then<br>
&nbsp; while true; do<br>
&nbsp;&nbsp;&nbsp; if (ps -aux | grep dhclient | grep -v grep) then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo "ok.."<br>
&nbsp;&nbsp;&nbsp; else<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo "down, launching dhclient.."<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dhclient sis0<br>
&nbsp;&nbsp;&nbsp; fi<br>
&nbsp;&nbsp;&nbsp; sleep 10<br>
&nbsp; done<br>
fi<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:rancor@dathomir.se">rancor@dathomir.se</a> wrote:
<blockquote cite="mid:55953.1189774631@dathomir.se" type="cite">Hi.<br>
  <br>
I'm running flashboot 4.1 on a Soekris 4801-50.<br>
  <br>
sis0 is configured with dhcp and it work if the interface is connected
during boot. If the interface is disconnected during boot the interface
will never recover after I connect it.<br>
  <br>
I tried to configure dhclient to retry in dhclient.conf but without
positive result.<br>
  <br>
I have also tried to manually start dhclient in rc.more but dhclient
terminates without retrying any further.<br>
  <br>
Is there any way to get dhclient keep running so I can connect the wire
after boot and make dhcp work without reboot?<br>
  <br>
Best Regards rancor<br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
flashboot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:flashboot@mindrot.org">flashboot@mindrot.org</a>
<a class="moz-txt-link-freetext" href="https://lists.mindrot.org/mailman/listinfo/flashboot">https://lists.mindrot.org/mailman/listinfo/flashboot</a>
  </pre>
</blockquote>
</body>
</html>