124 VoIP Subscriber Gateways
3. Analysis of 66 and 67 options
If 43 Option from DHCP server is not received, client searches for Option 66 and extracts TFTP
server address. If Option 66 was received with Option 67, the firmware name will be extracted from
Option 67. If 67 Option is not received, both the firmware file name and configuration file will be
extracted from configuration (these parameters are displayed on the WEB-interface’s page in the
‘Firmware file name' fields (for Option 66 analysis) of the ‘System/Autoconfiguration and Configuration
file name’ menu). If these fields are empty, the attempt to load the files will be performed:
MAC_ADDRESS.cfg
MAC_ADDRESS.fw
Where MAC_ADDRESS is MAC address of the device WAN interface written by uppercase letters
after dot ‘.’ (for example, A8.F9.4B.02.20.9A.cfg и A8.F9.4B.02.20.9A.fw).
4. Configuration Update
New configuration will be applied only if its MD5-hash differs from MD5 of current
configuration.
5. Checking a firmware and mounting a disk image
After loading a firmware file, its version is checked by using ‘version’ file in tar.gz archive).
If the current firmware version corresponds to version of the file obtained via DHCP, firmware
will not be updated. Update is performed only when firmware versions are mismatched. The running
process of recording a firmware image to the flash memory of the device is indicated by the
alternating cyclical blinking of the 'Power' indicator in green, orange and red.
The functions of password encryption (if PPPoE, PPTP, L2TP protocols are used) and SIP
client encryption for authentication on SIP server have been added since firmware
version 1.8.0. ‘config.file’ file. When you prepare the config.file or *.cfg file for
autoconfiguring with changing passwords you should substitute option
'auth_pass_encrypted' 'encrypted password' to option 'auth_pass' 'password' line for
each account in the ‘/etc/config/pbx’ file. To change authentication password using
PPPoE, PPTP, L2TP, you should substitute in the /etc/config/network file
option 'pppoe_psw_encrypted' ' encrypted password'
option 'pptp_password_encrypted' ' encrypted password''
to:
option 'pppoe_psw' 'password'