Home | History | Annotate | only in /external/dhcpcd
Up to higher level directory
NameDateSize
android.conf15-Nov-2011190
Android.mk15-Nov-20111.5K
bpf-filter.h15-Nov-20114.3K
bpf.c15-Nov-20115.4K
CleanSpec.mk15-Nov-20112.2K
client.c15-Nov-201148.1K
client.h15-Nov-20111.5K
common.c15-Nov-20116.6K
common.h15-Nov-20112.6K
config.h15-Nov-20112.5K
configure.c15-Nov-201110.5K
configure.h15-Nov-20111.8K
dhcp.c15-Nov-201128.8K
dhcp.h15-Nov-20116.3K
dhcpcd-hooks/15-Nov-2011
dhcpcd-run-hooks15-Nov-20111,009
dhcpcd-run-hooks.815-Nov-20113.8K
dhcpcd-run-hooks.8.in15-Nov-20113.7K
dhcpcd-run-hooks.in15-Nov-20112.9K
dhcpcd.815-Nov-201112.8K
dhcpcd.8.in15-Nov-201112.7K
dhcpcd.c15-Nov-201125.8K
dhcpcd.conf15-Nov-2011407
dhcpcd.conf.515-Nov-20115.2K
dhcpcd.conf.5.in15-Nov-20115.6K
dhcpcd.h15-Nov-20113K
if-bsd.c15-Nov-20116.4K
if-linux.c15-Nov-20119.6K
logger.c15-Nov-20112.7K
logger.h15-Nov-20111.7K
lpf.c15-Nov-20114.4K
Makefile15-Nov-20111.2K
mk/15-Nov-2011
net.c15-Nov-201115.2K
net.h15-Nov-20115.6K
NOTICE15-Nov-20112.2K
README15-Nov-20112.6K
showlease.c15-Nov-20118.9K
signals.c15-Nov-20113.2K
signals.h15-Nov-20111.5K
ThirdPartyProject.prop15-Nov-2011280

README

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