• Home
Name Date Size #Lines LOC

..--

dhcpcd-hooks/03-May-2024-450349

mk/03-May-2024-232138

Android.mkD03-May-20241.5 KiB5942

CleanSpec.mkD03-May-20242.2 KiB500

MakefileD03-May-20241.2 KiB5235

NOTICED03-May-20242.2 KiB5040

READMED03-May-20242.6 KiB7558

ThirdPartyProject.propD03-May-2024280 1110

android.confD03-May-2024190 72

bpf-filter.hD03-May-20244.3 KiB10237

bpf.cD03-May-20245.4 KiB207159

client.cD03-May-202448.1 KiB1,8551,581

client.hD03-May-20241.5 KiB365

common.cD03-May-20246.6 KiB327241

common.hD03-May-20242.6 KiB8850

config.hD03-May-20242.5 KiB7632

configure.cD03-May-202410.5 KiB417327

configure.hD03-May-20241.8 KiB4211

dhcp.cD03-May-202428.8 KiB1,2891,087

dhcp.hD03-May-20246.3 KiB179123

dhcpcd-run-hooksD03-May-20241,009 3222

dhcpcd-run-hooks.8D03-May-20243.8 KiB114113

dhcpcd-run-hooks.8.inD03-May-20243.7 KiB115114

dhcpcd-run-hooks.inD03-May-20242.9 KiB139106

dhcpcd.8D03-May-202412.8 KiB431430

dhcpcd.8.inD03-May-202412.7 KiB439438

dhcpcd.cD03-May-202425.8 KiB1,054925

dhcpcd.confD03-May-2024407 142

dhcpcd.conf.5D03-May-20245.2 KiB156155

dhcpcd.conf.5.inD03-May-20245.6 KiB173172

dhcpcd.hD03-May-20243 KiB9656

if-bsd.cD03-May-20246.4 KiB256200

if-linux.cD03-May-20249.6 KiB394312

logger.cD03-May-20242.7 KiB10567

logger.hD03-May-20241.7 KiB4412

lpf.cD03-May-20244.4 KiB169126

net.cD03-May-202415.2 KiB706568

net.hD03-May-20245.6 KiB178108

showlease.cD03-May-20248.9 KiB350311

signals.cD03-May-20243.2 KiB12877

signals.hD03-May-20241.5 KiB388

README

1dhcpcd-4 - DHCP client daemon
2Copyright 2006-2008 Roy Marples <roy@marples.name>
3
4
5Installation
6------------
7Edit config.h to match your building requirements.
8Then just make; make install
9man dhcpcd for command line options
10
11
12Notes
13-----
14If you're cross compiling you may need to set the below knobs to avoid
15automatic tests.
16OS=BSD | Linux
17
18If you're building for an MMU-less system where fork() does not work, you
19should add -DTHERE_IS_NO_FORK to your CPPFLAGS.
20This also puts the --no-background flag on and stops the --background flag
21from working.
22
23You can change the default dir with these knobs.
24For example, to satisfy FHS compliance you would do this:-
25LIBEXECDIR=/lib/dhcpcd
26DBDIR=/var/lib/dhcpcd
27
28We now default to using -std=c99. For 64-bit linux, this always works, but
29for 32-bit linux it requires either gnu99 or a patch to asm/types.h.
30Most distros patch linux headers so this should work fine.
31linux-2.6.24 finally ships with a working 32-bit header.
32If your linux headers are older, or your distro hasn't patched them you can
33set CSTD=gnu99 to work around this.
34
35
36Hooks
37-----
38Not all the hooks in dhcpcd-hooks are installed by default.
39By default we install 01-test, 10-mtu, 20-resolv.conf and 30-hostname.
40To add more simply add them in the HOOKSCRIPTS variable.
41make HOOKSCRIPTS=50-ntp install
42
43
44Compatibility
45-------------
46If you require compatibility with dhcpcd-3 and older style variables,
47you can install 50-dhcpcd-compat into the directory $LIBEXECDIR/dhcpcd-hooks
48We don't install this by default.
49You should also add -DCMDLINE_COMPAT to your CPPFLAGS if you need to be fully
50commandline compatible with prior versions.
51
52dhcpcd-3 enabled DUID support by default - this has changed in dhcpcd-4.
53You can enable it via the --duid, -D command line option or by using the
54duid directive in dhcpcd.conf.
55If CMDLINE_COMPAT is defined the we renable DUID support by default IF
56the dhcpcd.duid file exits. This keeps the clients working as they were,
57which is good.
58
59dhcpcd no longer sends a default ClientID for ethernet interfaces.
60This is so we can re-use the address the kernel DHCP client found.
61To retain the old behaviour of sending a default ClientID based on the
62hardware address for interface, simply add the keyword clientid to dhcpcd.conf.
63If CMDLINE_COMPAT is defined, we renable the sending of ClientID by default
64AND adding clientid to dhcpcd.conf causes it NOT to be sent.
65
66dhcpcd-4 is NOT fully commandline compatible with dhcpcd-2 and older and
67changes the meaning of some options.
68
69
70ChangeLog
71---------
72We no longer supply a ChangeLog.
73However, you're more than welcome to read the commit log at
74http://roy.marples.name/projects/dhcpcd/log/
75