___________________________________________________________________________________
___________________________________________________________________________________________
RG-5400 Subscriber router
143
Algorithm of identification of configuration file and firmware file URL parameters from DHCP Options
43 and 66, 67.
1.
DHCP exchange initialization
Device initializes DHCP exchange after the startup.
2.
Option 43 analysis
When Option 43 is received, suboptions with codes 5, 6, and 7 are analyzed in order to identify the
server address and the configuration and firmware file names.
3.
Option 66 analysis
If Option 43 is not received from DHCP server or it is received but the system fails to extract the server
address, Option 66 will be discovered. If the system fails to obtain the firmware file name, Option 67 will be
discovered. They are used for TFTP server address and the firmware file path extraction respectively. Next,
configuration and firmware files will be downloaded from Option 66 address via TFTP.
Special aspects of configuration updates.
Configuration file should be in
.tar.gz
format (this format is used when configuration is saved from the
web interface in the 'System' - 'Configuration management' tab). Configuration downloaded from the server
will be applied automatically and does not require device reboot.
Special aspects of firmware updates.
Firmware file should be in.tar.gz format. When the firmware file is loaded, the device unpacks it and
checks its version (using 'version' file in tar.gz archive).
If the current firmware version matches the version of the file obtained via DHCP, firmware will not be
updated. Update is performed only when firmware versions are mismatched. When the firmware image is
written into the device flash memory, the Power indicator will flash green, orange and red in succession.
Do not power off or reboot the device, when the firmware image is written into the flash memory.
These actions will interrupt the firmware update, that will lead to the device boot partition
corruption. The device will become inoperable. To restore the device operation, use the
instruction provided in Section 7
.