Page 91 / 998 Scroll up to view Page 86 - 90
Upgrade via Web Interface
Software update
1-59
iMG/RG Software Reference Manual (System Configuration)
iMG634xxx-recovery-x-y_z.bin to load the Recovery Application code.
After the file has been selected, the software will be uploaded and written on the device. A progress bar will
be displayed on the web interface. When the process is finished the web interface will display a “Restart”
button. Click it to restart the device and run the loaded software version.
FIGURE 1-5
The Web Interface main page
Page 92 / 998
Software update
SwUpdate module
iMG/RG Software Reference Manual (System Configuration)
1-60
FIGURE 1-6
The Web Interface Firmware Update page
1.4.3
SwUpdate module
SwUpdate
module is a basic FTP/TFTP client module running on the gateway that contacts periodically a pre-
defined FTP/TFTP server and retrieves from it the required software or support files.
SwUpdate
can retrieve the IP address of the FTP server dynamically, resolving the FTP server name through
look-up requests to an existing DNS server, or can be configured statically accordingly to network design
implementation.
When working in the TFTP mode,
SwUpdate
retrieves the TFTP Server address from the value of a specific
dhcp option (option 66 ‘tftp-server-name’) passed by the external DHCP server to the gateway IP interface. It
then uses the path passed as
filename
string to navigate into the TFTP server.
Page 93 / 998
SwUpdate module
Software update
1-61
iMG/RG Software Reference Manual (System Configuration)
In order to distinguish the correct DHCP Offer (in case more than one DHCP server is present in the net-
work), the gateway will consider only DHCP Offers that include the option 60 (‘dhcp-class-identifier’) with one
of the following possible values depending on the product code:
SwUpdate
is designed to download only the files that differ or are not present into the file-system.
Product code
Legacy RG
Product code
Ethernet Uplink
Product code
ADSL Uplink
Product code Outdoor
and Business
AT-RG613
AT-iMG606TX
AT-iMG624A
AT-iMG646MOD
AT-RG623
AT-iMG606BD
AT-iMG624B
AT-iMG626MOD
AT-RG613TXJ
AT-iMG606LH
AT-iMG634A
AT-iMG746MOD
AT-RG656
AT-iMG606SH
AT-iMG634B
AT-iMG726MOD
AT-RG613LH
AT-iMG616RF
AT-iMG634WA
AT-iBG915FX
AT-RG613SH
AT-iMG616BD
AT-iMG634WB
AT-iMG646BD-ON
AT-RG623LH
AT-iMG616LH
AT-iMG646PX-ON
AT-RG623SH
AT-iMG616SH
AT-RG613BD
AT-iMG616SRF
AT-iMG616RF+
AT-RG624A
AT-iMG616SRF+
AT-iMG624A-R2
AT-RG624B
AT-iMG616W
AT-iMG624B-R2
AT-RG634A
AT-iMG616CRFW
AT-iMG634A-R2
AT-RG634B
AT-iMG616TX
AT-iMG634B-R2
AT-RG656LH
AT-iMG634WA-R2
AT-RG656SH
AT-iMG634WB-R2
AT-RG656TX
AT-RG646BD
AT-RG613RF
Page 94 / 998
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
Page 95 / 998
SwUpdate module
Software update
1-63
iMG/RG Software Reference Manual (System Configuration)
d99f017e2652516d9146dd14f787f16e
iMG616BD-recovery-4-4_25.bin
7e722ffb74af07265b3e22d51496d1c3
iMG616BD-main-3-7-01_26.bin
d90657f8851b761d8336fbd0b34156df
snmpd.cnf.orig
ec6fc5ddc6adaa1e7943ce463de283c3
snmpinit
The above procedure is valid both for upgrade the Main Application code, the Recovery Application code and
any configuration file requested by the CPE. The swupdate module is able to detect based on the file type, on
which flash partition the file will be stored.
1.4.3.1 Start Time scheduling
It is possible set the
SwUpdate
starting time at any minute/hour/day/week of the year.
The
Start Time
command uses syntax similar to the
crontab
files syntax
The
Start Time
is composed of five time and date fields (minute, hour, day-of-month, month, day-of-week
respectively). The
SwUpdate
is started when the minute, hour and month of year fields match the current gate-
way time and when at least one of the two day fields (day-of-month or day-of-week) match the current gateway
time.
A field may be an asterisk (‘*’), which always stands for ‘first-last’.
Ranges of numbers are allowed. Ranges are two numbers separated by a hyphen. The specified range is inclusive.
For example, 8-11 for the ‘hours’ entry specifies execution at hours 8, 9, 10 and 11.
Lists are allowed. A list is a set of numbers (or ranges) separated by commas.
Examples: ‘1,2,5,9’, ‘0-4,8-12.
When the local gateway time equals the start time,
SwUpdate
executes the following actions:
It retrieves the list of files available into the non-volatile memory and for each file calculates the MD5 value.
Field
Allowed Values
M
INUTE
0-59
H
OUR
0-23
DAY
-
OF
-
MONTH
1-31
M
ONTH
1-12
DAY
-
OF
-
WEEK
0-7 (0 or 7 is Sunday)

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top