3.3.4 Network Tool Commands

The network tool commands are used for tools not physically connected to the local computer but through a network via ethernet, wifi, USB, etc. The default is USB.

To display information about the network tool commands for a selected tool available in the MDB, type help networktool. The table below provides additional information for this class of commands.

Table 3-5. Network Tool Commands
Command Description
AddIP Adds a user-specified newtork tool with the user-specified IP address.

Command format:

addip userSpecifiedIPAddress xxx.xxx.xxx.xxx

Note: The IP address needs to be in the form xxx.xxx.xxx.xxx.

Example:

Addip 192.170.001.001

Confignetworktool Reads or writes the network settings for the selected tool.

Command format:

confignetworktool [toolType] [index] [read\write]

  • toolType - If MDB is not currently connected to a tool (via the hwtool command), tooltype must be supplied (e.g. ice4). Otherwise, toolType should not be used.
  • index - The index of the specific tool (as shown by the hwtool command). The default index is zero and will be applied if no index is provided. If MDB is already connected to a tool (via the hwtool command), the index parameter should not be used.
  • read/write - The read/write parameter is optionial and indicates whether MDB will read the current network settings off of the tool or write settings to the tool. Use, read to read settings and, write to write settings. the default is to write the settings and will be applied if no read/write setting is provided. This setting is valid regardless of whether or not MDB is currently connected to a tool (via the hwtool command). However, if MDB is currenttly connected to a tool (via the hwtool command), MDB will disconnect from the tool after a successful write of the network settings.

    Use the set command to set each specific network setting. The syntax for the network settings is as follows:

    • Connection Type: name = networktool.connection.type

      valid values = ethernet, usb, ethernetstaticip, wifista, wifiap, (default is usb).

    • Static IP address: name = networktool.static.ip

      Data must be in the form (x.x.x.x) where x's are positive numbers from 0 to 255 (default = 0.0.0.0).

    • Gateway: name = networktool.gateway

      Data must be in the form (x.x.x.x) where x's are positive numbers from 0 to 255 (defualt = 0.0.0.0).

    • Subnet Mask: name = networktool.subnet.mask

      Data must be in the form (x.x.x.x) where x's are positive numbers from 0 to 255 (default = 255.255.255.255).

    • Network SSID: name = networktool.ssid

      value = any valid network name (default is an empty string).

    • Security Type: name = networktool.security.type

      valid values = wep, enterprise, personal, none, (default is none).

    • User Name: name = networktool.user.name

      Any valid user name (default is an empty string).

    • Password: name = networktool.password

      Any valid password (default is an empty string).

    When writing new settings, MDB performs a read modify write operation so that only the settings that have been explicitly declared, through the "set" command, will be applied to the tool.

RemoveIP Remove a user-specified network tool with the user-specified IP address.

Command format:

removeip [userSpecifiedIPAddress]

Examples:

To remove a user-specified IP address:removeip 192.170.001.001

To remove all user-specified network tools: removeip all