Description
This article describes the firmware upgrade settings in Grandstream devices and how to analyze the Syslog when it fails.
General Settings
Go to the gateway or phone’s UI > Maintenance tab > Upgrade and Provisioning, and make sure that:
- Allow DHCP Option 43 and Option 66 to Override Server: NO (DHCP Option 66 instructs the phone to get its configuration from a different server. This option must be disabled to allow UCM’s Zero Config)
- Allow DHCP Option 120 to Override SIP Server: NO
- 3CX Auto Provision: NO
Firmware File
If you choose the upgrade the phones locally (via Web UI or local server), make sure that the firmware file is in fw.bin format.
SSH Method
Alternatively, you can try upgrading via SSH with the following commands:
- Kindly refer to the Figure 3 of the firmware upgrade guide
- On a Windows PC, open the Command Line prompt and type ssh admin@<YOUR_DEVICE_IP>
- Enter the password
- Type “config” → enter
- Type “set 192 <Your_local_HTTPServer_IP>” → enter
- Type “commit” → enter
- Type “exit” → enter
- Type “upgrade” → enter
- Type “upgrade” → enter (again)
- Type “Y” → enter
Troubleshooting
a. Capture the Syslog during Firmware Upgrade
Follow this guide to learn how to capture Syslog from the Grandstream devices.
b. Analysis
Export the Syslog from Wireshark into .txt format. You may analyze it using Notepad++
A successful firmware upgrade has the following messages in the Syslog: