Go to file
2008-05-19 14:45:05 +00:00
hook-samples nis_server -> nis_servers 2008-05-10 12:11:47 +00:00
mk Move VERSION from Makefile to config.h so that other Makefiles can be used instead of our own. 2008-05-19 13:36:06 +00:00
.gitignore Don't use a DUID by default even though support is compiled in, #70. Also, fix some man page entries a little. 2008-05-01 14:47:52 +00:00
bpf-filter.h Prettify code a little. 2008-05-14 12:19:05 +00:00
bpf.c No need for this check with our non blocking sockets. 2008-05-15 14:20:01 +00:00
client.c Setup our lease and state correctly when comming back as daemonised. 2008-05-16 09:08:52 +00:00
client.h Change code style to match the BSDs in the hope the might adpot it instead of dhclient. 2008-03-20 16:47:51 +00:00
common.c realloc -> xrealloc 2008-05-19 13:40:39 +00:00
common.h Create a real arc4linux function so we don't have to visible seed random in dhcpcd main. 2008-05-19 09:16:55 +00:00
config.h Trap some config.h defines if they're in CFLAGS. 2008-05-19 14:45:05 +00:00
configure.c Don't use stdio in a vfork and fix some unconsts. 2008-05-15 12:57:31 +00:00
configure.h When we explictly don't want an option, don't put it in the env. 2008-05-15 08:48:17 +00:00
dhcp.c Don't use stdio in a vfork and fix some unconsts. 2008-05-15 12:57:31 +00:00
dhcp.h When we explictly don't want an option, don't put it in the env. 2008-05-15 08:48:17 +00:00
dhcpcd.8.in Man page now states we support RFC 3396. 2008-05-13 13:34:05 +00:00
dhcpcd.c Create a real arc4linux function so we don't have to visible seed random in dhcpcd main. 2008-05-19 09:16:55 +00:00
dhcpcd.conf dhcpcd can now read a basic config file! Add a default dhcpcd.conf and matching man page. Add dhcpcd.sh man page. dhcpcd can now report variables it can send to dhcpcd.sh as well. 2008-04-18 23:12:44 +00:00
dhcpcd.conf.5.in Don't encode the hostname as a FQDN by default as not all DHCP servers support this. 2008-05-12 21:03:38 +00:00
dhcpcd.h Don't use stdio in a vfork and fix some unconsts. 2008-05-15 12:57:31 +00:00
dhcpcd.sh.8.in Tart the man pages - Aq fails mostly so just use < .. > 2008-05-02 09:05:03 +00:00
dhcpcd.sh.in Export the parent pid to the script. 2008-05-14 11:44:01 +00:00
if-bsd.c Style. 2008-05-15 15:48:15 +00:00
if-linux.c Our ctype calls should always use unsigned. 2008-04-17 09:57:19 +00:00
logger.c Define our own log text so we can move it off bss. 2008-05-14 09:21:46 +00:00
logger.h Change code style to match the BSDs in the hope the might adpot it instead of dhclient. 2008-03-20 16:47:51 +00:00
Makefile Move VERSION from Makefile to config.h so that other Makefiles can be used instead of our own. 2008-05-19 13:36:06 +00:00
net.c Try a new checksum routine. 2008-05-15 20:58:31 +00:00
net.h Fix some valgrind errors, and work on Linux again. 2008-05-15 11:12:44 +00:00
README Move the compat options to the top and renable duid support IF the duid file exists and we're in compat mode. 2008-05-01 18:00:59 +00:00
signals.c Move signal.{c,h} to signals.{c.h} so we can work better in the NetBSD source tree. 2008-05-15 12:48:01 +00:00
signals.h Move signal.{c,h} to signals.{c.h} so we can work better in the NetBSD source tree. 2008-05-15 12:48:01 +00:00
socket.c Use non blocking sockets so read errors with EAGAIN. 2008-05-15 14:16:47 +00:00

dhcpcd-4 - DHCP client daemon
Copyright 2006-2008 Roy Marples <roy@marples.name>


Installation
------------
Edit config.h to match your building requirements.
Then just make; make install
man dhcpcd for command line options


Notes
-----
If you're cross compiling you may need to set the below knobs to avoid
automatic tests.
OS=BSD | Linux

You can change the default dir where dhcpcd stores it's .lease files with
DBDIR=/var/db

If you're building for a NOMMU system where fork() does not work, you should
add -DTHERE_IS_NO_FORK to your CFLAGS.

We now default to using -std=c99. For 64-bit linux, this always works, but
for 32-bit linux it requires either gnu99 or a patch to asm/types.h.
Most distros patch linux headers so this should work fine.
linux-2.6.24 finally ships with a working 32-bit header.
If your linux headers are older, or your distro hasn't patched them you can
set CSTD=gnu99 to work around this.


Hooks
-----
We provide example exit hooks for looking up the hostname in DNS,
NTP (www.ntp.org) and ypbind (Linux).
There are not installed by default as they are platform dependant.


Compatibility
-------------
If you require compatibility with dhcpcd-3 and older style variables,
you can install dhcpcd-compat into the directory /etc/dhcpcd/enter-hook.d
We don't install this by default.
You should also add -DCMDLINE_COMPAT to your CFLAGS if you need to be fully
commandline compatible with prior versions.

dhcpcd-3 enabled DUID support by default - this has changed in dhcpcd-4.
You can enable it via the --duid, -D command line option or by using the
duid directive in dhcpcd.conf.
If CMDLINE_COMPAT is defined the we renable DUID support by default IF
the dhcpcd.duid file exits. This keeps the clients working as they were,
which is good.

dhcpcd-4 is NOT fully commandline compatible with dhcpcd-2 and older and
changes the meaning of some options.


ChangeLog
---------
We no longer supply a ChangeLog.
However, you're more than welcome to read the git commit comments at
http://git.marples.name/?p=dhcpcd/.git;a=summary