Udhcp DHCPDISCOVER interval timing
Denys Vlasenko
vda.linux at googlemail.com
Sat Oct 10 14:10:55 UTC 2009
On Friday 09 October 2009 23:07, Wagner Scott (ST-IN/ENG1.1) wrote:
> Hello,
>
> Is there a udhcpc control (command line or configuration script) which
> determines the DHCPDISCOVER retry interval and / or backoff behavior?
>
> Is udhcpc's DHCPDISCOVER behavior documented somewhere that I have not
> found yet?
Yes.
# udhcpc --help
BusyBox v1.16.0.git (2009-08-30 17:07:12 CEST) multi-call binary
Usage: udhcpc [-Cfbnqtvo] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]
[-p pidfile] [-r IP] [-s script] [-O dhcp-option]...
-V,--vendorclass=CLASSID Vendor class identifier
-i,--interface=INTERFACE Interface to use (default eth0)
-H,-h,--hostname=HOSTNAME Client hostname
-c,--clientid=CLIENTID Client identifier
-C,--clientid-none Suppress default client identifier
-p,--pidfile=file Create pidfile
-r,--request=IP IP address to request
-s,--script=file Run file at DHCP events (default /usr/share/udhcpc/default.script)
-t,--retries=N Send up to N request packets
-T,--timeout=N Try to get a lease for N seconds (default 3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-A,--tryagain=N Wait N seconds (default 20) after failure
-O,--request-option=OPT Request DHCP option OPT (cumulative)
-o,--no-default-options Do not request any options (unless -O is also given)
-f,--foreground Run in foreground
-b,--background Background if lease is not immediately obtained
-S,--syslog Log to syslog too
-n,--now Exit with failure if lease is not immediately obtained
-q,--quit Quit after obtaining lease
-R,--release Release IP on quit
-a,--arping Use arping to validate offered address
--
vda
More information about the busybox
mailing list