This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:keros_custo:sw_updates [2019/09/25 17:11] ghi [Software update over USB] |
wiki:keros_custo:sw_updates [2020/06/09 17:20] (current) ghi |
||
|---|---|---|---|
| Line 48: | Line 48: | ||
| Powering off a gateway during a major upgrade will brick it. | Powering off a gateway during a major upgrade will brick it. | ||
| </note> | </note> | ||
| + | |||
| + | ===== Software update over Web interface ===== | ||
| + | |||
| + | The following example describes how to trigger an update over network. This example uses a package meant to upgrade the firmware, however, the steps are the same for any other package. | ||
| + | |||
| + | - Connect to your gateway web interface: [[wiki:systeme_mana:webui#connect_to_the_web_interface|Web interface connection]] | ||
| + | - Go in the "Update" Menu | ||
| + | - Drag & drop your ipk file and click on UPDATE GATEWAY. | ||
| + | - A reboot is required to finalize the update, click on REBOOT GATEWAY. | ||
| ===== Software update over Network ===== | ===== Software update over Network ===== | ||
| Line 55: | Line 64: | ||
| - Transfer the KerOS package corresponding to the new firmware in this directory: <code bash> | - Transfer the KerOS package corresponding to the new firmware in this directory: <code bash> | ||
| # From a computer: | # From a computer: | ||
| - | scp keros_2.0.4.ipk root@<ip_address>:/user/.updates/ | + | scp keros_4.1.6_klkgw-signed.ipk root@<ip_address>:/user/.updates/ |
| </code> | </code> | ||
| - Ensure file is correctly written: <code bash># On the gateway: | - Ensure file is correctly written: <code bash># On the gateway: | ||
| Line 79: | Line 88: | ||
| * ''keros_x.y.z.ipk'': the update package | * ''keros_x.y.z.ipk'': the update package | ||
| - Plug the USB key on the CPU board. | - Plug the USB key on the CPU board. | ||
| - | - Wait for status LED fast blinking. Refer to this [[wiki:peripherals|page]] to know where is status LED on your gateway. | + | - Wait for status LED fast blinking. Refer to this [[wiki:systeme_mana:peripherals|page]] to know where is status LED on your gateway. |
| - Unplug the USB key. | - Unplug the USB key. | ||
| - Wait for status LED to be on. | - Wait for status LED to be on. | ||
| Line 88: | Line 97: | ||
| ''usbkey.txt'' is a security file. It includes the password of "usbuser" user. \\ | ''usbkey.txt'' is a security file. It includes the password of "usbuser" user. \\ | ||
| - | Find information about the usbuser password in the [[wiki:connection_credentials#default_password|credential chapter]]. | + | Find information about the usbuser password in the [[wiki:systeme_mana:connection_credentials#default_password|credential chapter]]. |
| In case of consecutive updates on few boards, ''usbkey.txt'' can include multiple passwords (limited to 100). One password per line. | In case of consecutive updates on few boards, ''usbkey.txt'' can include multiple passwords (limited to 100). One password per line. | ||
| Line 168: | Line 177: | ||
| # | # | ||
| - | # Force the system to put the packages immediatly in backup | + | # Force the system to put the packages immediately in backup |
| # | # | ||
| force_backup() | force_backup() | ||
| Line 202: | Line 211: | ||
| trigger_update | trigger_update | ||
| - | # Optional: Force the system to put the packages immediatly in backup | + | # Optional: Force the system to put the packages immediately in backup |
| #force_backup | #force_backup | ||