No description, website, or topics provided.
C Roff Makefile C++ Shell
Switch branches/tags
android-wear-n-preview-2 android-wear-n-preview-1 android-wear-7.1.1_r1 android-wear-5.1.1_r1 android-wear-5.1.0_r1 android-wear-5.0.0_r1 android-sdk-support_r11 android-sdk-adt_r20 android-sdk-adt_r16.0.1 android-sdk-4.4.2_r1.0.1 android-sdk-4.4.2_r1 android-sdk-4.0.3_r1 android-sdk-4.0.3-tools_r1 android-n-preview-5 android-n-preview-4 android-n-preview-3 android-n-preview-2 android-n-preview-1 android-n-mr2-preview-2 android-n-mr2-preview-1 android-n-mr1-preview-2 android-n-mr1-preview-1 android-n-iot-preview-2 android-m-preview android-m-preview-2 android-m-preview-1 android-l-preview_r2 android-cts-verifier-4.0.3_r1 android-cts-verifier-4.0_r1 android-cts-6.0_r19 android-cts-6.0_r18 android-cts-6.0_r17 android-cts-6.0_r16 android-cts-6.0_r15 android-cts-6.0_r14 android-cts-6.0_r13 android-cts-6.0_r12 android-cts-6.0_r9 android-cts-6.0_r8 android-cts-6.0_r7 android-cts-6.0_r6 android-cts-6.0_r5 android-cts-6.0_r4 android-cts-6.0_r3 android-cts-6.0_r2 android-cts-6.0_r1 android-cts-5.1_r20 android-cts-5.1_r19 android-cts-5.1_r18 android-cts-5.1_r17 android-cts-5.1_r16 android-cts-5.1_r15 android-cts-5.1_r14 android-cts-5.1_r13 android-cts-5.1_r10 android-cts-5.1_r9 android-cts-5.1_r8 android-cts-5.1_r7 android-cts-5.1_r6 android-cts-5.1_r5 android-cts-5.1_r4 android-cts-5.1_r3 android-cts-5.1_r2 android-cts-5.1_r1 android-cts-5.0_r9 android-cts-5.0_r8 android-cts-5.0_r7 android-cts-5.0_r6 android-cts-5.0_r5 android-cts-5.0_r4 android-cts-5.0_r3 android-cts-4.4_r4 android-cts-4.4_r1 android-cts-4.2_r2 android-cts-4.2_r1 android-cts-4.1_r4 android-cts-4.1_r2 android-cts-4.1_r1 android-cts-4.0.3_r2 android-cts-4.0.3_r1 android-cts-4.0_r1 android-cts-2.3_r12 android-cts-2.3_r11 android-cts-2.3_r10 android-cts-2.2_r8 android-6.0.1_r79 android-6.0.1_r78 android-6.0.1_r77 android-6.0.1_r74 android-6.0.1_r73 android-6.0.1_r72 android-6.0.1_r70 android-6.0.1_r69 android-6.0.1_r68 android-6.0.1_r67 android-6.0.1_r66 android-6.0.1_r65 android-6.0.1_r63 android-6.0.1_r62 android-6.0.1_r61
Nothing to show
Latest commit 2ad0f1b May 13, 2016 @enh enh committed with Gerrit Code Review Merge "Make dhcpd admit to using BSD extensions."
Permalink
Failed to load latest commit information.
compat Move dhcpcd off its own getline. Jun 24, 2014
dhcpcd-hooks Removed stray tabs. Dec 18, 2014
mk dhcpcd: Upgrade from 4.0.1 to 4.0.15 Jan 8, 2010
Android.mk Make dhcpd admit to using BSD extensions. May 13, 2016
CleanSpec.mk Add an empty CleanSpec.mk Mar 9, 2010
MODULE_LICENSE_BSD_LIKE dhcpcd: Update to Version 5.2.10 Jan 25, 2011
Makefile dhcpcd: Update to Version 5.5.6 Jul 23, 2012
Makefile.inc dhcpcd: Update to Version 5.2.10 Jan 25, 2011
NOTICE Manually update the dhcpcd NOTICE file. Dec 19, 2014
README dhcpcd: Update to Version 5.5.6 Jul 23, 2012
android.conf DO NOT MERGE - Disable IPv6 RS/RA processing in dhcpcd. May 28, 2014
arp.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
arp.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011
bind.c dhcpcd: Update to Version 5.2.10 Jan 25, 2011
bind.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011
bpf-filter.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011
bpf.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
common.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
common.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
config.h Move dhcpcd off its own getline. Jun 24, 2014
config.mk dhcpcd: Update to Version 5.2.10 Jan 25, 2011
configure.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
configure.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
control.c dhcpcd: Update to Version 5.2.10 Jan 25, 2011
control.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011
defs.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcp.c am 1990a91: am 23f28ff: am 3b32f45: am df8360e: am 8c596b7: am d8db511:… Feb 17, 2015
dhcp.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcpcd-run-hooks Don't fork and exec ls when the shell can stat files. Aug 29, 2015
dhcpcd-run-hooks.8 dhcpcd: Update to Version 5.2.10 Jan 25, 2011
dhcpcd-run-hooks.8.in dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcpcd-run-hooks.in dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcpcd.8 dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcpcd.8.in dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcpcd.c Always include <sys/...>, not <linux/...>. Jul 19, 2014
dhcpcd.conf dhcpcd: Update to Version 5.2.10 Jan 25, 2011
dhcpcd.conf.5 dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcpcd.conf.5.in dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcpcd.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
dhcpcd_test.cpp Remove set but not used variable Feb 10, 2015
duid.c dhcpcd: Update to Version 5.2.10 Jan 25, 2011
duid.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011
eloop.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
eloop.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
if-bsd.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
if-linux-wireless.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
if-linux.c Move check of IFF_LOWER_UP after all includes. Sep 5, 2014
if-options.c Really disable IPv6 RA processing in dhcpcd. Jul 16, 2014
if-options.h Make dhcpcd retry DHCPv4 indefinitely. Mar 2, 2015
if-pref.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
if-pref.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011
ifaddrs.c Fix implicit function declarations. Feb 20, 2015
ifaddrs.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011
ipv4ll.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
ipv4ll.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011
ipv6rs.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
ipv6rs.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
lpf.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
net.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
net.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
platform-bsd.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
platform-linux.c dhcpcd: Update to Version 5.5.6 Jul 23, 2012
platform.h dhcpcd: Update to Version 5.5.6 Jul 23, 2012
showlease.c Fix implicit function declarations. Feb 20, 2015
signals.c dhcpcd: Update to Version 5.2.10 Jan 25, 2011
signals.h dhcpcd: Update to Version 5.2.10 Jan 25, 2011

README

dhcpcd - DHCP client daemon
Copyright (c) 2006-2012 Roy Marples <roy@marples.name>


Installation
------------
./configure; make; make install
man dhcpcd for command line options
man dhcpcd.conf for configuration options
man dhcpcd-run-hooks to learn how to hook scripts into dhcpcd events


Notes
-----
If you're cross compiling you may need set the platform if OS is different
from the host.
--target=sparc-sun-netbsd5.0

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

You can change the default dirs with these knobs.
For example, to satisfy FHS compliance you would do this:-
./configure --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.

Some BSD systems do not allow the manipulation of automatically added subnet
routes. You can find discussion here:
    http://mail-index.netbsd.org/tech-net/2008/12/03/msg000896.html
BSD systems where this has been fixed are:
    NetBSD-5.0

We try and detect how dhcpcd should interact with system services during the
configure stage. If we cannot auto-detect how do to this, or it is wrong then
you can change this by passing shell commands to --service-exists,
--servicecmd and optionally --servicestatus.

To prepare dhcpcd for import into a platform source tree (like NetBSD)
you can use the make import target to create /tmp/dhcpcd-$version and
populate it with all the source files and hooks needed.
In this instance, you may wish to disable some configured tests when
the binary has to run on older versions which lack support, such as getline.
./configure --without-getline


Hooks
-----
Not all the hooks in dhcpcd-hooks are installed by default.
By default we install 01-test, 10-mtu, 20-resolv.conf,
29-lookup-hostname and 30-hostname.
The default dhcpcd.conf disables the lookup-hostname hook by default.
The configure program attempts to find hooks for systems you have installed.
To add more simply
./configure -with-hook=ntp.conf


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

dhcpcd no longer sends a default ClientID for ethernet interfaces.
This is so we can re-use the address the kernel DHCP client found.
To retain the old behaviour of sending a default ClientID based on the
hardware address for interface, simply add the keyword clientid to dhcpcd.conf.


ChangeLog
---------
We no longer supply a ChangeLog.
However, you're more than welcome to read the commit log at
http://roy.marples.name/projects/dhcpcd/log/