Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 8 of 20

6400 Computer TCP/IP Client User's Guide: Section 2, 6400 TCP/IP Client, pages 57 to 66

Pages 57 to 66 of 162, from 6400 Computer TCP/IP Client User's Guide

The original document is the PDF (836 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec 6400

Page 57

SECTION 2

6400 TCP/IP Client

Ethdrv ethdrv [-B] [-b broadcast_addr] [-i interrupt] [m] [-p lg_pkt_count] [-s sm_pkt_count] [-t max_tcp_conn] [-u max_udp_conn] The ethdrv command loads the TSR kernel into memory. Use inet unload to unload the kernel from memory. The kernel is the central part of the network software. Loading the TSR kernel lets you use TCP/IP applications. The ethdrv TSR kernel supports DIX Ethernet. The TSR kernel supports upper memory (UMB) and expanded memory loading options that you can specify on the command line or in the [pctcp kernel] section of PCTCP.INI. (The kernel loads its code and data segments into upper memory by default.) The size of the kernel varies, depending on the driver, the command line, and configuration options you select. When you load the kernel, it displays a report of its memory usage. Using ethdrv without arguments results in a configuration that uses a moderate amount of memory, and is adequate for most users. Kernel command line options override configuration parameter settings in the [pctcp kernel] section of PCTCP.INI. -B

Specifies that Berkeley UNIXĆtype urgent pointers are used. Use this type of outĆofĆband urgent pointer when communicating with Berkeley UNIX hosts. Without this option selected, RFC 1122 urgent pointers are used; this is the default. RFC 1122 is Requirements for Internet Hosts – Communication Layers.

6400 Computer TCP/IP Client User’s Guide

2-31

Page 58

6400 TCP/IP Client

SECTION 2

-b broadcast_addr Specifies a broadcast address other than 255.255.255.255. Other useful values are: net_addr.255 net_addr.subnet_addr.255 net_addr.0 net_addr.subnet_addr.0 Net_addr and subnet_addr are your network and subnet addresses. Broadcast addresses that use the 0 value are unusual and generally used by older networks. " NOTE: If you use this mechanism, you may have problems with your network. FTP does not guarantee performance or compatibility with other TCP/IP implementations.

2-32

-m

Allows the kernel to use expanded memory if a properly configured expanded memory manager is also running. This option overrides the default use-emm=no parameter in the [pctcp kernel] section of PCTCP.INI.

-p lg_pkt_count

Specifies the number of large packet buffers to reserve when loading the kernel into memory. The size of a large packet is equivalent to the Maximum Transmission Unit (MTU) allowed in your network. Default: 5 or the number of TCP connections plus 1 (whichever is larger). This option overrides the large-packets=number setting in the [pctcp kernel] section of PCTCP.INI.

6400 Computer TCP/IP Client User’s Guide

Page 59

SECTION 2

6400 TCP/IP Client

-s sm_pkt_count

Specifies the number of small packet buffers to reserve when loading the kernel into memory. Typically, small packets carry protocol or other handshaking data between systems, and large packets carry application data. Default: 5 or the number of TCP connections plus 1 (whichever is larger). This option overrides the small-packets=number setting in the [pctcp kernel] section of PCTCP.INI.

-t max_tcp_conn

Specifies the maximum number of simultaneous TCP connections to allow. The maximum number of TCP connections is 64. Default: 4.

-u max_udp_conn

Specifies maximum number of simultaneous UDP connections to allow. Default: 4.

-?

Displays and explains the usage line of this command. Displays the version and patch level of this command. Refer to this information if you call Technical Support.

-version

EXAMPLE 1:

To unload the TSR, enter: C:\>inet unload

EXAMPLE 2:

To load the DIX Ethernet TSR kernel TSR into conventional memory with 8 TCP and 8 UDP connections, enter: C:\>ethdrv –t 8 –u 8

SEE ALSO:

Inet (page 2-27).

6400 Computer TCP/IP Client User’s Guide

2-33

Page 60

6400 TCP/IP Client

SECTION 2

Ping ping [options] host ping [-? | -version] Use ping to determine if a host is active and to isolate host connection problems. Ping sends an echo request to another host and waits for a response, using ICMP. Ping reports success with a responding" message followed by statistics for the host that initiated the connection. The command may also report failure with a failed" or resolve hostname" message followed by statistics about the host that initiated the connection. Options -j, -k, -o, -r, -s, and -x add IP options to the packet header. Options can be combined, and space is allotted to a variable length option depending on what else is selected. Variable length options take up three bytes of header space in addition to whatever is used up by the data. If the selected combination totals no more than 40 bytes, ping prints an error message and fails. When typing options on the command line, leave a space between the option and any values or arguments that correspond to it. When using ping with a 6400 computer, a useful command line option for minimal output is -z. This option enables you to easily view statistics on your 6400 computer's small display. You can add -n 5 to generate five pings in succession. An example is on page 2-39. -d [bytes]

2-34

Displays header and debugging information about the incoming packet. Use the bytes value to specify the number of bytes to display in hexadecimal notation. If you specify the -t option with the -d option, the program repeatedly contacts the target host and displays the first input packet along with a changing display of the number of echoes.

6400 Computer TCP/IP Client User’s Guide

Page 61

SECTION 2

6400 TCP/IP Client

-d# [bytes]

Displays header and debugging information about the outgoing packet. Use bytes to specify the number of bytes to display in hexadecimal notation. If you specify -t with the -d# option, the program repeatedly conĆ tacts the target host and displays the first output packet along with a changing display of the number of echoes. If you specify both the -d# and -d options, ping displays inforĆ mation for the outgoing packet first.

-e

Cancels any configured IP extended security levels or authority that ping would otherwise insert.

host

Specifies the name or Internet address of the remote host. Sets IP TimeĆto-Live (TTL) value on the outgoing packet and displays TTL value for the incoming packet. The range is 1-255. Default: 64.

-i value

-j dest1 ... destn

-k dest1 ... destn

-l length

Turns on the IP Loose Source Routing option, which lets the packet pass through unlisted routers between destinations. Each destination is the IP address of a router through which the packet must pass on the way to the final destination. The -j option cannot be used with the -k option. Turns on the IP Strict Source Routing option, which does not let the packet pass through unlisted routers between destinations. Each destination is the IP address of a router through which the packet must pass on the way to the final destination. The -k option cannot be used with the -j option. Sets the length in bytes of data in a packet. Default: 256. You can use this option to send longer packets through the network if the transport to which your 6400 computer is connected supports a data length greater than 256 bytes.

6400 Computer TCP/IP Client User’s Guide

2-35

Page 62

6400 TCP/IP Client

SECTION 2

-n times

Sends the specified number of echo requests and then stops. By default, ping sends only one echo request. The -t option overrides this option.

-o

Turns on IP No-Op option, which has no effect on the transmission but is sometimes used for alignment purposes. It uses 1 byte of option space.

-p precedence

Sets the IP Precedence level. The variable precedence is a number in the 0-7 range. This option overrides any Precedence options configured in PCTCP.INI. The IP precedence levels and descriptions are as follows: 0 1 2 3

4 5 6 7

Flash override CRITIC/ECP Internetwork control Network control

-Q

Turns on Trace Route option, which performs like the -q option except that IP addresses are not translated to domain names.

-q

Turns on the Trace Route option. The option increments the TTL to identify all of the routers encountered when trying to reach the target host, and denotes each router by its IP address and domain name. The option displays the number of hops required to reach the target host. If it does not reach a host after 96 hops, ping times out. Turns on the IP Record Route option.

-r -t

2-36

Routine Priority Immediate Flash

Continuously sends echo requests to the target host, each time waiting for a response before sending the next request. When in this requestĆresponseĆrequest loop, ping reports all echo failures and an incremental summary of trials and successes. To exit from this command, type q. The -t option overrides the -n option, if specified.

6400 Computer TCP/IP Client User’s Guide

Page 63

SECTION 2

6400 TCP/IP Client

-v type

-w seconds

Requests an IP Type of Service option. The variable type is a number in the 0-15 range. This option overrides any Type of Service options configured in PCTCP.INI. The service depends on the router and is not guaranteed; therefore, requesting this option may have no effect on the performance of ping. The value and description for each valid type are as follows: 0 Normal 1 Low cost (LC) 2 High reliability (HR) 3 LC, HR 4 High throughput (HT) 5 LC, HT 6 HR, HT 7 LC, HR, HT 8 Low delay (LD) 9 LC, LD 10 HR, LD 11 LC, HR, LD 12 HT, LD 13 LC, HT, LD 14 HR, HT, LD 15 LC, HR, HT, LD Specifies a number of seconds to wait for a response before giving up. The range for seconds is 1-32767. Default: 6.

-x

Turns on the IP timestamp option. All routers that implement Timestamp stamp the packet when encountered.

-x 1

Specifies that each time stamp is preceded by the IP address of the recording entity. Each recorded time stamp takes 8 bytes of option space.

6400 Computer TCP/IP Client User’s Guide

2-37

Page 64

6400 TCP/IP Client

SECTION 2

-x 3 dest1...destn

Specifies that time stamps will be filled in only by designated routers (including the final host on the route). Each recorded time stamp takes 8 bytes of option space.

-z

Specifies quiet mode, which reports success or failure rather than full statistics. Displays and explains the usage line of this command. Displays the version and patch level of this command. Refer to this information if you call Technical Support.

-? -version

EXAMPLE 1:

To send an echo request to the host lee.xyz.com and display network debugging information, enter:

C:\>ping lee.xyz.com host responding, time = 25 ms Debugging information for interface ifcust Addr(6): 00 00 c0 ea 93 10 interrupts: 49 (0 receive, 0 transmit) packets received: 42, transmitted: 7 receive errors: 0, unknown types: 14 runts: 0, aligns: 0, CRC: 0, parity: 0, overflow: 0 too big: 0, out of buffers: 0, rcv timeout: 0, rec reset: 0 transmit errors: 0 collisions: 0, underflows: 0, timeouts: 0, resets: 0 lost crs: 0, heartbeat failed: 0 ARP statistics: arps received: 9 (7 requests, 2 replies) bad: opcodes: 0, hardware type: 0, protocol type: 0 arps transmitted: 2 (2 requests, 0 replies) 3 large buffers; 2 free now; minimum of 0 free 3 small buffers; 3 free now; minimum of 1 free

2-38

6400 Computer TCP/IP Client User’s Guide

Page 65

SECTION 2

EXAMPLE 1:

6400 TCP/IP Client

To easily view statistics on your 6400 computer’s small display, enter: C:\>ping –z –n 5 godzilla.xyz.com host responding, time = 25 ms host responding, time = 25 ms host responding, time = 25 ms host responding, time = 25 ms host responding, time = 25 ms Pinged host 5 times with 0 failures, round-trip average (ms) = 25

EXAMPLE 2:

To trace the route an echo request takes to get to a target host, enter: C:\>ping –q 128.127.53.118 hop 1:128.127.55.10 router–55.xyz.com hop 2:128.127.52.7 router–52.xyz.com hop 3:128.127.53.11 router–53.xyz.com Target (128.127.53.118) reached on hop 4, round-trip time 160 ms.

SEE ALSO:

Inet (page 2-27).

Setclock " NOTE:

This command works only with network time servers.

setclock [time_server] The setclock command obtains the date and time from a network time server, and sets your 6400 computer's time and date. time_server

Specifies the hostname or IP address of the remote host that provides UDP time service.

6400 Computer TCP/IP Client User’s Guide

2-39

Page 66

6400 TCP/IP Client

SECTION 2

Sharing Files The following pages describe usage and command line options for these DOS commands: "

Ftp

"

Tftp

Ftp ftp [-d] [-u userid password] [-p port_no] [host] [command] The ftp command transfers files between your 6400 computer and remote hosts running an FTP server. This command is the easiest to use for transferring files between hosts. command

Specifies an ftp interactive command.

-d

Displays all ftp network commands and responses sent over the ftp control connection. This option displays your password after you enter it.

host

Specifies the hostname or IP address of the remote host. Specifies a port number on the remote host. Logs you in to the remote host using your username and password.

-p port_no -u userid password

2-40

6400 Computer TCP/IP Client User’s Guide