busybox: Make sure we keep re-trying to obtain a lease
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS was set to '-n' which means "Exit with failure if lease cannot be immediately negotiated." What we'd rather want is for udhcpc to continue to run until a lease can finally obtain. Otherwise we have a race condition in case the DHCP server is not reachable for a few seconds during system boot, and end up having a system that is permanently without an IP address. This fixes ORT#639
This commit is contained in:
parent
39a927390d
commit
286c8a1166
|
@ -854,7 +854,7 @@ CONFIG_UDHCP_DEBUG=0
|
|||
# CONFIG_FEATURE_UDHCP_8021Q is not set
|
||||
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
|
||||
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
|
||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"
|
||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"
|
||||
# CONFIG_UDPSVD is not set
|
||||
# CONFIG_VCONFIG is not set
|
||||
CONFIG_WGET=y
|
||||
|
|
|
@ -854,7 +854,7 @@ CONFIG_UDHCP_DEBUG=0
|
|||
# CONFIG_FEATURE_UDHCP_8021Q is not set
|
||||
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
|
||||
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
|
||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"
|
||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"
|
||||
# CONFIG_UDPSVD is not set
|
||||
# CONFIG_VCONFIG is not set
|
||||
CONFIG_WGET=y
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:"
|
||||
PRINC = "21"
|
||||
PRINC = "22"
|
||||
|
||||
SRC_URI += "file://busybox-ifplugd.sh \
|
||||
file://ifplugd.sh"
|
||||
|
|
|
@ -776,7 +776,7 @@ CONFIG_UDHCP_DEBUG=0
|
|||
# CONFIG_FEATURE_UDHCP_RFC3397 is not set
|
||||
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
|
||||
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
|
||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"
|
||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"
|
||||
# CONFIG_VCONFIG is not set
|
||||
CONFIG_WGET=y
|
||||
CONFIG_FEATURE_WGET_STATUSBAR=y
|
||||
|
|
Loading…
Reference in New Issue