--- network/connections/ethernet.orig 2012-03-13 08:12:07.562610031 +0100 +++ network/connections/ethernet 2012-03-13 08:16:14.742610392 +0100 @@ -14,6 +14,8 @@ } ethernet_up() { + local timeout="${TIMEOUT:-3}" + load_profile "$1" if [[ ! -e "/sys/class/net/$INTERFACE" ]]; then @@ -186,6 +188,12 @@ fi fi + # Wait for duplicate address detection to finish + while [[ -n "$(ip -6 addr show tentative)" && $timeout -gt 0 ]]; do + sleep 1 + let timeout-- + done + # Add static IPv6 routes if [[ -n "$ROUTES6" ]]; then for route in "${ROUTES6[@]}"; do