updated for dhcpd
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1624 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
152a66c8b0
commit
8f2bf0bf97
@ -10,7 +10,7 @@ examples
|
|||||||
|
|
||||||
Selects the examples/ostest example.
|
Selects the examples/ostest example.
|
||||||
|
|
||||||
examples/hello
|
examples/dhcpd
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
This examples builds a tiny DCHP server for the target system.
|
This examples builds a tiny DCHP server for the target system.
|
||||||
@ -21,6 +21,17 @@ examples/hello
|
|||||||
cd examples/dhcpd
|
cd examples/dhcpd
|
||||||
make -f Makefile.host
|
make -f Makefile.host
|
||||||
|
|
||||||
|
Kernel configuratin settings:
|
||||||
|
|
||||||
|
CONFIG_EXAMPLE_DHCPD_NOMAC - (May be defined to use software assigned MAC)
|
||||||
|
CONFIG_EXAMPLE_DHCPD_IPADDR - Target IP address
|
||||||
|
CONFIG_EXAMPLE_DHCPD_DRIPADDR - Default router IP addess
|
||||||
|
CONFIG_EXAMPLE_DHCPD_NETMASK - Network mask
|
||||||
|
|
||||||
|
See also CONFIG_NETUTILS_DHCPD_* settings described elsewhere
|
||||||
|
and used in netutils/dhcpd/dhcpd.c. These settings are required
|
||||||
|
to described the behavior of the daemon.
|
||||||
|
|
||||||
examples/hello
|
examples/hello
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user