User guide
Software update SwUpdate module
iMG/RG Software Reference Manual (System Configuration)
1-62
FIGURE 1-7 Normal SwUpdate operation mode
In order to inform the SwUpdate module about which files it must download from the FTP/TFTP server, a spe-
cial file named MD5SUM must be created on the FTP/TFTP server.
When the SwUpdate module connects to the FTP/TFTP server, it retrieves immediately this file and then it
downloads each file reported in this list.
The MD5SUM file is a list of filenames where each file name has associated the MD5 value.
To create the MD5SUM file it's possible use the md5sum command available under standard Linux platforms
(free md5sum applications are available also under Windows™ Operating System).
If a file reported in the MD5SUM list is already present into the gateway file-system with the same MD5 value,
the SwUpdate skip this download, otherwise it will download it.
Example
Assuming the all the files included in the current directory must be downloaded into the gateway; the following
command must be used to generate the MD5SUM file:
root# md5sum * > MD5SUM
the MD5SUM file will list the following informations:
DNS
Server
Residential
Gateway
DNS Lookup:
<FTP server hostname>
Unit
Restart
Retrieve FTP list file: MD5SUM
FTP fileS: image, derivedata.dat, im.conf, ...
FTP
Server
NULL
Unit
Bootstrap