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

From BoxMatrix


BoxMatrix >> Shell-Commands >> udhcpd (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 udhcpd!
udhcpd (bbcmd) Very small DHCP server.
udhcpd (lincmd) Very small DHCP server daemon.
udhcpd (tmpdir) TODO

Linux-Command

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

Details

udhcpd is a very small DHCP server daemon. It is started by cm_logic and accesses:
This is a multicall binary also containing udhcpc (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 udhcpd 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 udhcpd (bbcmd), which never was used in FRITZ!OS.
See also the latest original and pretty empty udhcpd(8) and the verbose udhcpd.conf(5) man pages.

Fw 1.63 help:

This is a multicall binary also containing udhcpc (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-04-25 07:20 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlinked by cmd udhcpc (lincmd) 3 1.63 - 2.76 Negotiates a DHCP lease and calls action scripts after. Udhcp
Depends on lib libc.so 3 1.63 - 2.76 Standard C library Linux
2 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-25 05:08 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.

Model Firmware Path Size
FRITZ!Box 2.76 /usr/sbin 52.2k
FRITZ!Box SL 1.63 /usr/sbin 52.7k
FRITZ!Box Fon 1.120 - 1.128 /usr/sbin 53.3k - 59.6k
3 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-25 07:20 GMT.

Firmware Symbol
1.63 - 2.76 add_lease
1.63 - 2.76 add_option_string
1.63 - 2.76 add_simple_option
1.63 - 2.76 arpping
1.63 - 2.76 attach_option
1.63 - 2.76 check_ip
1.63 - 2.76 checksum
1.120 - 2.76 clear_lease
1.63 - 2.76 end_option
1.63 - 2.76 find_address
1.63 - 2.76 find_lease_by_chaddr
1.63 - 2.76 find_lease_by_yiaddr
1.63 - 2.76 find_option
1.63 - 2.76 get_option
1.63 - 2.76 get_option_length
1.63 - 2.76 get_packet
1.63 - 2.76 get_raw_packet
1.63 - 2.76 init_header
1.63 - 2.76 kernel_packet
1.63 - 2.76 lease_expired
1.63 - 2.76 listen_socket
1.63 - 2.76 main
1.120 - 2.76 oldest_expired_lease
1.63 - 2.76 pidfile_acquire
1.63 - 2.76 pidfile_delete
1.63 - 2.76 pidfile_write_release
1.63 - 2.76 random_xid
1.63 - 2.76 raw_packet
1.63 - 2.76 raw_socket
1.63 - 2.76 read_config
1.63 - 2.76 read_interface
1.63 - 2.76 read_leases
1.63 - 2.76 run_script
1.63 - 2.76 sendACK
1.63 - 2.76 sendNAK
1.63 - 2.76 sendOffer
1.63 - 2.76 send_discover
1.63 - 2.76 send_inform
1.63 - 2.76 send_release
1.63 - 2.76 send_renew
1.63 - 2.76 send_selecting
1.63 - 2.76 udhcpc
1.63 - 2.76 udhcpd
1.63 - 2.76 write_leases
1.63 - 2.76 write_to_delta
45 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.