summaryrefslogtreecommitdiff
path: root/networking/udhcp/README
diff options
context:
space:
mode:
authorMike Frysinger2006-05-08 03:20:50 +0000
committerMike Frysinger2006-05-08 03:20:50 +0000
commit7031f62d9b750568b5e98bdb8c59c3c1a72e073d (patch)
treeb8d037a539281e7f7592e3045fa59e445495f603 /networking/udhcp/README
parent15fe2e11d7886d04450cabc8b40f0d396b6b6d85 (diff)
downloadbusybox-7031f62d9b750568b5e98bdb8c59c3c1a72e073d.zip
busybox-7031f62d9b750568b5e98bdb8c59c3c1a72e073d.tar.gz
add back in udhcp support
Diffstat (limited to 'networking/udhcp/README')
-rw-r--r--networking/udhcp/README53
1 files changed, 53 insertions, 0 deletions
diff --git a/networking/udhcp/README b/networking/udhcp/README
new file mode 100644
index 0000000..dd99294
--- /dev/null
+++ b/networking/udhcp/README
@@ -0,0 +1,53 @@
+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:
+
+ UDHCP_DEBUG: If UDHCP_DEBUG is defined, udhcpd will output extra
+ debugging output, compile with -g, and not fork to the background when
+ run.
+ UDHCP_SYSLOG: If UDHCP_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 three compile time options:
+
+ LEASE_TIME: The default lease time if not specified in the config
+ file.
+
+ LEASES_FILE: The default file for storing leases.
+
+ 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.
+