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 34 of 40

AT-WA7500 and AT-WA7501 Access Points Installation and User's Guide: Chapter 9, pages 289 to 298

Pages 289 to 298 of 352, from AT-WA7500 and AT-WA7501 Access Points Installation and User's Guide

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

Filed in the catalog under the Intermec WA22, Allied Telesis AT-WA7500, Allied Telesis AT-WA7501 and Intermec WA7500

Page 289

AT-WA7500 and AT-WA7501 Installation and User’s Guide foreignfilename is the name of the file on the server. The filename can contain directory path information and must be in the format required by the server operating system. The file must already have the appropriate file header before the transfer to the access point.

localfilename is the name you wish to call the file on the access point. The name must begin with a segment number or name followed by a colon. You may or may not have to specify a filename after the colon: if the file has a header, the filename is optional; if the file does not have a header, the filename is required.

Example: If the file has a header, you do not have to include a filename as part of the localfilename because the filename is set to the filename embedded in the file header on the server: TFTP GET * file.dat 1:

If the file is a transparent file (without a header), you must include a filename as part of the localfilename: TFTP GET * file.dat 1:file.dat

The following command gets file UAP.DNL from a directory on a PC server with IP address 1.2.3.4 and stores it in the flash memory segment on the access point. TFTP GET 1.2.3.4 C:\STARTUP\UAP.DNL 1:

The access point may generate these error messages when it issues a TFTP GET command. Other error messages may be returned from the server and displayed by the access point. See your server documentation for additional information. Error Message Can’t write file

Explanation The file may be too big. The file may not have an access point file header (filehdr.exe). The file name may be incorrectly formed. The file may already exist in the segment and cannot be overwritten. You must erase the file first.

289

Page 290

Chapter 9: Additional Access Point Features

Error Message

Explanation

Invalid opcode during read

This error should not occur under normal operating conditions. This error indicates a TFTP protocol error that will not occur when you use TFTP servers that conform to the protocol.

TFTP PUT Purpose: Copies a file from a TFTP client to the TFTP server or to another access point. Syntax: TFTP PUT IPaddress foreignfilename localfilename where: IPaddress is the IP address or DNS name of the server. You can use an asterisk (*) here if you want to use the value in the internal variable serveripaddress (as defined on page 293).

foreignfilename is the name of the file as it will appear on the server. The file name can contain directory path information and must be in the format required by the server operating system.

localfilename is the name of the file to be sent from the access point.

Example: The following command takes file AP824X.PRG that is saved in the active boot drive on the access point client and stores it in the flash memory segment on the access point server that has IP address 1.2.3.4. TFTP PUT 1.2.3.4 IB:AP824X.PRG 1:AP824X.PRG

The access point may generate these error messages when it issues a TFTP PUT command. Other error messages may be returned from the server and displayed by the access point. See your server documentation for additional information. Error Message Can’t read file 290

Explanation The requested file may not exist.

Page 291

AT-WA7500 and AT-WA7501 Installation and User’s Guide

Error Message

Explanation

Invalid opcode during put

This error should not occur under normal operating conditions. This error indicates a TFTP protocol error that will not occur when you use TFTP servers that conform to the protocol.

TFTP SERVER LOG Purpose: The access point can function as a TFTP server. You can use the TFTP server log command to save a history of TFTP client requests. The TFTP server log contains useful TFTP server status information. The log begins when you set up the server. To clear the log, reboot the access point. Syntax: TFTP SERVER LOG

TFTP SERVER START Purpose: Use this command to enable the access point to act as a server. You can enable one access point to act as a TFTP server and download files to additional access points. Syntax: TFTP SERVER START access where access is blank for read-only access (default), or rw for read/write access. TFTP does not require any authentication, so a read/write TFTP server is very insecure and should be used only briefly. When the access point boots, read-only access is restored. After you issue this command, the access point responds to TFTP client requests that are directed to its IP address. When acting as a server, the access point supports up to four concurrent TFTP sessions.

TFTP SERVER STOP Purpose: When you are done transferring files, you can stop the access point from being a TFTP server by using this command.

291

Page 292

Chapter 9: Additional Access Point Features

Syntax: TFTP SERVER STOP

After you issue this command, the access point no longer responds to TFTP client requests; however, current TFTP sessions with the server are allowed to complete. This table lists error messages that can be issued from the TFTP server. These messages are sent to the client and should be read from the client perspective. Error Message Explanation

292

Error Message

Explanation

TFTP server only supports octet mode

The client is attempting to transfer a file in ASCII mode. The access point TFTP server only supports octet mode, which includes binary and image.

Unable to open remote file

The TFTP server cannot open the file that is named in the read or write request. If you are trying to read a file, the file may not exist. If you are trying to write a file, the file may be too big, the file may not have an access point file header, or the file name may be incorrectly formed.

Can’t read remote file

The server returns this message if the access point file system returns an error while the server is attempting to read the file. This message is unlikely to occur.

Can’t write remote file

The server returns this message if the access point file system returns an error while the server is attempting to write the file. This message is unlikely to occur.

TFTP opcode not read or write request

This error should not occur under normal operating conditions. This error indicates that the TFTP client does not conform to the protocol.

Invalid opcode during read

This error should not occur under normal operating conditions. This error indicates that the TFTP client does not conform to the protocol.

Page 293

AT-WA7500 and AT-WA7501 Installation and User’s Guide

Using sdvars Commands

Error Message

Explanation

Invalid opcode during write

This error should not occur under normal operating conditions. This error indicates that the TFTP client does not conform to the protocol.

Use sdvars commands to manipulate certain software download variables. Sdvars commands support both GET and SET arguments. You can enter sdvars commands to GET a software download object, and then issue the sdvars command using the SET argument to assign the object a specified value. This section describes the sdvars commands using the SET argument. To execute an sdvars command using the GET argument, omit the variable from the end of the command.

sdvars set serveripaddress Purpose: Sets the internal variable called serveripaddress to a specified address. Syntax: sdvars set serveripaddress ipaddress where ipaddress is the address of the TFTP server. Example: To set the IP address of the server to 192.168.49.29, enter: sdvars set serveripaddress 192.168.49.29 sdvars set scriptfilename Purpose: Sets the internal variable scriptfilename to a specified string. The specified string should be the filename of the script to be retrieved from the TFTP server. Syntax: sdvars set scriptfilename foreignfilename where foreignfilename is a script filename on the TFTP server.

293

Page 294

Chapter 9: Additional Access Point Features

Example: To set the scriptfilename to SCRIPT.DAT, enter: sdvars set scriptfilename script.dat sdvars set starttime Purpose: Sets the internal variable starttime. Starttime is a countdown time; that is, when zero is reached, the software download process begins. Set this variable to reflect how far into the future the access point is to begin downloading and executing the script file from the TFTP server. When the timer reaches 0, the access point uses the values in serveripaddress and scriptfilename to get the script file that is to be executed. If either serveripaddress or scriptfilename contains no value, an error is noted in the status variable and the software download process is terminated. Syntax: sdvars set starttime dd:hh:mm:ss where dd:hh:mm:ss is how far in the future the reboot is to begin and dd is days.

hh is hours.

mm is minutes.

ss is seconds.

Example: To begin the script file download in 5 minutes, enter: sdvars set starttime 00:00:05:00

Note If you need to stop the download, you can do so by setting starttime to 0 if it has not already been reached by the countdown. Resetting starttime to 0 stops the timer and the download process.

sdvars set checkpoint Purpose: Sets the internal variable called checkpoint to a specified value. The checkpoint variable is useful for monitoring the progress of a script file as it 294

Page 295

AT-WA7500 and AT-WA7501 Installation and User’s Guide is executed. You can set the checkpoint variable to a different value after each script command, and then query the checkpoint value using SNMP to determine the progress of the download. Syntax: sdvars set checkpoint value where value is a whole number. Example: Consider the following script file commands: sdvars set checkpoint 1 fe 1 sdvars set checkpoint 2 TFTP get * ap824x.prg 1 sdvars set checkpoint 3 reboot

When the software download is started, you can use SNMP to query its progress by reading the checkpoint variable. If the variable has a value of 2, you know that the access point is trying to execute the TFTP get statement. If the value is 3, you know the script has completed and the reboot was executed. The value of the checkpoint variable may also be helpful in determining where an error occurred if the script fails.

sdvars set terminate Purpose: Sets the internal variable terminate to a specified value. Use terminate to stop a countdown process in the access point. If either starttime or nextpoweruptime is counting down, setting this variable stops the timer and halts the countdown process. Note You should use caution when using this command. If the script file is being downloaded or executed, setting this variable interrupts the processing and can leave the access point in an undetermined state that may require user intervention. Syntax: sdvars set terminate 295

Page 296

Chapter 9: Additional Access Point Features sdvars set setactivepointers Purpose: Sets the setactivepointers command to change inactive segments to active segments the next time the access point is rebooted. This command is usually used with the nextpoweruptime command. Syntax: sdvars set setactivepointers none/boot/data/both where: none does not change the active segments. The default is none. Also, when the reboot is completed, the access point resets this value to none.

boot changes the inactive boot segment to the active boot segment.

data changes the inactive data segment to the active data segment.

both changes both the boot and data inactive segments to the active segments.

Example: To change the inactive boot and data segments to active at the next reboot, enter: sdvars set setactivepointers both sdvars set nextpoweruptime Purpose: Sets the nextpoweruptime command to set the internal variable nextpoweruptime to a countdown time so that when 0 is reached, the access point will reboot. When the nextpoweruptime counter reaches 0, the access point checks the value of the setactivepointers variable, takes the appropriate action, and then reboots. Note If you need to terminate the reboot, you can set nextpoweruptime to 0 if it has not already been reached by the countdown. By resetting nextpoweruptime to 0, the timer stops so the access point does not reboot.

296

Page 297

AT-WA7500 and AT-WA7501 Installation and User’s Guide

Syntax: sdvars set nextpoweruptime dd:hh:mm:ss where dd:hh:mm:ss is how far in the future the reboot is to begin and dd is days.

hh is hours.

mm is minutes.

ss is seconds.

Example: To reboot the access point 2 hours from now, enter: sdvars set nextpoweruptime 00:02:00:00

297

Page 298

The text of this page cannot be shown here; see it in the PDF.