Removing -n option from udhcpc

Daykin, Evan daykin at frib.msu.edu
Mon Feb 5 19:10:27 UTC 2018


Good Afternoon,

We have a lot of devices which were shipped running Busybox 1.20.2. We ran a test to see what would happen in the event of a power failure. When power was restored, the devices all booted much faster than the switches they were connected to, so udhcpc gave up and exited, leaving the devices unable to obtain a DHCP lease.  We tried setting "udhcpc_opts" to -background in the interfaces file, to no avail. As we understand it, -n and -b are not mutually exclusive, thus the client will still give up and exit after a few attempts. If I am not mistaken, the fix for this involves changing the configuration and rebuilding Busybox.  I am unsure of the rationale for this being the default behavior, can someone shed some light on this?

Best,
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20180205/76891197/attachment.html>


More information about the busybox mailing list