If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:udhcpc (bbcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> udhcpc (bbcmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name udhcpc!
udhcpc (bbcmd) Negotiate an IPv4 DHCP lease and notify scripts when it is obtained or lost.
udhcpc (lincmd) Negotiates a DHCP lease and calls action scripts after.

BusyBox-Command

Goto:   Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

Before the inclusion into busybox this was part of a standalone package, see udhcpc (lincmd).

Excerpt from:   BusyBox manual   >>   udhcpc command   -   Last update: 2009-10-02 09:23 GMT.

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

Excerpt from:   BusyBox source   >>   udhcpc command   -   Last update: 2024-05-17 03:56 GMT.

Usage:
    udhcpc [-fbq        [-i IFACE]        [-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]...


        -i IFACE        Interface to use (default 
        -P PORT                Use PORT (default 68)
        -s PROG                Run PROG at DHCP events (default 
        -p FILE                Create pidfile
        -B                Request broadcast replies
        -t N                Send up to N discover packets (default 3)
        -T SEC                Pause between packets (default 3)
        -A SEC                Wait if lease is not obtained (default 20)
        -b                Background if lease is not obtained
        -n                Exit if lease is not obtained
        -q                Exit after obtaining lease
        -R                Release IP on exit
        -f                Run in foreground
        -S                Log to syslog too
        -a[MSEC]        Validate offered address with ARP ping
        -r IP                Request this IP address
        -o                Don't request any options (unless -O is given)
        -O OPT                Request option OPT from server (cumulative)
        -x OPT:VAL        Include option OPT in sent packets (cumulative)
                        Examples of string, numeric, and hex byte opts:
                        -x hostname:bbox - option 12
                        -x lease:3600 - option 51 (lease time)
                        -x 0x3d:0100BEEFC0FFEE - option 61 (client id)
                        -x 14:'
        -F NAME                Ask server to update DNS mapping for NAME
        -V VENDOR        Vendor identifier (default 'udhcp VERSION')
        -C                Don't send MAC as client identifier
        -v                Verbose
Signals:
        USR1        Renew lease
        USR2        Release lease

Note that some options may not be compiled in. If Usage: is shown multiple times these are compile options.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-05-17 08:01 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlink to cmd busybox (bbcmd) 1 The BusyBox executable itself. Contains the code for all applets. BusyBox
1 dependency for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-05-17 05:21 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
The path <bb> means the applet could be located in the busybox binary and could be called busybox udhcpc.
If a path is shown and no <bb> marker, then this is a dead link to a missing applet.

Model Firmware Path Size
FRITZ!Box 7520 v2 (arm) /bin, <bb> Link
1 model uses this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-05-17 08:01 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.