hush/networking/udhcp
Glenn L McGrath d9461f887e Allow one to detect and handle the case where no lease could be obtained
via DHCP. (Just add a section "failed" to your script.)
Patch by Steven Scholz
2003-09-01 04:08:36 +00:00
..
arpping.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
arpping.h added full udhcp integration 2002-10-14 21:41:28 +00:00
AUTHORS Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
ChangeLog Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
clientpacket.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
clientpacket.h added full udhcp integration 2002-10-14 21:41:28 +00:00
common.c "Without this patch, udhcpcd output may be buffered and delayed for 2003-08-30 04:47:36 +00:00
common.h Add missing pieces from vodz' last_patch88 2003-06-14 02:57:53 +00:00
Config.in Patch from Thomas Cameron: 2003-07-14 19:37:08 +00:00
COPYING added full udhcp integration 2002-10-14 21:41:28 +00:00
dhcpc.c Allow one to detect and handle the case where no lease could be obtained 2003-09-01 04:08:36 +00:00
dhcpc.h Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
dhcpd.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
dhcpd.h Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
dumpleases.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
files.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
files.h Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
frontend.c added full udhcp integration 2002-10-14 21:41:28 +00:00
leases_file.c Add missing pieces from vodz' last_patch88 2003-06-14 02:57:53 +00:00
leases.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
leases.h Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
libbb_udhcp.h slight change to reflect BB_VER change 2002-12-11 22:43:37 +00:00
Makefile Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile.in Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
options.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
options.h resync with udhcp cvs 2002-12-11 21:12:45 +00:00
packet.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
packet.h added full udhcp integration 2002-10-14 21:41:28 +00:00
README sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
README.dumpleases sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
README.udhcpc resync with udhcp cvs 2002-12-11 21:12:45 +00:00
README.udhcpd sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
script.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
script.h added full udhcp integration 2002-10-14 21:41:28 +00:00
serverpacket.c Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
serverpacket.h added full udhcp integration 2002-10-14 21:41:28 +00:00
socket.c Remove stray '\n' 2003-08-29 15:19:44 +00:00
socket.h added full udhcp integration 2002-10-14 21:41:28 +00:00
TODO sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
version.h resync with udhcp cvs 2002-12-11 21:12:45 +00:00

udhcp server/client package readme
-------------------------

The udhcp server/client package is primarily geared towards embedded
systems. It does however, strive to be fully functional, and RFC
compliant.


compile time options
-------------------

The Makefile contains three of the compile time options:
	
	DEBUG: If DEBUG is defined, udhcpd will output extra debugging
	output, compile with -g, and not fork to the background when run.
	SYSLOG: If SYSLOG is defined, udhcpd will log all its messages
	syslog, otherwise, it will attempt to log them to stdout.
	
	COMBINED_BINARY: If COMBINED_BINARY is define, one binary, udhcpd,
	is created. If called as udhcpd, the dhcp server will be started.
	If called as udhcpc, the dhcp client will be started.
	
dhcpd.h contains the other two compile time options:
	
	LEASE_TIME: The default lease time if not specified in the config
	file.
	
	DHCPD_CONFIG_FILE: The defualt config file to use.
	
options.c contains a set of dhcp options for the client:

	name[10]: The name of the option as it will appear in scripts
	
	flags: The type of option, as well as if it will be requested
	by the client (OPTION_REQ)

	code: The DHCP code for this option


busybox drop-in
--------------
udhcp is now a drop-in component for busybox (http://busybox.net).
To update busybox to the latest revision, simply do a:

cp *.[ch] README AUTHORS COPYING ChangeLog TODO \ 
	<busybox_source>/networking/udhcp

The only two files udhcp does not provide are config.in and
Makefile.in, so these may need to be updated from time to time.