Firmware_Upgrade_Guide
Firmware_Upgrade_Guide
INTRODUCTION .......................................................................................... 4
Automatic Upgrade.................................................................................................................................. 16
Firmware File Prefix and Postfix ............................................................................................................. 16
HTTP/HTTPS User Name and Password ............................................................................................... 17
Page | 2
Firmware Upgrade Guide
Table of Figures
Figure 1: Starting the HTTP server ..........................................................................................................................6
Figure 2: Selecting the firmware file to upload on the HTTP server...................................................................6
Figure 3: Uploading the firmware file to the HTTP Server ....................................................................................7
Figure 4: Firmware server path hosting the firmware file ......................................................................................7
Figure 5: Status of firmware upgrade progress ......................................................................................................8
Figure 6: XAMPP Installation Steps .........................................................................................................................9
Figure 7: XAMPP Control Panel ...............................................................................................................................9
Figure 8: Apache module started ............................................................................................................................10
Figure 9: XAMPP Directory .....................................................................................................................................10
Figure 10: Index of XAMPP files .............................................................................................................................11
Figure 11: Example of configuring the upgrade via HTTPS on GXP2170 .......................................................11
Figure 12: Downloading the TFTP server .............................................................................................................12
Figure 13: Selecting the install versions ................................................................................................................12
Figure 14: TFTP Server Installation .......................................................................................................................13
Figure 15: Interface of TFTP server .......................................................................................................................13
Figure 16: Selecting the TFTP server services ....................................................................................................14
Figure 17: Selecting the local directory containing the firmware file .................................................................14
Figure 18: Firmware file upload verification ..........................................................................................................15
Figure 19: TFTP server configuration ....................................................................................................................15
Figure 20: Example of configuring the automatic upgrade on GXP21xx ..........................................................16
Figure 21: Screenshot of Firmware file Prefix and Postfix fields .......................................................................17
Figure 22: Configuring the Firmware File Prefix ...................................................................................................17
Figure 23: Configuring the Firmware File Postfix .................................................................................................17
Figure 24: Firmware files with Prefix/Postfix values ............................................................................................17
Figure 25: Screenshot of HTTP / HTTPS Username and Password fields ......................................................18
Page | 3
Firmware Upgrade Guide
INTRODUCTION
All Grandstream products’ firmware are improved and updated on a regular basis. Latest firmware versions
are available in http://www.grandstream.com/support/firmware
Published firmware versions in Grandstream official website have passed QA tests and included new
enhancements implemented, reported issues fixes for better user experience; all changes are logged in
Release Notes documents.
Provided Firmware package is specific to a single product or product series, same as release notes
document. For example, Release_GXP16xx_1.0.3.28.zip and Release_Note_GXP16xx_1.0.3.28.pdf are
specific to GXP16XX Small Business IP Phones series.
Grandstream recommends to read Release Notes document which may include special firmware upgrade
notices and always keep your devices up-to-date by upgrading their firmware versions regularly.
This document describes steps needed to upgrade Grandstream devices firmware version and covers
following scenarios:
Page | 4
Firmware Upgrade Guide
Scenario 1: Upgrade using Grandstream Public HTTP Server
Grandstream is hosting latest firmware files in a public HTTP server so customers can use it to directly
upgrade their Grandstream devices with latest firmware. The same server hosts also BETA firmware when
available.
1. Access web interface of your device and go to Upgrade and Provisioning settings page
6. Reboot the device and wait until the upgrade process is completed.
Notes:
To upgrade using Grandstream HTTP server, the device needs to be connected to Internet.
To upgrade to BETA firmware (if available), use “firmware.grandstream.com/BETA” in step 4.
To achieve this, first download firmware files for the appropriate device model from
http://www.grandstream.com/support/firmware. Unzip downloaded package and put extracted files in the
root directory of your server.
Notes:
Devices and your server needs to be in same LAN.
If using remote server, make sure to open/redirect ports in your router, so devices can download
firmware files from it.
Reminder:
HTTP (TCP) default port is 80, HTTPS (TCP) default port is 443 and TFTP (UDP) default port is 69.
Page | 5
Firmware Upgrade Guide
A. Installing HTTP Server and Uploading Firmware File(s)
Please refer to following steps in order to download / install the HTTP server and upload the firmware:
1. Launch the install of the tool once it’s fully downloaded from the following link:
“ http://www.rejetto.com/hfs/download ”
2. Click on Run to launch the HTTP server.
3. Start the HFS server, browse to locate and select the required firmware files from your local
directories under Menu options -> Add files.
4. Choose from your local directory where the firmware files are downloaded and click Open to upload
the file(s) to your HTTP server.
Page | 6
Firmware Upgrade Guide
Figure 3: Uploading the firmware file to the HTTP Server
5. Once uploaded to the HTTP server, the firmware file will be available, in our example, on the
following link: “192.168.5.101/gxp2170fw.bin“ as shown on the screenshot below (where
192.168.5.101 is the IP address of the computer running the local HTTP server).
1. Access the web GUI of your device and navigate to “Upgrade and Provisioning” settings.
2. Make sure to select “Always Check for New Firmware”.
Page | 7
Firmware Upgrade Guide
3. Select Upgrade via HTTP
4. Enter the path of your HTTP server containing the firmware file under Firmware Server Path.
Notes:
In our example, we have configured the firmware server path as: “192.168.5.101“.
Make sure to not include leading http:// in HTTP Firmware server path.
5. Press Save and Apply at the bottom of the page to apply the new settings
6. Reboot the device and wait until the upgrade process is completed.
You can also verify the status of the upgrade progress on the HFS Server as displayed on the following
screenshots:
Page | 8
Firmware Upgrade Guide
A. Installing HTTPS Server
1. Download appropriate version depending on your platform.
2. Launch the install of the XAMPP server once it’s fully downloaded and follow the installation steps
by clicking on Next button.
Page | 9
Firmware Upgrade Guide
B. Uploading firmware file(s) to XAMPP HTTPS Server
1. Start Apache module in order to use the HTTPS server.
1. Access the XAMPP root directory on your computer and put the firmware files on the following
directory: “C:\xampp\htdocs\xampp“
2. To list available firmware files on the root directory, access local link address
(https://127.0.0.1/xampp/) from computer running HTTPS server.
P a g e | 10
Firmware Upgrade Guide
Figure 10: Index of XAMPP Files
Note: XAMPP has a built-in SSL certificates for HTTPS access, if users need to change the certificates,
this can be done by copy/paste generated certificates on the following folder: “ C:\xampp\apache\conf “ .
This folder contains 3 sub directories (ssl.crt, ssl.csr, ssl.key) where to put SSL certificates.
1. Access the web GUI of your device and navigate to “Upgrade and Provisioning” settings:
2. Make sure to select “Always Check for New Firmware”.
3. Select Upgrade via HTTPS.
4. Enter HTTPS server URL containing the firmware file in “Firmware Server Path” field.
Example: (x.x.x.x/xampp) where x.x.x.x is the IP address of computer running XAMPP.
5. Press “Save and Apply” at the bottom of the page to apply the new settings
6. Reboot the device and wait until firmware upgrade process is completed.
P a g e | 11
Firmware Upgrade Guide
3. Local Upgrade via TFTP Server
To upgrade locally using TFTP protocol, users can download and install a free TFTP server as described
in below steps.
A. Installing the TFTP Server
A free windows version TFTP server is available for download from following link: http://tftpd32.jounin.net/
1. Select which version is appropriate for your computer, and start downloading it.
2. Launch the TFTP server install and click on “next” buttons to continue the installation.
P a g e | 12
Firmware Upgrade Guide
Figure 14: TFTP Server Installation
P a g e | 13
Firmware Upgrade Guide
Figure 16: Selecting TFTP Server Services
2. Browse to locate and select the required firmware from your local system.
3. Press Show Dir to see if the firmware file is uploaded on the TFTP server.
P a g e | 14
Firmware Upgrade Guide
Figure 18: Firmware File Upload Verification
4. Select the interface of the computer running the TFTP server on Server Interfaces.
P a g e | 15
Firmware Upgrade Guide
C. Configuring Grandstream devices for local TFTP upgrade
Now you need to configure your Grandstream devices for upgrading via your TFTP server, for this you
need to follow the steps below:
1- Access the web GUI of your device and navigate to “Upgrade and Provisioning” settings:
2- Make sure to select “Always Check for New Firmware”
3- Select Upgrade via TFTP
4- Enter the path of your TFTP server containing the firmware file under “Firmware Server Path”
5- Press “Save and Apply” at the bottom of the page to apply the new settings
6- Reboot the phone and until the upgrade process is completed.
ADVANCED OPTIONS
Automatic Upgrade
Automatic Upgrade allows to periodically check if a newer firmware is available to download and upgrade
the device. This option will help to keep the devices up-to-date.
Automatic Upgrade can be enabled from web configuration interface -> Upgrade and provisioning
settings.
Every week (“Hour of the Day” and “Day of the Week” should be configured, 0 is Sunday)
If the firmware is available, it will be downloaded and the device will be upgraded automatically.
P a g e | 16
Firmware Upgrade Guide
Figure 21: Screenshot of Firmware file Prefix and Postfix fields
If Firmware File Postfix is set to 1.0.2.22 on GXP1600 series phone, for example, requested
firmware file will be gxp1600fw.bin1.0.2.22
P a g e | 17
Firmware Upgrade Guide
request including configured HTTP/HTTPS User Name and Password, if accepted, firmware upgrade
process can start.
If Always Authenticate Before Challenge is set to “Yes”, the phone includes configured credentials in
initial request to download firmware files before being challenged by the server. The default setting is “No”.
P a g e | 18
Firmware Upgrade Guide