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 27 of 33

MobileLAN access System Manual: Chapter 9 - Additional Access Point Features, pages 227 to 232

Pages 227 to 232 of 281, from MobileLAN access System Manual

The original document is the PDF (11 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.

For the Intermec 2102

Page 227

Chapter 9, Additional Access Point Features

Using sdvars Commands 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. 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.

MobileLAN access System Manual

213

Page 228

Chapter 9, Additional Access Point Features sdvars set starttime (continued) 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 Example:

is seconds.

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 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 ab sdvars set checkpoint 2 TFTP get * uap.prg ab 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.

214

MobileLAN access System Manual

Page 229

Chapter 9, Additional Access Point Features 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 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:

Example:

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.

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 do so by setting nextpoweruptime to 0 if it has not already been reached by the countdown. By resetting nextpoweruptime to 0, the timer is stopped so the unit does not reboot.

MobileLAN access System Manual

215

Page 230

Chapter 9, Additional Access Point Features

Syntax:

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

hh is hours.

mm is minutes. ss Example:

is seconds.

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

Creating Script Files You can create a script file that will execute a series of commands. For example, when you upgrade the access point, you typically need to erase the appropriate file segments, download the new files, and reboot using the new software. You can create a script file to perform these commands. Script files are ASCII text files with a 32-byte file system header appended. You may need to contact your local Intermec representative for a copy of the header file called filehdr.exe. Follow these rules when creating script files: • The total file size including the header must be less than 4096 bytes, which is the size of the RAM file segment. • Each line in the script file must have fewer than 80 characters • Each line in the script file must be terminated by a line feed or carriage return. • You can only have one command per line. • You can include comments on a line by using the pound (#) sign; all characters after a pound sign are ignored. To test a script file, log onto an access point and type each of the script file commands. #Sample script file for upgrading an access point #Step 1. Delete files file sdvars set checkpoint 1 file fe ib: file fe id:

216

MobileLAN access System Manual

Page 231

Chapter 9, Additional Access Point Features

#Step 2. Get boot files file sdvars set checkpoint 2 file tftp get *\data\bootchk.dnl ib: file tftp get *\startup\uap.dnl ib: file tftp get *\startup\uapboot.dnl ib:

#Step 3. Get data files file sdvars set checkpoint 3 file tftp get *\data\bkgrnd.dnl id: file tftp get *\data\bootchk.dnl id: file tftp get *\data\discinca.dnl id: file tftp get *\data\falcon_.dnl id: file tftp get *\data\help.dnl id: file tftp get *\data\hlp.dnl id: file tftp get *\data\intermec.dnl id: file tftp get *\data\menu.dnl id: file tftp get *\data\sftdwnl.dnl id: file tftp get *\data\welcome.dnl id: file tftp get *\data\write.dnl id:

#Step 4. Set checkpoint to show completed file sdvars set checkpoint 4

MobileLAN access System Manual

217

Page 232

Chapter 9, Additional Access Point Features

218

MobileLAN access System Manual