This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:keros_custo:upgrade_major_version [2022/10/25 14:32] ehe [Default custom liveburner for version 5.5.4] |
wiki:keros_custo:upgrade_major_version [2023/11/30 17:07] (current) dlr [Build your own 5.7.2 custom liveburner (experienced user)] |
||
---|---|---|---|
Line 6: | Line 6: | ||
This page provides: | This page provides: | ||
- | * A custom liveburner to upgrade the firmware from version 4.3.3 to version 5.5.4 preserving network, LoRa, and WMC configuration. | + | * A custom liveburner to upgrade the firmware from version 4.3.3 to version 5.7.2 preserving network, LoRa, and WMC configuration. |
* A tool to customize a liveburner to add some additional packages during the upgrade. | * A tool to customize a liveburner to add some additional packages during the upgrade. | ||
Line 12: | Line 12: | ||
- | ===== Default custom liveburner for version 5.5.4 ===== | + | ===== Default custom liveburner for version 5.7.2 ===== |
A custom liveburner has been generated to save usual configuration files: | A custom liveburner has been generated to save usual configuration files: | ||
Line 21: | Line 21: | ||
* Secrets and OpenVPN configuration (for Wanesy Management Center customers) | * Secrets and OpenVPN configuration (for Wanesy Management Center customers) | ||
- | To upgrade your gateway from version 4.3.3 to version 5.5.4 with this configuration files preservation, use the custom liveburner file **custom-liveburner_5.5.4_klkgw-signed.ipk** available in the [[wiki:firmware:release_5.5.4 | 5.5.4 release]] page. To upgrade your system, follow the software update process [[wiki:keros_custo:sw_updates|here]]. | + | To upgrade your gateway from version 4.3.3 to version 5.7.2 with this configuration files preservation, use the custom liveburner file **custom-liveburner_5.7.2_klkgw-signed.ipk** available in the [[wiki:firmware:release_5.7 | 5.7.2 release]] page. To upgrade your system, follow the software update process [[wiki:keros_custo:sw_updates|here]]. |
This custom liveburner can be used to upgrade a gateway without WMC connection. In this case, OpenVPN and BSCC configurations are ignored. Network and LoRa configuration will be saved. | This custom liveburner can be used to upgrade a gateway without WMC connection. In this case, OpenVPN and BSCC configurations are ignored. Network and LoRa configuration will be saved. | ||
Line 30: | Line 30: | ||
If your gateway has a firmware version < 4.3.3, it is mandatory to upgrade your firmware to version 4.3.3 before to upgrade it to firmware version 5.x.</note> | If your gateway has a firmware version < 4.3.3, it is mandatory to upgrade your firmware to version 4.3.3 before to upgrade it to firmware version 5.x.</note> | ||
- | <note important>For gateways connected to the WMC (Wanesy Management Center): To reinstall the OpenVPN secrets after the 5.5.4 upgrade, the custom liveburner needs an internet connection to request the OpenVPN certificates to the Kerlink server.</note> | + | <note important>For gateways connected to the WMC (Wanesy Management Center): To reinstall the OpenVPN secrets after the 5.7.2 upgrade, the custom liveburner needs an internet connection to request the OpenVPN certificates to the Kerlink server.</note> |
- | ===== Build your own 5.5.4 custom liveburner (experienced user) ===== | + | ===== Build your own 5.7.2 custom liveburner (experienced user) ===== |
++++click here| | ++++click here| | ||
Line 53: | Line 53: | ||
* A desktop Linux machine (native or virtual). //=> It will be used to build the ''liveburner'' package.// | * A desktop Linux machine (native or virtual). //=> It will be used to build the ''liveburner'' package.// | ||
- | * The KerOS liveburner 5.5.4 package available in the [[wiki:firmware:release_5.5.4 | 5.5.4 release]] page. | + | * The KerOS liveburner 5.5.4 package available in the [[wiki:firmware:release_5.7 | 5.7.2 release]] page. |
- | * The ''update_liveburner_package-v5.5.4.tar.gz'' tool available in the [[wiki:firmware:release_5.5.4 | 5.5.4 release]] page. | + | * The ''update_liveburner_package-v5.5.4.tar.gz'' tool available in the [[wiki:firmware:release_5.7 | 5.7.2 release]] page. |
* The following packages: <code bash>sudo apt-get install device-tree-compiler cpio binutils tree</code> | * The following packages: <code bash>sudo apt-get install device-tree-compiler cpio binutils tree</code> | ||
Line 159: | Line 159: | ||
Then you can launch a generation of ''custom liveburner'' using the following command: | Then you can launch a generation of ''custom liveburner'' using the following command: | ||
<code bash> | <code bash> | ||
- | #./update_liveburner.sh liveburner_5.5.4_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot | + | #./update_liveburner.sh liveburner_5.7.2_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot |
- | Liveburner custom-liveburner_5.5.4_klkgw-signed.ipk created | + | Liveburner custom-liveburner_5.7.2_klkgw-signed.ipk created |
</code> | </code> | ||
Line 166: | Line 166: | ||
<note tip>It is possible to add some information in the description of the package by adding ''-m my_information''. This information will be added in the CONTROL file of the package that you can read using the ''show_ipk_infos.sh'' tool. | <note tip>It is possible to add some information in the description of the package by adding ''-m my_information''. This information will be added in the CONTROL file of the package that you can read using the ''show_ipk_infos.sh'' tool. | ||
<code bash> | <code bash> | ||
- | ./update_liveburner.sh -m my_information liveburner_5.5.4_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot | + | ./update_liveburner.sh -m my_information liveburner_5.7.2_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot |
</code></note> | </code></note> | ||
Line 175: | Line 175: | ||
* Additional packages (ex: my_package.ipk) can be installed simply by adding them as arguments when generating the custom liveburner: | * Additional packages (ex: my_package.ipk) can be installed simply by adding them as arguments when generating the custom liveburner: | ||
<code bash> | <code bash> | ||
- | ./update_liveburner.sh liveburner_5.5.4_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot my_package.ipk | + | ./update_liveburner.sh liveburner_5.7.2_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot my_package.ipk |
</code> | </code> | ||