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 (lincmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> udhcpc (lincmd) @ 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.
udhcpc (tmpdir) TODO

Linux-Command

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

Details

udhcpc negotiates a DHCP lease and calls action scripts after. It is called by rc.net and accesses:
This is a symlink to a multicall binary also containing udhcpd (lincmd) so these files cover both:

/etc/udhcpd.conf
/usr/share/udhcpc/default.script
/var/lib/misc/udhcpd.leases
/var/run/udhcpd.pid
/var/tmp/udhcpd.delta

Note that fw 1.63 (2004-05-03) is the oldest known firmware, which maybe never was used in the wild.
It is compeletly based on the AR7RD 2MB Flash / 8MB RAM reference design and its SDK from TI, with some adaption by AVM.
It already contained our well known CGI programs webcm and firmwarecfg and it already handled configuration in UI-Modules.
The beginning of FRITZ!OS could be considered the birth of ctlmgr, dsld and igdd in the second oldest fw 1.120 (2004-07-26).
The next important milestone was the birth of multid in fw 1.133 (2004-09-21). 4 important months in the history of FRITZ!OS.

Development of the udhcp package containing udhcpc was stopped with version 0.9.8 (2002-10-31).
It was included into busybox instead and development continued there.

See also the udhcp homepage and the busybox version udhcpc (bbcmd), which never was used in FRITZ!OS.
See also the latest original udhcpc(8) and udhcpd.conf(5) man pages.

Fw 1.63 help:

This is a symlink to a multicall binary also containing udhcpd (lincmd) so this help covers both (note the udhcpCD name):

udhcpcd, version 0.9.7 (2002-05-26)

Usage: udhcpcd [OPTIONS]

  -c, --clientid=CLIENTID         Client identifier
  -H, --hostname=HOSTNAME         Client hostname
  -f, --foreground                Do not fork after getting lease
  -i, --interface=INTERFACE       Interface to use (default: eth0)
  -n, --now                       Exit with failure if lease cannot be
                                  immediately negotiated.
  -p, --pidfile=file              Store process ID of daemon in file
  -q, --quit                      Quit after obtaining lease
  -r, --request=IP                IP address to request (default: none)
  -s, --script=file               Run file at dhcp events (default:
                                  /usr/share/udhcpc/default.script)
  -v, --version                   Display version  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-12-23 07:59 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 udhcpd (lincmd) 3 1.63 - 2.76 Very small DHCP server daemon. Udhcp
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-12-23 05:44 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/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 2.76 /usr/sbin Link
FRITZ!Box SL 1.63 /usr/sbin Link
FRITZ!Box Fon 1.120 - 1.128 /usr/sbin Link
3 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-12-23 07:59 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.