diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index f8ef41fb964..31546a100c3 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
NuttShell (NSH)
- Last Updated: October 31, 2012
+ Last Updated: November 4, 2012
|
@@ -173,175 +173,187 @@
|
- 2.16 Show Network Configuration (ifconfig)
+ 2.16 Manage Network Configuration (ifconfig)
|
|
- 2.17 Send a signal to a task (kill)
+ 2.17 Take a network down (ifdown)
|
|
- 2.18 Setup/teardown the Loop Device (losetup)
+ 2.18 Bring a network up (ifup)
|
|
- 2.19 List Directory Contents (ls)
+ 2.19 Send a signal to a task (kill)
|
|
- 2.20 Calculate MD5 (md5)
+ 2.20 Setup/teardown the Loop Device (losetup)
|
|
- 2.21 Access Memory (mb, mh, and mw)
+ 2.21 List Directory Contents (ls)
|
|
- 2.22 Show Current Tasks and Threads (ps)
+ 2.22 Calculate MD5 (md5)
|
|
- 2.23 Create a Directory (mkdir)
+ 2.23 Access Memory (mb, mh, and mw)
|
|
- 2.24 Create a FAT Filesystem (mkfatfs)
+ 2.24 Show Current Tasks and Threads (ps)
|
|
- 2.25 Create a FIFO (mkfifo)
+ 2.25 Create a Directory (mkdir)
|
|
- 2.26 Create a RAMDISK (mkrd)
+ 2.26 Create a FAT Filesystem (mkfatfs)
|
|
- 2.27 Mount a File System (mount)
+ 2.27 Create a FIFO (mkfifo)
|
|
- 2.28 Rename a File (mv)
+ 2.28 Create a RAMDISK (mkrd)
|
|
- 2.29 Mount an NFS file system (nfsmount)
+ 2.29 Mount a File System (mount)
|
|
- 2.30 Check Network Peer (ping)
+ 2.30 Rename a File (mv)
|
|
- 2.31 Send File Via TFTP (put)
+ 2.31 Mount an NFS file system (nfsmount)
|
|
- 2.32 Show Current Working Directory (pwd)
+ 2.32 Check Network Peer (ping)
|
|
- 2.33 Remove a File (rm)
+ 2.33 Send File Via TFTP (put)
|
|
- 2.34 Remove a Directory (rmdir)
+ 2.34 Show Current Working Directory (pwd)
|
|
- 2.35 Set an Environment Variable (set)
+ 2.35 Remove a File (rm)
|
|
- 2.36 Execute an NSH Script (sh)
+ 2.36 Remove a Directory (rmdir)
|
|
- 2.37 Wait for Seconds (sleep)
+ 2.37 Set an Environment Variable (set)
|
|
- 2.38 Unmount a File System (umount)
+ 2.38 Execute an NSH Script (sh)
|
|
- 2.39 Unset an Environment Variable (unset)
+ 2.39 Wait for Seconds (sleep)
|
|
- 2.40 URL Decode (urldecode)
+ 2.40 Unmount a File System (umount)
|
|
- 2.41 URL Encode (urlencode)
+ 2.41 Unset an Environment Variable (unset)
|
|
- 2.42 Wait for Microseconds (usleep)
+ 2.42 URL Decode (urldecode)
|
|
- 2.43 Get File Via HTTP (wget)
+ 2.43 URL Encode (urlencode)
|
|
- 2.44 Hexadecimal Dump (xd)
+ 2.44 Wait for Microseconds (usleep)
+ |
+
+
+
|
+
+ 2.45 Get File Via HTTP (wget)
+ |
+
+
+
|
+
+ 2.46 Hexadecimal Dump (xd)
|
@@ -1170,18 +1182,18 @@ help [-v] [<cmd>]
Command Syntax:
-ifconfig [nic_name [ip_address]]
+ifconfig [nic_name [ip]] [dr|gw|gateway <dr-address>] [netmask <net-mask>] [dns <dns-address>] [hw <hw-mac>]]
Synopsis.
- Two forms of the ifconfigcommand are supported:
+ Multiple forms of the ifconfigcommand are supported:
-
@@ -1214,14 +1226,63 @@ eth0 HWaddr 00:18:11:80:10:06
ifconfig nic_name ip_address
-
+
+ -
+ Other forms to be provided
+
+Command Syntax:
+
+ifdown <nic-name>
+
+
+ Synopsis.
+ Take down the interface identified by the name <nic-name>.
+
+
+ Example:
+
+
+ifdown eth0
+
+
+
+
+Command Syntax:
+
+ifup <nic-name>
+
+
+ Synopsis.
+ Bring up down the interface identified by the name <nic-name>.
+
+
+ Example:
+
+
+ifup eth0
+
+
+
@@ -1262,7 +1323,7 @@ nsh>
@@ -1315,7 +1376,7 @@ losetup d <dev-path>
@@ -1352,7 +1413,7 @@ ls [-lRs] <dir-path>
@@ -1369,7 +1430,7 @@ md5 [-f] <string or filepath>
@@ -1423,7 +1484,7 @@ nsh>
@@ -1449,7 +1510,7 @@ nsh>
@@ -1484,7 +1545,7 @@ nsh>
@@ -1504,7 +1565,7 @@ mkfatfs <path>
@@ -1542,7 +1603,7 @@ nsh>
@@ -1593,7 +1654,7 @@ nsh>
@@ -1672,7 +1733,7 @@ nsh> mount
@@ -1690,7 +1751,7 @@ mv <old-path> <new-path>
@@ -1709,7 +1770,7 @@ nfsmount <server-address> <mount-point> <remote-path>
@@ -1742,7 +1803,7 @@ nsh>
@@ -1777,7 +1838,7 @@ put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
@@ -1807,7 +1868,7 @@ nsh>
@@ -1841,7 +1902,7 @@ nsh>
@@ -1876,7 +1937,7 @@ nsh>
@@ -1902,7 +1963,7 @@ nsh>
@@ -1920,7 +1981,7 @@ sh <script-path>
@@ -1937,7 +1998,7 @@ sleep <sec>
@@ -1967,7 +2028,7 @@ nsh>
@@ -1993,7 +2054,7 @@ nsh>
@@ -2010,7 +2071,7 @@ urldecode [-f] <string or filepath>
@@ -2027,7 +2088,7 @@ urlencode [-f] <string or filepath>
@@ -2044,7 +2105,7 @@ usleep <usec>
@@ -2071,7 +2132,7 @@ wget [-o <local-path>] <url>
@@ -2215,6 +2276,16 @@ nsh>
CONFIG_NET |
CONFIG_NSH_DISABLE_IFCONFIG |
+
+ ifdown |
+ CONFIG_NET |
+ CONFIG_NSH_DISABLE_IFUPDOWN |
+
+
+ ifup |
+ CONFIG_NET |
+ CONFIG_NSH_DISABLE_IFUPDOWN |
+
kill |
!CONFIG_DISABLE_SIGNALS |
@@ -3723,9 +3794,9 @@ mount -t vfat /dev/ram1 /tmp
/etc/init.d/rcS
exec
exec_namedapp()
+ exit
- exit
free
g_cmdmap
genromfs
@@ -3734,6 +3805,8 @@ mount -t vfat /dev/ram1 /tmp
help
if-then[-else]-fi
ifconfig
+ ifdown
+ ifup
Initialization sequence
kill
losetup
|