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 12 of 24

6710 Mobile Bridge User's Guide, pages 111 to 120

Pages 111 to 120 of 236

The original document is the PDF (1.5 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 Norand 6710

Page 111

SECTION 5

"

Software Download

The File Menu appears: Loading configuration from EEPROM Command Fb Fd Fdel Fe Tftp Script SDVars Exit

Description fb <boot segment> <data segment> fd (<segment> | all) - directory list fdel <filename> - delete file fe (<segment> | all) - erase segment(s) File transfer Execute script files Software download variables Return to main menu

File>

Fb Command Use Fb to make inactive segments active. The format is: File>fb <boot segment> <data segment> <boot segment> is the name or number of the boot segment to be activated. Boot segments are 1 and 2, or AB (active boot) and IB (inactive boot). " <data segment> is the name or number of the data segment to be activated. Data segments are 3 and 4, or AD (active data) and ID (inactive data).

"

EXAMPLE 1:

This command makes segment 1 the active boot segment: File>fb 1

6710 Mobile Bridge User’s Guide

5-5

Page 112

SECTION 5

"

EXAMPLE 2:

Software Download

This command makes segment 1 the active boot segment and segment 4 the active data segment: File>fb 1 4

You can use an asterisk (*) in place of either <boot segment> or <data segment> to tell the 6710 Mobile Bridge to not change that segment. For example, this command leaves the active boot segment unchanged and changes the active data segment to 4: File>fb * 4: This can also be accomplished by: File>fb ab: 4: " NOTE:

Colons are optional but you can use them for better command consistency.

Fd Command Use Fd to display the FLASH file system directory, including information about the boot file. For example: Boot File=MSD29.BIN Boot Address=250ef0 Boot Segment=1 Data Segment=3

<FLASH boot file> <boot file’s starting address> <active boot segment> <active data segment>

File Directory:

seg type length date

MSD29.BIN

R

E

279299

03-17-98 15:25:58 v01.31

MSD29.BIN

1

E

279299

03-17-98 15:25:58 v01.31

5-6

6710 Mobile Bridge User’s Guide time ver

Page 113

SECTION 5

"

Software Download

Following are field descriptions: “File Directory name” lists the names of all files currently loaded in FLASH. " “seg” is the segment in which the boot file is loaded. (R indicates the RAM segment.) " “type” is the type of file: E for executable (boot file), D for data. "

“length” is the file size in bytes. " “date” and “time” are the date and time the file was created. "

“ver” is the file version number in the format vxx.xx. You should use the Fd command often to ensure that the correct version of FLASH file MSD29.BIN is in the active boot segment. "

" NOTE:

If the active segment contains no files when you reboot the 6710 Mobile Bridge, the unit enters the ROM command monitor and you lose the ability to Telnet to it during this session. In this case you must access the unit through its DIAG port to correct the problem.

Fdel Command Fdel deletes the file name from the 6710 Mobile Bridge file system. When you delete a file, it is marked as invalid but remains in the file system. To reclaim the space from a deleted file, you must erase the segment in which the file resides. The command’s format is: File>fdel <file name> EXAMPLE:

This command deletes the file MSD29.BIN saved in the inactive boot drive: File>fdel ib:MSD29.BIN 6710 Mobile Bridge User’s Guide

5-7

Page 114

SECTION 5

"

Software Download

Fe Command Fe erases files in a specified segment of FLASH memory. Once you have erased the files, you can restore them only by reloading them from another source. The command’s format is: File>fe <segment> <segment> is a segment number, a segment name, or the word “all.” Specifying “all” erases all FLASH file segments but does not erase the RAM segment. EXAMPLE 1:

This command erases FLASH segment 1: File>fe 1:

EXAMPLE 2:

This command erases the inactive boot segment: File>fe ib:

TFTP Command Use the Tftp command to display the following screen: Argument Get Put Server ?

Description Get <host IP addr> <foreign File> <local File> Put <host IP addr> <foreign File> <local File> Start/Stop/Query TFTP Server Display this help

File>

A 6710 Mobile Bridge (client) can obtain files from a TFTP server. The server may be one 6710 Mobile Bridge configured to act as the server, or another device on the network. The server must operate in octet (8 bit) mode. 5-8

6710 Mobile Bridge User’s Guide

Page 115

SECTION 5

"

Software Download

As a server, the 6710 Mobile Bridge can service read and write requests from a 6710 Mobile Bridge client. To operate as a TFTP server, the 6710 Mobile Bridge must be loaded with these software versions: " ROM version 1.14 or greater " FLASH (MSD29.BIN) version 1.31 or greater " As a client, the 6710 Mobile Bridge can read files from and write files to any TFTP server on the network. The client always requests octet mode. In general, TFTP client sessions should fail only if the server is not responding because it is busy serving other clients or because it has not been started. In either case, the 6710 Mobile Bridge back-off algorithm should prevent excessive network traffic when many 6710 Mobile Bridges are trying to contact a TFTP server. When you type TFTP client commands at the command line, the 6710 Mobile Bridge does not retry failed transfers. "

" NOTE:

Near the end of this section is a detailed example of how to use TFTP to upgrade a 6710 Mobile Bridge with a new version of FLASH. The example incorporates most of the TFTP commands.

TFTP Server Use the Server command to display TFTP commands. The format is: File>tftp server These commands are supported: Help for Server command: Argument Description Start Start TFTP server Stop Stop TFTP server Log Display TFTP server message log ? Display this help File>

6710 Mobile Bridge User’s Guide

5-9

Page 116

SECTION 5

"

Software Download

Server Start Use Server Start to enable the 6710 Mobile Bridge as a TFTP server. The format is: File>tftp server start After you issue this command, the 6710 Mobile Bridge responds to TFTP client requests directed to its IP address. When acting as a server, the 6710 Mobile Bridge TFTP supports up to four concurrent TFTP sessions.

Server Stop Use Server Stop to stop the 6710 Mobile Bridge from being a TFTP server when you are done transferring files. The format is: File>tftp server stop After you issue this command, the 6710 Mobile Bridge no longer responds to TFTP client requests. Current TFTP sessions with the server are completed, however.

Server Log Server Log saves a history of TFTP client requests: File>tftp server log The TFTP server log contains useful TFTP server status information starting from when you set up the server. You must reboot the 6710 Mobile Bridge to clear the log.

TFTP Client Commands The TFTP client in the 6710 Mobile Bridge supports standard Get and Put commands.

5-10

6710 Mobile Bridge User’s Guide

Page 117

SECTION 5

"

Software Download

Get Use Get on a 6710 Mobile Bridge client to download software from a TFTP server (a PC or another 6710 Mobile Bridge). The format is: File>tftp get <ip address> <foreign file name> <local file name> <ip address> is the IP address of the server (or “*” which indicates the value of the ServerIpAddress variable, described later in this section). " <foreign file name> is the name of the file to get from the server. The file name can contain directory path information and must be in the format required by the server’s operating system. The file must have an appropriate 29K file header. Boot files and data files are normally delivered with the proper file header attached, but script files you create must have the file header appended before transfer to a 6710 Mobile Bridge.

"

"

EXAMPLE 1:

<local file name> is the name of the file to be stored in the 6710 Mobile Bridge. The name must include a segment number or name followed by a colon and an optional file name. If only the segment name is supplied, the file name is set equal to the file name embedded in the file header.

This command line gets file MSD29.BIN from a directory on a PC server with IP address 1.2.3.4, and stores the file in the 6710 Mobile Bridge’s inactive boot segment: File>tftp get 1.2.3.4 c:\flash\ap\MSD29.BIN ib:

6710 Mobile Bridge User’s Guide

5-11

Page 118

SECTION 5

"

EXAMPLE 2:

Software Download

This command line gets file MSD29.BIN from segment 2 on the 6710 Mobile Bridge server with IP address 1.2.3.4, and puts the file in segment 1 on the 6710 Mobile Bridge client: File>tftp get 1.2.3.4 2:MSD29.BIN 1:

Put Use Put on a 6710 Mobile Bridge client to copy a file to the server (a PC or another 6710 Mobile Bridge). The format is: File>tftp put <ip address> <foreign file name> <local file name> <ip address> is the IP address of the server, or “*” which stands for the value of the ServerIpAddress variable (described on page 5-18). " <foreign file name> 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 operating system running on the server. " <local file name> is the name of the file to be sent from the 6710 Mobile Bridge client. "

EXAMPLE:

This command takes boot file MSD29.BIN saved in the active boot drive on the 6710 Mobile Bridge client, and stores it in the active boot segment on the 6710 Mobile Bridge server with IP address 1.2.3.4: File>tftp put 1.2.3.4 MSD29.BIN ab:

Script Command You can initiate an automatic software download through SNMP by setting the appropriate server IP address and script file name, and then setting the software download time.

5-12

6710 Mobile Bridge User’s Guide

Page 119

SECTION 5

"

Software Download

The following two commands execute automatically as if you had typed them on the command line: File>tftp get * <remote script file name> ram:sysswd1 File>script ram:sysswd1 The first command establishes a TFTP session with the server, gets the script file from the server, and places the file in the RAM file segment, giving it the name “sysswdl.” The second command runs the script from the RAM segment. The script file should contain the same commands you would use from the command line to erase the appropriate file segments, download the new file(s), and reboot using the new software. To test the script file manually to ensure it functions, log onto a 6710 Mobile Bridge and type the script file commands from the command line.

Creating Script Files Script files are ASCII text files with a 32-byte file system header appended. The total file size including the 32-byte header must be less than the 4096 bytes to fit into the RAM file segment. Each script file line must be fewer than 80 characters and be terminated by a line feed or a carriage return. Only one command is permitted per line. Spaces on a line are insignificant; commands and arguments may be preceded by any number of tabs or spaces as long as the total line length is fewer than 80 characters. The script files can contain comments, designated by the “#” character. All characters on a line after a “#” are ignored.

6710 Mobile Bridge User’s Guide

5-13

Page 120

SECTION 5

"

Software Download

FHDR29K.EXE appends the file system header to the script file. Assuming the ASCII text script file is named SCRIPT.TXT, the following line appends the appropriate file header and places the output in file SCRIPT.DAT: FHDR29K -d -v1.00 SCRIPT.TXT SCRIPT.DAT “-d” marks the file as data instead of executable. This prevents the 6710 Mobile Bridge from trying to execute the file. " “-v1.00” sets the file’s version to 1.00. The file type and version appear in the directory information on the 6710 Mobile Bridge.

"

Sample Script File #This sample script file assumes the server IP address #has been set either from the command line or via SNMP. #It also assumes MSD29.BIN and the HTML configuration #files can be accessed from the server using no path #information. #Erase the inactive file segments. file fe ib: #inactive boot segment file fe id: #inactive data segment #Get the new files into the inactive segments. file tftp get 1.2.*.4 c:\flash\ap\msd29.bin ib: file tftp get 1.2.*.4 c:\flash\ap\bkgrnd.29k id: file tftp get 1.2.*.4 c:\flash\ap\help.29k id: file tftp get 1.2.*.4 c:\flash\ap\hlp.29k id: file tftp get 1.2.*.4 c:\flash\ap\intrmec.29k id: file tftp get 1.2.*.4 c:\flash\ap\menu.29k id: file tftp get 1.2.*.4 c:\flash\ap\mswelcom.29k id: file tftp get 1.2.*.4 c:\flash\ap\write.29k id: #Make the inactive segments active. file fb ib: id: #Reboot so changes take effect. reboot 5-14

6710 Mobile Bridge User’s Guide