Skip to content
Snippets Groups Projects
  1. May 13, 2014
  2. May 12, 2014
  3. May 05, 2014
  4. May 02, 2014
  5. Apr 01, 2014
  6. Mar 31, 2014
  7. Mar 18, 2014
  8. Feb 21, 2014
  9. Feb 17, 2014
  10. Feb 16, 2014
    • Alessandro Rubini's avatar
      userspace: run dhcpc in background forever, not through auto means · 162fb24e
      Alessandro Rubini authored
      
      Running "ifup eth0" if eth0 is configured for dhcp would make the
      client try a little while and then give up. Thus, if the dhcp server
      is currently down we end up without IP address. This happens after a
      power failure, if the switch reboots faster than the dhcp server.
      
      Also, avoid ifplugd, that won't help in this case (the link is up,
      so no "link up" will happen later.
      
      This new configuration works in all cases:
           - eth0 is configured with a static address in /etc/network/interfaces
           - dhcp-driven, and link goes down and then up
           - dhcp-driven, and server not ready at boot time
           - dhcp-driven and all fine since boot time
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      162fb24e