From: Gary Thomas <[EMAIL PROTECTED]>

BusyBox DHCP timeout is a bit aggressive on slow embedded targets.

Note: perhaps in future this might be configurable.

Signed-off-by: Gary Thomas <[EMAIL PROTECTED]>
---

--- /work/ptxdist-trunk/patches/busybox-1.10.4/generic/discover_timeout.patch   
1969-12-31 17:00:00.000000000 -0700
+++ 
/tmp/ptx-2008_11_21/ptx/patches/busybox-1.10.4/generic/discover_timeout.patch   
    2008-09-12 15:41:45.000000000 -0600
@@ -0,0 +1,11 @@
+--- busybox-1.10.4.OLD/networking/udhcp/dhcpc.c        2008-06-25 
04:55:22.000000000 -0600
++++ busybox-1.10.4/networking/udhcp/dhcpc.c    2008-09-12 15:40:07.000000000 
-0600
+@@ -139,7 +139,7 @@
+       char *str_W;
+ #endif
+       int tryagain_timeout = 20;
+-      int discover_timeout = 3;
++      int discover_timeout = 15;
+       int discover_retries = 3;
+       uint32_t xid = 0;
+       uint32_t lease_seconds = 0; /* can be given as 32-bit quantity */

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to