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 following options can be adjusted when configuring busybox:

	CONFIG_FEATURE_UDHCP_DEBUG:
	  If this is defined, udhcpd will output extra debugging output,
	  compile with -g, and not fork to the background when run.

	CONFIG_FEATURE_UDHCP_SYSLOG:
	  If this is defined, udhcpd will log all its messages syslog,
	  otherwise, it will attempt to log them to stdout.

	CONFIG_UDHCPD_CONF_PATH:
	  The full path to udhcpd's default configuration file.

	CONFIG_UDHCPD_LEASE_PATH:
	  The full path to udhcpd's default leases file.

	CONFIG_UDHCPD_PID_PATH:
	  The full path to udhcpd's default pid file.

	CONFIG_UDHCPC_SCRIPT_PATH:
	  The full path to udhcpc's default event script file.
	  (default is: /usr/share/udhcpc/default.script)

	  When udhcpc is started it executes this script to take care
	  of system tasks after it completes DHCP communication.  Such
	  tasks include putting network interfaces up or down, setting
	  DNS info, adding routing information, etc.


dhcpd.h contains the another compile time option:

	LEASE_TIME:
	  The default lease time if not specified in the config file.
	  This option can also be changed at runtime with the 'lease'
	  configuration option.

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.

