Package | md5sum |
---|---|
keros_4.3.3_klkgw-signed.ipk | 5b74d037fdd8c237655fa4cf199a7903 |
The content of this package is listed below:
Component | Version |
---|---|
keros | 4.3.3 |
bscc | included in KerOS 4.3.3 firmware |
lorasnmp | included in KerOS 4.3.3 firmware |
lorad | included in KerOS 4.3.3 firmware |
lorafwd | included in KerOS 4.3.3 firmware |
Starting from version 4.3, KerOS firmware is delivered with Kerlink Common Packet Forwarder and WMC Embedded applications. These applications are disabled by default and need to be enabled to use the gateways on WMC.
There are 3 ways to update your gateway's software:
This procedure can be used to UPGRADE from a KerOS 4.x system on a single gateway.
To update your gateway, apply the following procedure:
# From a computer: scp keros_4.3.3_klkgw-signed.ipk root@<ip_address>:/user/.updates/ scp openvpn-*.ipk root@<ip_address>:/user/.updates/
kerosd -u
rebootRefer to software update procedure for further details.
klk_apps_config --activate-wmc -s wmc-server-nameReplace 'wmc-server-name' by the server name to which the gateway should connect.
klk_apps_config --activate-wmc -s wmc-poc.wanesy.com
This procedure used for automatic deployment can be used to UPGRADE from a KerOS 4.x system on a single or a group of gateways.
If you want to install this software from a KerOS 3.x, you need to install a KerOS 4.0 before upgrading your system:
SW_3.1
To update your system from a KerOS 4.x system, you will need to create 2 USB sticks:
The first USB stick will install the firmware 4.3.3 with embedded BSCC, SNMP and CPF.
The second USB stick will configure the VPN to connect to your WMC server (klk_apps_config).
description | file | md5sum |
---|---|---|
USB stick | AUTO_DEPLOY_KEROS_4.3.3_USB_STICK_1.tar.gz | c8eee539e87b9623c36884e69fd4a6cd |
USB stick | AUTO_DEPLOY_KEROS_4.3.3_USB_STICK_2.tar.gz | 0f3ad94ba33b77e44f7275b3c8c802b4 |
The .tar.gz files provided below are “ready-to-use”. You only need to copy your OpenVPN secrets files in vpn_packages directory for the USB stick 1 and update the file 'wmc-server-name.txt' for the USB stick 2 to set your WMC server name in order the gateway to connect properly to your WMC server.
To update your gateway, apply the following procedure :
1. Deflate twice the AUTO_DEPLOY_KEROS_4.3.3_USB_STICK_1.tar.gz file to get .ipk files and put them on your USB stick in the root directory
2. Copy all files located in the folder AUTO_DEPLOY_KEROS_4.3.3_USB_STICK_X in the root directory
3. Request your VPN secret package(s) v4.3 to the Kerlink Support team: support@kerlink.fr (optional: in case of a First Install or Migration or Upgrade from FW < 4.2.2)
4. Put your VPN secrets packages of your KerOS products in the vpn_packages directory (optional: in case of a First Install or Migration or Upgrade from FW < 4.2.2))
5. Plug the first USB stick in the gateway USB slot (device must be powered on)
6. Wait for the leds blinking and unplug the USB stick from the slot
7. The system reboots
8. Wait for the end of the update
9. Deflate twice the AUTO_DEPLOY_KEROS_4.3.3_USB_STICK_2.tar.gz file to get .ipk files and put them on your USB stick in the root directory
10. Copy all files located in the folder AUTO_DEPLOY_KEROS_4.3.3_USB_STICK_2 in the root directory
11. Update the 'wmc-server-name.txt' file with the name of your wmc server in the second USB stick. Example: For the POC WMC (https://wmc-poc.wanesy.com/), the content of the file iswmc-poc.wanesy.com
.
12. Plug the second USB stick in the gateway USB slot (device must be powered on)
13. Wait for the leds blinking and unplug the USB stick from the slot
14. The system reboots
15. Wait for the end of the reboot
Refer to the specific wiki to get more details about software update over USB:
Wirnet i-series (iBTS, iFemtocell, iStation, iFemtoCell-evolution): http://wikikerlink.fr/wirnet-productline/doku.php?id=wiki:keros_custo:sw_updates#software_update_over_usb
The USB tree should contains the following files/folders:
/ └── COMMON # Common packages folder | └── keros_4.3.3_klkgw-signed.ipk # Keros v4.3.3 firmware package | ├── README.txt # This file ├── usb.autorun # executed by KerOs products when plugging the USB stick ├── usbkey.txt # USB key protection: must contain the device passwords (all of them) └── vpn_packages # WMC OpenVPN packages folder ├── openvpn_***_wmcbeta.wanesy.com_***_4.3.ipk # OpenVPN package for one KerOS product to connect to a WMC platform (here wmcbeta) ├── openvpn_***_wmcbeta.wanesy.com_***_4.3.ipk # another package for one KerOS product to connect to a WMC platform (here wmcbeta) ├── openvpn_***_wmcbeta.wanesy.com_***_4.3.ipk # ... ├── openvpn_***_wmcbeta.wanesy.com_***_4.3.ipk # ... ├── openvpn_***_wmcbeta.wanesy.com_***_4.3.ipk # ... ├── openvpn_***_wmcbeta.wanesy.com_***_4.3.ipk # ... └── openvpn_***_wmcbeta.wanesy.com_***_4.3.ipk # ...
The USB tree should contains the following files/folders:
/ ├── README.txt # This file ├── usb.autorun # executed by KerOs products when plugging the USB stick ├── usbkey.txt # USB key protection: must contain the device passwords (all of them) └── wmc-server-name.txt # WMC server name (ex: wmc-poc.wanesy.com)
This section explains how to upgrade a i-Series gateway (WIrnet iFemtoCell and WIrnet iBTS) from a KerOS 3.x to KerOS 4.3.3.
Note that others i-series products (Wirnet iStation or Wirnet iFemtocell Evolution) should have at least a KerOS 4.0 SW release.
You cannot update directly from Keros 3.x to Keros 4.3.3.
First, you need to update from Keros 3.x to Keros 4.0 and then you will be able to update to Keros 4.3.3.
To achieve this,
Get the packages from the WIKI download page: https://wikikerlink.fr/wanesy-ran/doku.php?id=wiki:wiki3:gateway_sw_3.1
Then drag & drop the packages in the drag & drop area.
Contact the Kerlink Support support@kerlink.fr and ask for a magic link “Certificate renewal” and give the serial of all your gateways you want to update.
In the magic link script provided by the Kerlink Support team, remove or comment the 'killall openvpn' command.
#!/bin/sh case $(hostname) in klk-lpbs-*) iBtsWarning="Expect 15mn. per LoRa module on your iBTS!";; *) iBtsWarning="";; esac echo echo echo ' {' echo ' { } Hello!' echo ' }_{ __{' echo ' .-{ } }-. Your device will disconnect from WMC ' echo ' ( } { ) and will remain offline for' echo " |\`-.._____..-'| several minutes." echo ' | ;--.' echo " | (__ \ ${iBtsWarning}" echo ' | | ) )' echo ' | |/ / Your device will now reboot several times.' echo ' | / /' echo ' | ( / Time for a coffee!' echo " \\ y'" echo " \`-.._____..-'" echo echo echo sleep 5 /etc/init.d/firewall stop #killall openvpn sleep 1 wget -O- https://upgrade.wanesy.com/6e9530c311763388b640bf2a982ff341 | sh
Note your magic link key won't be same (6e9530c311763388b640bf2a982ff341 is a key example).
Define 4 tasks:
Select the gateways to update.
Care that all gateways must be on the same type (iBTS or iFemtocell).
Configure the workflow like this :
custom-liveburner_4.0.2_klk-lpbs_wmc_3.1.4.ipk
(CARE TO SELECT THE RIGHT PACKAGE FOR THE RIGHT GATEWAY!) keros_4.3.3_klkgw-signed.ipk
/user/
as destinationPath and select the magic link provided by the Kerlink Support team. sh /user/magic_link_xxxxxxxxx
(the magic link script provided by the Kerlink Support team).
Task #1 is designed to update your firmware from KerOS 3.x to KerOS 4.0.
Task #2 is designed to update your firmware from KerOS 4.0 to Keros 4.3.3.
Task #3 and Task #4 are designed to use the magic link to update and renew your OpenVPN certificate if necessary.
Push the START
key to run the workflow.
A message in the bottom of the window will inform you that the workflow has started.
Check the workflow status in the Workflows menu.
So don't wait the completed status, wait about 20/30' for update to be completed and go directly to the next step.
For each gateway defined in the workflow, check that the firmware has been correctly updated to 4.3.3.
Main changes regards to the 3.2 embedded software release are listed below:
Please note that, if gateways use public IP, it also makes your gateway accessible from Internet on open SSH or HTTP ports (protected by passwords). Kerlink so recommends to change passwords as described in Connection, login and credentials