8.5 System
System
The system tab includes various properties, configurations, and settings of the system and contains the following pages:
• SYSTEM: properties and settings of the system.
• ADMINISTRATION: settings of the administration for various services.
• SOFTWARE: settings of the packages.
• STARTUP: process management.
• SCHEDULED TASKS: settings of the scheduled tasks.
• MOUNT POINTS: settings for the mount points.
• BOARD: board configuration.
• CERTIFICATE STORAGE: certificate management panel.
• LED CONFIGURATION: settings for the LEDs.
• BACKUP/FLASH FIRMWARE: management of the configuration files and firmware image upgrade.
• REBOOT: device reboot page.
System
Basic aspects of the device can be configured. These include time settings, hostname, system event logging settings, language and theme selection.
System properties
General settings of the WCC Lite device are defined as follows:
Local Time: Current local time.
Hostname: The label that is used to identify the device in the network.
Timezone: A region of the globe that observes a uniform standard time. The time zone number indicates the number of hours by which the time is shifted ahead of or behind UTC – Coordinated
Universal Time. Some zones are, however, shifted by 30 or 45 minutes.
Logging settings of the WCC Lite device are defined as follows:
System log buffer size: The amount of the records before writing these data to the disk.
External system log server: IP address of the server.
External system log server port: An endpoint of communication with the server.
External system log server protocol: A standard that defines how to establish and maintain a network connection: UDP - User Datagram Protocol, TCP - Transmission Control Protocol.
Write system log to file: The name of the file with the path to it.
Log output level: Log output messages can be grouped by their importance to the user. Levels are described in the table below.
Log output level | Description |
Emergency | System is unusable |
Alert | Action must be taken immediately |
Critical | Critical conditions |
Error | Error conditions |
Warning | Potentially hazardous conditions |
Notice | Normal conditions that might need action |
Info | Information messages |
Debug | Debugging messages |
Cron Log Level: Cron has three output levels to choose from to write to its logs. Possible options are
described in the table below.
Cron log level | Description |
Debug | Debugging messages |
Normal | General administrative messages |
Warning | Potentially hazardous conditions |
Language and Style settings are defined as follows:
Language: The language of the Web interface of the device.
Design: The theme of the Web interface of the device.
Time synchronization
WCC Lite has an NTP client to synchronize date and time with external sources. It is not the only source for synchronization, it can also be done using methods defined in IEC-60870-5 protocols.
Please take care choosing a time sync method. If both NTP and IEC 60870-5 protocol slave interface time sync methods are activated simultaneously, they can interfere if there is a time difference. We strongly recommend to use single time sync method to prevent time interference.
Time synchronization options are defined as:
Enable NTP client: The local time of the device will sync with external time servers.
Provide NTP server: Turn the device into a local NTP server.
NTP server candidates: The network time protocol servers.
Administration
Administrator password can be changed. To change it the combination of digits and letters of the alphabet should be entered and then confirmed in the confirmation field by typing in again.
It is advised not to use the default password.
Dropbear instance
WCC Lite has a compact secure shell (SSH) server named Dropbear. Multiple options are, however, available to be changed via WCC Lite web interface, ranging from automatic firewall rules to authentification flexibility.
Dropbear options are defined as follows:
Interface: Listen only on the given interface or on all, in unspecified.
Port: Specifies the listening port of this interface.
Password authentication: Allow SSH password authentication.
Allow roots logins with password: Allow the root user to login with the password.
Gateway ports: Allow remote hosts to connect to local SSH forwarded ports.
SSH-keys
SSH keys can be added via WCC Lite web interface. They might be helpful if the user logs into device frequently and does not want to always have to write his credentials.
HTTPS certificate
WCC Lite by default is shipped with a default certificate for HTTPS connection. This certificate only enables connecting to device via web interface and might cause warnings from a web browser. To eliminate them, user can use his own certificate to secure access to web interface.
User can use certificates uploaded to a certificate storage. It should be noted that only valid certificates with *.pem extension can be used. Certificate to be used is validated every time device is restarted.
If validation fails, default certificate is used. This is done to prevent user from losing device access via web interface.
For new certificate to come to effect user should restart the device.
Software
Individual packages can be installed via WCC Lite web interface. They can either be installed using web link or selected from the pre-defined feeds.
Various options can be selected when installing packages, however, default ones should work well enough and it’s advised to only change them for advanced users.
Feeds from which packages are listed for update are defined in Open PacKaGe management (OPKG) configuration that can be changed easily from user interface.
Specific distribution feeds can also be added for special cases if standard ones do not fit the needs.
Startup
All of the processes that have init.d scripts can optionally enabled or disabled. This can be very useful if user only intends to use only part of the processes.
User should not disable processes that are essential for device operation as it can render the device unusable.
User can optionally run scripts and programs on device startup by putting them into a /etc/rc.local file. This file can be updated from WCC Web interface.
Scheduled tasks
Various tasks can be scheduled with the system crontab. New tasks can be included by creating and saving new rules conforming to cron rules. WCC Lite accepts full cron configuration functionality.
Example in the pictures shows how to execute the disk usage command to get the directory sizes every 6 p.m. on the 1st through the 15th of each month. E-mail is sent to the specified email address.
Mount points
Global settings
File system mount point configuration window.
Generate Config: Find all currently attached filesystems and swap and replace configuration with defaults based on what was detected.
Anonymous Swap: Mount swap not specifically configured.
Anonymous Mount: Mount filesystems not specifically configured.
Automount Swap: Automatically mount swap on hotplug.
Automount Filesystem: Automatically mount filesystems on hotplug.
Check filesystems before mount: Automatically check filesystem for errors before mounting.
Mounted file systems
List of mounted file systems, some of which can be dismounted manually.
Mount points
List of mount points which can be enabled, disabled or deleted.
Swap
Swap section is used to describe the virtual memory that can be used if there’s a lack of main memory. WCC Lite does not use any virtual memory by default.
It should be noted that virtual memory might do a lot of reading and writing operations. As WCC Lite uses SD card as an additional flash memory, it is highly advised to not use swap to reduce wearing.
LED configuration
WCC Lite has three LEDs that can be configured: WAN, LAN and WLAN. All of the LEDs have a default configuration which should fit most of the cases.
All possible LED configuration options: Name: Name of the LED configuration.
LED Name: Colour and location of the LED. These can be changed, however, normally they should be left unchanged.
Default state of the LED: On/Off.
Trigger: One of the various triggers can be assigned to an LED to changes its states. Possible values are shown in a table below.
Table. Possible trigger for an LED:
Trigger type |
Description |
none |
No blinking function assigned to LED |
defaulton |
LED always stays on |
timer |
Blinking according to predefined timer pattern |
heartbeat |
Simulating actual heart beats |
nand-disk |
Flashed as data is written to flash memory |
netdev |
Flashes according to link status and send/receive activity |
phy0rx, phy0tx, phy0radio, phy0tpt, phy0assoc |
Flashed on WiFi activity events |
usbdev |
Turned on when USB device is connected. Applicable for modems |
Device: Network interface which is going to be tracked.
Backup/flash firmware
Software update allows to upgrade the software running in WCC Lite. It is recommended to keep the device up to date to receive the latest features and stability fixes.
Backup archives contain complete WCC Lite configuration that can be restored at any time. A file will be downloaded by your browser when creating a backup. This file can be later uploaded to the web page to restore configuration.
Generated backup archive should only be applied to the same firmware version it was generated. Applying backup to a different firmware version might render some parts of operating system unstable or even unusable
A user can choose to keep existing settings after an upgrade. Marking Keep Settings checkbox preserves files listed in /etc/sysupgrade.conf and /lib/upgrade/keep.d/. It is advised to do a clean install and use backup files to restore settings later if a user intends to make a major system upgrade.
Uploading firmware image, to preserve RAM memory, will stop all Protocol HUB processes. After upload, you will have 2 minutes to proceed with firmware flash or to cancel it. After 2 minutes, firmware file will be deleted and Protocol HUB processes will be restarted.
A file name /etc/sysupgrade.conf can be updated via WCC Web interface. To preserve additional file user should add them to backup file and press Submit. To get the whole list files that would be backed up press Open list.... It is advised to check it before doing a back-up or an upgrade while keeping settings.
Reboot
This reboots the operating system of the device.