diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index d1dd3d922bd..80c65373937 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -8,7 +8,7 @@
Last Updated: March 18, 2011
+Last Updated: May 21, 2011
genromfs tool (available from http://romfs.sourceforge.net).
+ - The
genromfs tool (available from http://romfs.sourceforge.net).
- The file
apps/nshlib/rcS.template
(OR, if CONFIG_NSH_ARCHROMFS is defined include/arch/board/rcs.template.
NOTE:
apps/nshlib/rcS.template generates the standard, default nsh_romfsimg.h file.
- If CONFIG_NSH_ARCHROMFS is defined in the NuttX configuration file, then a custom, board-specific nsh_romfsimg.h file residing in configs/<board>/include will be used.
+ If CONFIG_NSH_ARCHROMFS is defined in the NuttX configuration file, then a custom, board-specific nsh_romfsimg.h file residing in configs/<board>/include will be used.
NOTE when the OS is configured, include/arch/board will be linked to configs/<board>/include.
@@ -985,21 +985,46 @@ help
Command Syntax:
-ifconfig +ifconfig [nic_name [ip_address]]
Synopsis.
- Show the current configuration of the network, for example:
+ Two forms of the ifconfigcommand are supported:
++
- +
++ With one or no arguments,
+ifconfigwill shows the + current configuration of the network and, perhaps, the status of ethernet + device: ++ifconfig +ifconfig [nic_name] +++ As an example: +
+nsh> ifconfig eth0 HWaddr 00:18:11:80:10:06 IPaddr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0-- if uIP statistics are enabled (
+CONFIG_NET_STATISTICS), then - this command will also show the detailed state of uIP. -+ If uIP statistics are enabled (
+CONFIG_NET_STATISTICS), then + this command will also show the detailed state of uIP. +- +
++ If both the network interface name and an IP address are supplied as arguments, + then
+ifconfigwill set the address of the ethernet device: ++ifconfig nic_name ip_address ++