Spectra GmbH & Co. KG
vertrieb@spectra.de
User Manual
Spectra PowerBox 100-IoT
Version 1.1
November 2017
7.4 Operating System Updates
If required, the manufacturer offers operating system updates which close the security gaps of
the operating system discovered in the meantime, provide troubleshooting with regard to the
Web interface and offer Node-Red updates.
Since the application situation of the Spectra PowerBox 100-IoT as well as the update
strategy of the user may be very different, these updates must be installed explicitly. Relating
to Node-Red, please note that there might be compatibility issues with existing flows between
the different versions and that they should be adjusted at first. Please see the Node-Red
documentation at http://nodered.org before starting the update. These are the reasons why
the updates are not installed automatically but must be started by the user.
The operating system uses the same package management mechanism as Debian (“dpkg”).
Note: Installation packages from the Debian and/or Ubuntu environment are not binary
compatible with the Spectra PowerBox 100-IoT operating system.
7.4.1 Preconditions
To use the integrated update mechanism, the Spectra PowerBox 100-IoT must be able to
connect with the update server. Either direct connection or connection via a proxy server is
possible.
7.4.2 Process
If required, updates must be installed via the console. To this end, you must switch to the root
account (“sudo –i”).
If the connection is to be run via a proxy server, there are two possible approaches:
1. If you want to use the proxy server just once, an environment variable must be set in the
console. To this end, you must run the
export http_proxy=http://<proxyadresse>:<port> command. However, after
the next system reboot, this setting is no longer set.
2. If you want a permanent proxy server entry, the following line must be entered in the file
/etc/apt/apt.conf:
Acquire::http::proxy "http://<proxyadresse>:<port>";
90