• 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
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...