• 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: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    162fb24e
Name
Last commit
Last update
..
S01modules Loading commit data...
S20urandom Loading commit data...
S40network Loading commit data...
S50dropbear Loading commit data...
S60wr Loading commit data...
S70wr_date Loading commit data...
S80lighttpd.sh Loading commit data...
rcS Loading commit data...