Description:

This article describes how to perform a firmware update for LANCOM devices that have a large difference between the versions of the old and new firmware (e.g. updating from LCOS 8.x to LCOS 10.x).

Newer LCOS versions contain converters that adapt configuration parameters that you have modified into parameters that are suitable for the newer LCOS version. For a direct LCOS update that jumps several versions (e.g. from LCOS 8.x to LCOS 10.x), these converters modify the configuration of the LANCOM device cumulatively.

It is not possible to use a converter to derive a firmware downgrade.

Converters do not modify default settings that have different parameters in newer LCOS versions. This ensures that common default parameters (e.g. default encryption algorithms used for a VPN connection) stay unchanged after an LCOS update, i.e. so that VPN connections will continue to function.

Following an LCOS update, the default settings of a new LCOS version only come into effect after the device is reset to its factory settings.

LANCOM Systems recommends that you save the existing configuration of the LANCOM device to a script file before performing the factory reset. After the factory reset, the file should be imported and then checked (see step 4).

This procedure is described below.


Requirements:


Procedure:

1) Creating a script backup:

A script backup can be performed with either LANconfig or WEBconfig. Both approaches are described here.


1.1) Creating a script backup with LANconfig:

1.1.1) Select the router in LANconfig, right-click on it and, from the context menu, choose Configuration management → Save script as file.

Image displaying a user interface with various configuration options including Setup Wizard, Quick Rollback, Firmware Management, and options for linking a device to a management cloud, as well as monitoring device temperature.

1.1.2) Retain the default values, i.e. only the Column names and Comments are selected.

Be sure not to select the Default parameters option! The option Column names must be set, otherwise there may be errors when transferring the configuration later. 

Another reason not to select the Default parameters option is that, in the interests of improved security, many default settings have been changed in more recent firmware versions.

An image displaying a technical configuration script interface with fields for script name, modification date, file size, and options for repeat, numeric sections, default parameters, and column names with a feature to download selected sections.


1.2) Creating a script backup by using WEBconfig:

1.2.1) Connect to the router using WEBconfig and switch to the menu File management → Save configuration script.

Screenshot of a technical configuration interface showing various options such as system information, firmware upload, and file management.

1.2.2) Use the arguments -i and -c for Parameter.

Be sure not to use the argument -d! The argument -i must be set, otherwise there may be errors when transferring the configuration later.

Another reason not to use the argument -d is that, in the interests of improved security, many default settings have been changed in more recent firmware versions.

Image of a LANCOM Systems configuration script interface showing various parameters such as InfdIfclmPATH and options like 'include default values' and 'include table field identifiers'.



2) Restoring the device factory settings:

Reset the device to its factory settings using the reset button, or from the CLI



3) Updating the firmware:

Download the latest firmware for your device from the download area and upload this to your device using either LANconfig or WEBconfig.

3.1) Firmware upload with LANconfig:

3.1.1) Select the device in LANconfig, right-click on it and, from the context menu, choose Firmware management → Upload new firmware.

You also have option to drag & drop the firmware file onto the device.

Screenshot of a technical configuration menu displaying a variety of options such as Configure, Setup Wizard, Quick Rollback, and Check for Firmware Updates, along with other monitoring and management tools for device connectivity and status.

3.1.2) Select the firmware and upload it to the device.


3.2) Firmware upload with WEBconfig:

3.2.1) Connect to the router using WEBconfig and switch to the menu File management → Perform a firmware upload.

Screenshot of a detailed system configuration menu displaying various options including system information, file management, firmware upload, certificate handling, and logout features.

3.2.2) Select the firmware and upload it to the device.

Screenshot of the LANCOM Systems firmware upload interface with options to enter the firmware file path, choose test mode upload, and set a timeout, along with buttons for starting the upload.



4) Uploading the script backup and checking for script errors:

Connect to the device using an SSH client. The CLI session outputs any script errors that occur during the import.

Alternatively, after importing the script backup you can use the CLI command show script error.

4.1) Uploading the script backup by using LANconfig:

4.1.1) Select the device in LANconfig, right-click on it and, from the context menu, choose Configuration management → Restore script from file.

You also have the option in LANconfig to drag & drop the script backup onto the device.

Image of a technical user interface displaying options such as Configure Controls, Quick Rollback, Firmware Management, Monitor Device, STE Upload Certificate or File, and Monitor WLAN Device Temporarily.

4.1.2) Select the script backup created in step 1 and upload it to the device.


4.2) Uploading the script backup with WEBconfig:

4.2.1) Connect to the router using WEBconfig and switch to the menu File management → Execute configuration script.

As of LCOS 10.40 you will find the menu in the path Extras → File management → Execute configuration script.

Image displays a technical configuration interface menu with various options including system information, file management, firmware upload, and session management tools.

4.2.2) Select the script backup created in step 1 and upload it to the device.

Screenshot of a LANCOM device configuration interface with options to enter a script file path, input a password, and start script upload.



5) Final steps:

5.1) Set a new password if this was not done already.

The main device password is not included in a script backup, so it has to be manually set afterwards.

5.2) Check that all of the required features are working as usual. Additional manual adjustments may be necessary in some cases.

5.3) If script errors are reported on the CLI (see step 4), please contact LANCOM Support. Please also attach the following information to the Support Case:

  • Specify the device model (e.g. 1781EF+).
  • Precise information about the original firmware version (e.g. 8.84 RU2) and the updated firmware version (e.g. 10.32 RU9).
  • The script backup created in step 1.
  • The output of the script errors as a text file (see step 4).