Go to file
2008-05-01 14:47:52 +00:00
hook-samples Fix compat for network_number. 2008-04-24 21:47:22 +00:00
mk Install the right man page. 2008-04-25 19:00:31 +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 Split interface and socket out into OS bpf, if-bsd and if-linux. 2008-03-24 01:29:33 +00:00
bpf.c Repair whitespace damage. 2008-04-26 07:39:23 +00:00
client.c 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
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 Normally I hate massive code drops, but heh. 2008-04-11 16:14:55 +00:00
common.h Normally I hate massive code drops, but heh. 2008-04-11 16:14:55 +00:00
config.h Fix compile with commandline compat. 2008-04-25 11:01:02 +00:00
configure.c Repair whitespace damage. 2008-04-26 07:39:23 +00:00
configure.h Remove the .info file and now set environment vars in the same vein as dhclient. This allows similar scripts to be used. 2008-04-16 09:51:20 +00:00
dhcp.c 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
dhcp.h Fix rfc3397 and rfc3442 decoding for dhcpcd.sh. 2008-04-19 11:00:54 +00:00
dhcpcd.8.in 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
dhcpcd.c 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
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 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
dhcpcd.h 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
dhcpcd.sh.8.in Man page corrections. 2008-04-24 14:14:20 +00:00
dhcpcd.sh.in Fix line length 2008-04-24 14:50:04 +00:00
if-bsd.c Our ctype calls should always use unsigned. 2008-04-17 09:57:19 +00:00
if-linux.c Our ctype calls should always use unsigned. 2008-04-17 09:57:19 +00:00
logger.c Repair whitespace damage. 2008-04-26 07:39:23 +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 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
net.c Repair whitespace damage. 2008-04-26 07:39:23 +00:00
net.h We should send packets to a specific IP over the udp socket so we don't broadcast on layer 2 and unicast on layer 3, #64. 2008-04-20 19:02:19 +00:00
README 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
signal.c Repair whitespace damage. 2008-04-26 07:39:23 +00:00
signal.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
socket.c Repair whitespace damage. 2008-04-26 07:39:23 +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.

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