Go to file
2008-10-21 15:34:52 +00:00
dhcpcd-hooks Build the resolv.conf correctly from the last commit. 2008-10-01 11:11:42 +00:00
mk Really fix .depend with GNU make and other makes. 2008-10-20 16:45:27 +00:00
arp.c We should erase the lease file when we get an ARP conflict on rebinding from it. 2008-10-21 15:34:52 +00:00
arp.h Add a control socket so that interfaces can be dynamically re-set. 2008-09-03 16:49:28 +00:00
bind.c Correctly set the REBOOT reason. 2008-09-15 15:20:37 +00:00
bind.h Remove some ints and replace with our option mask. 2008-09-05 07:22:03 +00:00
bpf-filter.h Allow ARP_REQUESTS through the filter as well so we work with conflicting IPV4LL probes. This requires the timeout to work of a time instead of a timeout. 2008-07-10 11:55:10 +00:00
bpf.c Remove logger and exclusively uses syslog instead. This saves almost 2K on NetBSD/amd64 from before changing strerror to %m. 2008-09-05 18:24:34 +00:00
common.c Remove logger and exclusively uses syslog instead. This saves almost 2K on NetBSD/amd64 from before changing strerror to %m. 2008-09-05 18:24:34 +00:00
common.h Pack the dhcp structure. 2008-09-05 11:54:44 +00:00
config.h 4.99.2 2008-09-19 13:36:40 +00:00
configure.c Get INFORM support almost working again. 2008-10-18 16:41:19 +00:00
configure.h Add an event loop. 2008-09-02 13:28:11 +00:00
control.c Allow 5 control socket connections at once. Time each out after 5 minutes. 2008-09-03 19:27:47 +00:00
control.h Add a control socket so that interfaces can be dynamically re-set. 2008-09-03 16:49:28 +00:00
dhcp.c Calculate netmask from cidr more efficiently. 2008-10-20 09:56:21 +00:00
dhcp.h Pack the dhcp structure. 2008-09-05 11:54:44 +00:00
dhcpcd-run-hooks.8.in Update bug page. 2008-10-07 20:01:33 +00:00
dhcpcd-run-hooks.in Fix comment. 2008-09-19 23:31:17 +00:00
dhcpcd.8.in Update bug page. 2008-10-07 20:01:33 +00:00
dhcpcd.c Ensure inform options are terminated. 2008-10-18 22:57:40 +00:00
dhcpcd.conf Disable the requesting of MTU by default as there's a lot of buggy servers out there. Plus we maybe trying to use jumbo frames. 2008-06-13 10:10:00 +00:00
dhcpcd.conf.5.in Update bug page. 2008-10-07 20:01:33 +00:00
dhcpcd.h Reboot off the last lease and use the last lease if not expired and user has asked for it. Also, add a reboot timeout toggle (default 10 seconds). 2008-09-15 15:23:46 +00:00
dhcpf.h Add an event loop. 2008-09-02 13:28:11 +00:00
duid.c Add an event loop. 2008-09-02 13:28:11 +00:00
duid.h Add an event loop. 2008-09-02 13:28:11 +00:00
eloop.c static objects are initialized to 0 by default, so don't explicity do this. 2008-10-06 12:45:32 +00:00
eloop.h Add a control socket so that interfaces can be dynamically re-set. 2008-09-03 16:49:28 +00:00
if-bsd.c Get INFORM support almost working again. 2008-10-18 16:41:19 +00:00
if-linux.c Fix reading netmask and linux informing. 2008-10-18 18:46:22 +00:00
if-options.c Fix reading netmask and linux informing. 2008-10-18 18:46:22 +00:00
if-options.h Allow the release keyword in dhcpcd.conf to release the lease on shutdown. 2008-09-16 13:17:23 +00:00
if-pref.c Fix compile errors. 2008-09-09 19:07:37 +00:00
if-pref.h Sort interfaces according to preference and pass this to dhcpcd-run-hooks so we can prefer configs. 2008-09-09 17:07:48 +00:00
ipv4ll.c Reboot off the last lease and use the last lease if not expired and user has asked for it. Also, add a reboot timeout toggle (default 10 seconds). 2008-09-15 15:23:46 +00:00
ipv4ll.h Add a control socket so that interfaces can be dynamically re-set. 2008-09-03 16:49:28 +00:00
lpf.c Remove #ifdefs to disable specific bits of code. We now build everything - we're small enough :) 2008-07-23 17:06:42 +00:00
Makefile Sort interfaces according to preference and pass this to dhcpcd-run-hooks so we can prefer configs. 2008-09-09 17:07:48 +00:00
net.c Cast to void * to remove compiler warnings on Sparc64. This should still be aligned correctly as this is how the kernel makes it. 2008-10-19 05:39:28 +00:00
net.h Move wireless detection from net.c into if-bsd.c and if-linux.c 2008-09-17 10:32:55 +00:00
README Add an event loop. 2008-09-02 13:28:11 +00:00
signals.c Add an event loop. 2008-09-02 13:28:11 +00:00
signals.h Add an event loop. 2008-09-02 13:28:11 +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

If you're building for an MMU-less system where fork() does not work, you
should add -DTHERE_IS_NO_FORK to your CPPFLAGS.
This also puts the --no-background flag on and stops the --background flag
from working.

You can change the default dir with these knobs.
For example, to satisfy FHS compliance you would do this:-
LIBEXECDIR=/lib/dhcpcd
DBDIR=/var/lib/dhcpcd

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
-----
Not all the hooks in dhcpcd-hooks are installed by default.
By default we install 01-test, 10-mtu, 20-resolv.conf and 30-hostname.
To add more simply add them in the HOOKSCRIPTS variable.
make HOOKSCRIPTS=50-ntp install


Compatibility
-------------
dhcpcd-4.1 is only fully command line compatible with dhcpcd-4.0
For compatibility with older versions, use dhcpcd-4.0


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