The text of a manual · part 9 of 20
6400 Computer TCP/IP Client User's Guide: Section 2, 6400 TCP/IP Client, pages 67 to 76
Pages 67 to 76 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 67
SECTION 2
6400 TCP/IP Client
Setting Up and Ending Ftp Sessions Use
To acct [account_name]
Change to another account.
bye, exit, or quit
End session and exit from ftp.
close or disconnect
Close a connection without leaving the FTP client. Display help from the FTP server. Restart the login procedure.
help or ? [command] login or user user open [hostname] [port_no]
Open a connection after FTP cliĆ ent has been started or after disĆ connecting from an FTP server.
take local_file
Read commands from a local file.
Debugging Ftp Use
To abort
Stop an FTP service command.
debug or verbose (on | off) Set debugging either on or off. quote or server command
Send the command verbatim.
stat
Display the state of remote host.
version
Display the version and patch level of the ftp command.
Executing DOS Commands From Ftp Use
To
! [command]
Switch to a nested DOS command interpretĆ er or execute a single DOS command. Return to the ftp session from a nested DOS command interpreter.
exit
6400 Computer TCP/IP Client User’s Guide
2-41
Page 68
6400 TCP/IP Client
SECTION 2
Transferring Files With Ftp Use allocate n append local_file [reĆ mote_file] delete filename get remote_file [local_file] iget [remote_file local_file] iput [local_file remote_file] mdelete pattern_wildcard mget pattern_wildcard mput pattern_wildcard passive put local_file [remote_file] reinit rename [old_name new_name] show filename site free tget [remote_file local_file] tput [local_file remote_file]
2-42
6400 Computer TCP/IP Client User’s Guide
To Allocate storage for a forthcoming transfer. Append local file to remote file. Delete remote file. Transfer a file to your 6400 comĆ puter. Transfer a file to your 6400 comĆ puter using image (binary) type. Transfer a file to the remote host using image type. Delete multiple remote files. Transfer multiple files to your 6400 computer. Transfer multiple files to the remote machine. Transfer the next file in passive mode. Transfer a file to the remote host. Reset a connection to its initial state following a file transfer. Rename a remote file. Display a remote file. Find out how many bytes of space are available on the FTP server. Transfer a file to your 6400 comĆ puter using tenex type. Transfer a file to the remote host using tenex type.
Page 69
SECTION 2
6400 TCP/IP Client
Working in Directories Use
To cd or fcd path
Change current remote directory.
dir or fdir [argument [filename]]
List the contents of the current directory on the remote machine (sending the results to a file).
drive driveletter
Change the current local drive.
lcd local_directory
Change the current local directory.
lmkdir directory_name
Create a new local directory.
lpwd
Display the pathname of the current local directory. ls or ldir [path\filename] List only files in the remote directory (sending results to a file). mkdir directory_name Create a new remote directory. parent pwd or fpwd rmdir directory_name
Change the current remote directory to its parent directory. Display the pathname of the current remote directory. Delete a remote directory.
6400 Computer TCP/IP Client User’s Guide
2-43
Page 70
6400 TCP/IP Client
SECTION 2
Resetting Options Use
To ascii [nonprint | telnet | carriage] binary, image, local n or tenex mount pathname
Set the transfer mode to ASCII (text). Set the transfer mode to binary.
option
Change the server's file system mount information. Display current option settings.
option ask (on | off) or option prompt (on | off) option casehack (on | off)
Prompt or do not prompt before each transfer. Default: off. Create or do not create filenames in the specified case. Default: on.
option hash (on | off | n) or hash (on | off | n)
Display or do not display a number sign (#) each time data is read from the network. Default: off. Prevent or do not prevent the display from scrolling off the screen. Default: off. Use n to specify the number of lines to display.
option page (on | n | off)
option pathhack (on | off) Remove or keep path for a destination filename. Default: on. sunique [on | off] type (ascii | binary | image | tenex)
2-44
6400 Computer TCP/IP Client User’s Guide
Store a file on a server with a unique filename. Display or set the transfer mode.
Page 71
SECTION 2
6400 TCP/IP Client
Tftp tftp (get | overwrite| put) local_file host remote_file [image] tftp serve The tftp command transfers a single file between your 6400 computer and a remote TFTP server, without requiring authentication. get image
Transfers a file from a remote machine to your 6400 computer. Specifies the hostname or IP address of the remote host. Transfers a binary file.
local_file
Specifies a local 6400 computer filename.
overwrite put
Overwrites the existing local file on your 6400 computer. Transfers a file to the remote machine.
remote_file
Specifies a remote filename.
serve
Starts a TFTP server on a local 6400 computer.
host
To end the server program, use the interactive command q.
6400 Computer TCP/IP Client User’s Guide
2-45
Page 72
6400 TCP/IP Client
SECTION 2
Using DHCP and Bootp for IP Configuration You can use the DHCP and Bootp programs to obtain a 6400 computer's network configuration from a server each time you start your 6400 computer, regardless of its location. To get configuration information from a server, the network administrator must have set up a DHCP or Bootp server. The setup determines which protocol you use. DHCP is usually preferred because it is more flexible. By centralizing administration for several 6400 computers, this method of configuration makes information easier to update.
DHCP and Bootp Clients DHCP provides a simple and reliable way for you to configure 6400 computers from a server. DHCP centralizes TCP/IP configuration, manages the location of static and dynamic IP addresses, and automates much of the configuration process. DHCP can configure any parameter needed for a 6400 TCP/IP client. DHCP simplifies 6400 computer configuration by allowing your 6400 computer, as a DHCP client, to access network configurations with common characteristics that are shared across multiple 6400 computers. DHCP is an extension of Bootp and can interoperate with Bootp participants. The DHCP client can get network information from either a Bootp server or a DHCP server. When a DHCP or a Bootp client program starts on your 6400 computer, the program sends a broadcast request for configuration information (such as an IP address and the addresses of network resources, such as printers, servers, routers, and so forth) out to the network.
2-46
6400 Computer TCP/IP Client User’s Guide
Page 73
SECTION 2
6400 TCP/IP Client
If a DHCP or Bootp server is available, the server responds to the client request and sends configuration information to the client. The DHCP or Bootp client can also specify the address of a known server that the client wants to use for configuration. The client request may contain values for any of the items in Table 2-1. Table 2-1 DHCP Client Request Values Value MAC address
Subnet number
Client ID
Description The physical address of the 6400 computer on the network. The hardware address is guaranteed to uniquely identify the requesting client. MAC addresses are shown as hexadecimal numbers. A sample MAC address is 0x0020A633F2BA. To find the MAC address of a 6400 computer with the 2.4 GHz OpenAir radio, use the proxstat utility (see page 2-22). Note that proxstat enables you to easily view statistics on your 6400 computer's small display. You can also use the inet config command for the 2.4 GHz OpenAir or 802.11 DS radio (see page 2-29). A number derived from the incoming DHCP client request (and not specifically entered by the client). A string that uniquely identifies your 6400 computer, such as a user name.
6400 Computer TCP/IP Client User’s Guide
2-47
Page 74
6400 TCP/IP Client
SECTION 2
Table 2-1 (Continued) DHCP Client Request Values Value Client ID (continued)
Class ID
Description This value can be used in place of the MAC address to identify a client configuration so that the same configuration is issued to a client regardless of the MAC address. (This feature supports the changing of the hardware without reconfiguring the server or assigning the 6400 computer client a different IP address.) By default, the DHCP client uses a client ID based on the MAC address. A string that identifies the class to which the client belongs. A system administrator can choose to group sets of 6400 computers into separate classes, and return different configuration information for each separate class. Examples of a class would be all 6400 computers, or all machines belonging to a given department.
A DHCP or Bootp server compares the information provided in the client request to a database to select a defined configuration, called a When the server receives a request from a client, the server determines if the client has previously received configuration information and an address.
2-48
6400 Computer TCP/IP Client User’s Guide
Page 75
SECTION 2
6400 TCP/IP Client
If the Client Has previously received configuration information and an IP address Has not requested configuration information before
The Server Then Assigns the same configuration to the client. Uses the information in the client request to select a configuration.
After the server determines the configuration values and IP address, the server sends this information back to your 6400 computer. The information sent from the server includes the following: "
"
"
A set of configuration parameters, called Options define network resources (such as servers and printers) and siteĆspecific information. A set of valid values for the options (such as IP addresses for servers). An IP address that is either a predetermined, permanent address, called a static address, or an address that is dynamically allocated. Bootp servers can return only static addresses. For information about dynamic and static address allocations, see IP Addresses with DHCP" on page 2-50.
"
The duration of the lease offered by the server (if the IP address is a dynamically allocated address) that determines the length of time that you can keep the address. Bootp servers do not return a lease time, because all Bootp responses are considered to be permanent. For information about leases, see DHCP Leases" on page 2-51.
6400 Computer TCP/IP Client User’s Guide
2-49
Page 76
6400 TCP/IP Client
SECTION 2
The client uses the information it receives to update the kernel on your system. These values can change each time you start your 6400 computer. The accuracy of the value is verified every time the DHCP or Bootp client obtains or renews a lease. " NOTE:
If you have an IP address and other network configuration values set in your PCTCP.INI file and you use the DHCP or Bootp client program to get new information, the new information replaces the existing information in the kernel. These programs do not update PCTCP.INI unless the -w switch is used when the programs are started.
Assigning IP Addresses With DHCP DHCP supports the following mechanisms for IP address allocation: Dynamic: An address allocated to your 6400 computer from a pool of available IP addresses at the time of the client's request. Static: An address reserved for a specific 6400 computer. The type of address you receive is determined by the DHCP server configuration. Dynamic Address Allocation
Dynamic address allocation allows automatic reuse of an address that is no longer needed by the 6400 computer to which it was assigned. Dynamic allocation is particularly useful for a client that connects to the network only temporarily. Each dynamically allocated address has a lease associated with it that determines the length of time you can keep the address. For information about DHCP leases, see DHCP Leases" on page 2-51.
2-50
6400 Computer TCP/IP Client User’s Guide