Home | History | Annotate | only in /external/dhcpcd
Up to higher level directory
NameDateSize
android.conf28-Mar-2012190
Android.mk28-Mar-20121.6K
arp.c28-Mar-20128.8K
arp.h28-Mar-20121.9K
bind.c28-Mar-20126.8K
bind.h28-Mar-20121.5K
bpf-filter.h28-Mar-20124.3K
bpf.c28-Mar-20125.4K
CleanSpec.mk28-Mar-20122.2K
client.c28-Mar-201248.1K
client.h28-Mar-20121.5K
common.c28-Mar-20126K
common.h28-Mar-20122.7K
compat/28-Mar-2012
config.h28-Mar-2012438
config.mk28-Mar-2012592
configure.c28-Mar-201219K
configure.h28-Mar-20121.6K
control.c28-Mar-20124.4K
control.h28-Mar-20121.6K
defs.h28-Mar-20121.9K
dhcp.c28-Mar-201231.9K
dhcp.h28-Mar-20126.9K
dhcpcd-hooks/28-Mar-2012
dhcpcd-run-hooks28-Mar-20121,009
dhcpcd-run-hooks.828-Mar-20124.6K
dhcpcd-run-hooks.8.in28-Mar-20124.6K
dhcpcd-run-hooks.in28-Mar-20123.9K
dhcpcd.828-Mar-201217.1K
dhcpcd.8.in28-Mar-201217K
dhcpcd.c28-Mar-201250.7K
dhcpcd.conf28-Mar-2012831
dhcpcd.conf.528-Mar-20129.2K
dhcpcd.conf.5.in28-Mar-20129.2K
dhcpcd.h28-Mar-20123.6K
duid.c28-Mar-20122.9K
duid.h28-Mar-20121.5K
eloop.c28-Mar-20128K
eloop.h28-Mar-20122.1K
if-bsd.c28-Mar-201210.7K
if-linux-wireless.c28-Mar-20122.9K
if-linux.c28-Mar-201213.5K
if-options.c28-Mar-201222K
if-options.h28-Mar-20123.9K
if-pref.c28-Mar-20123.2K
if-pref.h28-Mar-20121.5K
ifaddrs.c28-Mar-20123.8K
ifaddrs.h28-Mar-20121.1K
ipv4ll.c28-Mar-20124.1K
ipv4ll.h28-Mar-20121.5K
logger.c28-Mar-20122.7K
logger.h28-Mar-20121.7K
lpf.c28-Mar-20124.5K
Makefile28-Mar-20123.4K
Makefile.inc28-Mar-2012125
mk/28-Mar-2012
MODULE_LICENSE_BSD_LIKE28-Mar-20120
net.c28-Mar-201217K
net.h28-Mar-20125.1K
NOTICE28-Mar-20122.2K
platform-bsd.c28-Mar-20121.8K
platform-linux.c28-Mar-20122.6K
platform.h28-Mar-20121.5K
README28-Mar-20122.9K
showlease.c28-Mar-20129K
signals.c28-Mar-20123.1K
signals.h28-Mar-20121.5K
ThirdPartyProject.prop28-Mar-2012282

README

      1 dhcpcd - DHCP client daemon
      2 Copyright (c) 2006-2010 Roy Marples <roy (a] marples.name>
      3 
      4 
      5 Installation
      6 ------------
      7 ./configure; make; make install
      8 man dhcpcd for command line options
      9 man dhcpcd.conf for configuration options
     10 man dhcpcd-run-hooks to learn how to hook scripts into dhcpcd events
     11 
     12 
     13 Notes
     14 -----
     15 If you're cross compiling you may need set the platform if OS is different
     16 from the host.
     17 --target=sparc-sun-netbsd5.0
     18 
     19 If you're building for an MMU-less system where fork() does not work, you
     20 should ./configure --disable-fork.
     21 This also puts the --no-background flag on and stops the --background flag
     22 from working.
     23 
     24 You can change the default dirs with these knobs.
     25 For example, to satisfy FHS compliance you would do this:-
     26 ./configure --libexecdir=/lib/dhcpcd 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 Some BSD systems do not allow the manipulation of automatically added subnet
     36 routes. You can find discussion here:
     37     http://mail-index.netbsd.org/tech-net/2008/12/03/msg000896.html
     38 BSD systems where this has been fixed are:
     39     NetBSD-5.0
     40 
     41 We try and detect how dhcpcd should interact with system services during the
     42 configure stage. If we cannot auto-detect how do to this, or it is wrong then
     43 you can change this by passing shell commands to --service-exists,
     44 --servicecmd and optionally --servicestatus.
     45 
     46 To prepare dhcpcd for import into a platform source tree (like NetBSD)
     47 you can use the make import target to create /tmp/dhcpcd-$version and
     48 populate it with all the source files and hooks needed.
     49 In this instance, you may wish to disable some configured tests when
     50 the binary has to run on older versions which lack support, such as getline.
     51 ./configure --without-getline
     52 
     53 
     54 Hooks
     55 -----
     56 Not all the hooks in dhcpcd-hooks are installed by default.
     57 By default we install 01-test, 10-mtu, 20-resolv.conf,
     58 29-lookup-hostname and 30-hostname.
     59 The default dhcpcd.conf disables the lookup-hostname hook by default.
     60 The configure program attempts to find hooks for systems you have installed.
     61 To add more simply
     62 ./configure -with-hook=ntp.conf
     63 
     64 
     65 Compatibility
     66 -------------
     67 dhcpcd-5.0 is only fully command line compatible with dhcpcd-4.0
     68 For compatibility with older versions, use dhcpcd-4.0
     69 
     70 dhcpcd no longer sends a default ClientID for ethernet interfaces.
     71 This is so we can re-use the address the kernel DHCP client found.
     72 To retain the old behaviour of sending a default ClientID based on the
     73 hardware address for interface, simply add the keyword clientid to dhcpcd.conf.
     74 
     75 
     76 ChangeLog
     77 ---------
     78 We no longer supply a ChangeLog.
     79 However, you're more than welcome to read the commit log at
     80 http://roy.marples.name/projects/dhcpcd/log/
     81