From 0975e289539bfd54489dd72949e85c83e2d0e324 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 6 Aug 2010 16:14:02 +0000 Subject: DHCP-related documentation updates/warning fixes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2824 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/Documentation/NuttShell.html | 62 +++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) (limited to 'nuttx/Documentation/NuttShell.html') diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html index 4cc4c4125..74170efee 100644 --- a/nuttx/Documentation/NuttShell.html +++ b/nuttx/Documentation/NuttShell.html @@ -8,7 +8,7 @@

NuttShell (NSH)

-

Last Updated: June 08, 2009

+

Last Updated: July 06, 2010

@@ -2099,6 +2099,23 @@ nsh> Description + CONFIG_NET=y + + Of course, networking must be enabled. + + + + CONFIG_NSOCKET_DESCRIPTORS + + And, of course, you must allocate some socket descriptors. + + + + CONFIG_NET_TCP=y + + TCP/IP support is required for telnet (as well as various other TCP-related configuration settings). + + CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE Determines the size of the I/O buffer to use for sending/ @@ -2139,6 +2156,49 @@ nsh> +

+ If you use DHCPC, then some special configuration network options are + required. These include: +

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
ConfigurationDescription
CONFIG_NET=y + Of course, networking must be enabled. +
CONFIG_NSOCKET_DESCRIPTORS + And, of course, you must allocate some socket descriptors. +
CONFIG_NET_UDP=y + UDP support is required for DHCP (as well as various other UDP-related configuration settings). +
CONFIG_NET_BROADCAST=y + UDP broadcast support is needed. +
CONFIG_NET_BUFSIZE=650 (or larger) + Per RFC2131 (p. 9), the DHCP client must be prepared to receive DHCP messages of up to + 576 bytes (excluding Ethernet, IP, or UDP headers and FCS). +
+

If CONFIG_EXAMPLES_NSH_ROMFSETC is selected, then the following additional configuration setting apply: -- cgit v1.2.3