VP-12, VP-12P IP phones. Operation manual
92
4.2 System recovery after firmware update failure
If the failure occurred during the firmware update (via Web interface or DHCP-based automatic update)—for
example, you have pressed power button by accident—and the device became inoperable (Power LED is solid
red), use the following device recovery algorithm:
1. Extract the contents of the firmware archive.
2. Connect your PC to the device LAN port and specify the address for the network interface from
192.168.1.0/24 subnet.
3. Launch TFTP client on the PC (for Windows, we recommend using Tftpd32), specify 192.168.1.6 as the
remote host address and select linux.bin file from the extracted firmware archive.
4. Run the command to send the file to the remote host (
Put
command). File transfer to
VP-12(P)
should
start.
5. If the file transfer process is started, wait until it finishes, after that VP-12(P)
will write the firmware into
the memory and launch the system automatically. Write time is approximately 5 minutes. When the
device is successfully restored, the Power LED will be orange or green. Device will retain the
configuration that was used before the failure. If the device is unreachable, reset the device to default
settings.
6.
If the file transfer is not initiated, check the PC network settings for errors and try again. If you are
unable to restore the device, send it to the service centre for repairs or connect it to the device via COM
port using special adapter (if available).
4.3 Running user-defined script upon system startup
Sometimes, it is necessary to perform specific actions on the device startup that may not be specified in the
configuration file settings. For this purpose,
VP-12(P)
allows you to set the user-defined script in the
configuration file. This script may feature any desired sequence of commands.
For user-defined script execution, use the following settings section in the configuration file:
UserScript:
Enable: "0"
URL: ""
«Enable» option allows (if the value is 1) or denies (if the value is 0) execution of the script which path is
specified in the URL parameter.
Executed script may be located on the remote server or on the device itself. The script may be downloaded
from the remote server via HTTP or TFTP. Consider configuration file examples for user-defined script
execution from various sources.
1. Execution from
HTTP server
To execute the script from HTTP server, you should specify full path to file in HTTP-URL format
within URL parameter:
URL: “
http://192.168.0.250/user-script/script.sh
”
After the device startup, script.sh file located in the 'user-script' folder at 192.168.0.250 will be
downloaded automatically via HTTP from the server and executed afterwards.