From a4b8c6dd739ca5671e09f0983f8f3e849f95df50 Mon Sep 17 00:00:00 2001 From: Elias Bakken Date: Sun, 9 Aug 2026 21:32:05 +0200 Subject: [PATCH] wifi-connect: bump DHCP wait from 10s to 30s 10s to get an IP after the connection is accepted is tight, especially on links that have already shown other timing sensitivity this session. Same reasoning as the Rebuild-side CLIENT_TIMEOUT bump: worst case this just adds a few seconds to a failed attempt, but a too-short wait can report a spurious failure on a connection that would have come up fine given a bit more time. Co-Authored-By: Claude Sonnet 5 --- bin/prod/wifi-connect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/prod/wifi-connect b/bin/prod/wifi-connect index d454d75..64a34a5 100755 --- a/bin/prod/wifi-connect +++ b/bin/prod/wifi-connect @@ -72,7 +72,7 @@ done # 5. Wait and verify IP address info "Waiting for DHCP..." -MAX_RETRIES=10 +MAX_RETRIES=30 COUNT=0 while [ $COUNT -lt $MAX_RETRIES ]; do IP=$(ip addr show "$INTERFACE" | grep "inet " | awk '{print $2}')