dhcpcd

所属分类:Linux/Unix编程
开发工具:C/C++
文件大小:107KB
下载次数:5
上传日期:2012-07-15 09:51:00
上 传 者theasgard
说明:  linux下dhcpd程序 终于搞明白了,dhcpdprogram
(linux下dhcpd程序 终于搞明白了,dhcpd program )

文件列表:
dhcpcd\android.conf (192, 2011-07-29)
dhcpcd\Android.mk (1745, 2011-07-29)
dhcpcd\bpf-filter.h (4363, 2011-07-29)
dhcpcd\bpf.c (5499, 2011-07-29)
dhcpcd\client.c (48689, 2011-07-29)
dhcpcd\client.h (1511, 2011-07-29)
dhcpcd\common.c (6698, 2011-07-29)
dhcpcd\common.h (2666, 2011-07-29)
dhcpcd\config.h (2596, 2011-07-29)
dhcpcd\configure.c (10863, 2011-07-29)
dhcpcd\configure.h (1820, 2011-07-29)
dhcpcd\dhcp.c (28502, 2011-07-29)
dhcpcd\dhcp.h (6410, 2011-07-29)
dhcpcd\dhcpcd-hooks\01-test (179, 2011-07-29)
dhcpcd\dhcpcd-hooks\10-mtu (133, 2011-07-29)
dhcpcd\dhcpcd-hooks\20-dns.conf (705, 2011-07-29)
dhcpcd\dhcpcd-hooks\20-resolv.conf (2940, 2011-07-29)
dhcpcd\dhcpcd-hooks\29-lookup-hostname (710, 2011-07-29)
dhcpcd\dhcpcd-hooks\30-hostname (502, 2011-07-29)
dhcpcd\dhcpcd-hooks\50-dhcpcd-compat (725, 2011-07-29)
dhcpcd\dhcpcd-hooks\50-ntp.conf (2196, 2011-07-29)
dhcpcd\dhcpcd-hooks\50-yp.conf (1116, 2011-07-29)
dhcpcd\dhcpcd-hooks\90-NetworkManager (294, 2011-07-29)
dhcpcd\dhcpcd-hooks\95-configured (808, 2011-07-29)
dhcpcd\dhcpcd-hooks\Makefile (290, 2011-07-29)
dhcpcd\dhcpcd-run-hooks (1007, 2011-07-29)
dhcpcd\dhcpcd-run-hooks.8 (3840, 2011-07-29)
dhcpcd\dhcpcd-run-hooks.8.in (3772, 2011-07-29)
... ...

dhcpcd-4 - DHCP client daemon Copyright 2006-2008 Roy Marples 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 ***-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 ------------- If you require compatibility with dhcpcd-3 and older style variables, you can install 50-dhcpcd-compat into the directory $LIBEXECDIR/dhcpcd-hooks We don't install this by default. You should also add -DCMDLINE_COMPAT to your CPPFLAGS if you need to be fully commandline compatible with prior versions. dhcpcd-3 enabled DUID support by default - this has changed in dhcpcd-4. You can enable it via the --duid, -D command line option or by using the duid directive in dhcpcd.conf. If CMDLINE_COMPAT is defined the we renable DUID support by default IF the dhcpcd.duid file exits. This keeps the clients working as they were, which is good. dhcpcd-4 is NOT fully commandline compatible with dhcpcd-2 and older and changes the meaning of some options. 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

近期下载者

相关文件


收藏者