WisGateOS 2 2.2.x or Later
If your gateway firmware is WisGateOS 2 2.2.x or later. Installing extensions becomes easier, you can select and install extensions from the Extension gallery.
How to Add an Extension
You can install extensions in two ways:
Install from Extension Gallery
- To install an extension, access the gateway by referring to the Access the Gateway section, using the RAK7240V2 WisGate Edge Prime documentation as a reference example.
- Once logged in successfully, navigate to the Extensions tab (
).
- You can click on the WisGate logo (
) to expand the menu on the left and see the full names of the tabs.
- By default, no extensions are installed.
- Proceed with the installation by clicking on the Extension gallery tab. All extensions that support WisGateOS 2 2.2.x or later will be displayed in the gallery.
- Select the desired extension, such as RAK OpenVPN Client, and click the Install button. The process may take a few moments to complete.
- If the icon
appears on the Extension tab, it means that the gateway hardware does not support the installation of this extension.
- If the icon 🟢 appears on the Extension tab, it means that the gateway hardware support the installation of this extension. You can choose to install this extension.
- If the Auto Update is enabled during installation, the gateway will automatically update the extension when the latest version is available.
- Once installed, go to the Installed tab where the newly installed extension should now be visible.
Manually Upload an Extension
In addition to the Extension Gallery, users can manually upload a custom extension package in .ipk format.
- In the Extensions tab, click Add new extension.
- Drag and drop your
.ipkfile into the upload area, or click choose file to select it manually.
Figure 1: Add an extension file- Check Allow unsigned extensions to be installed if you want to install an unsigned package.
- Click Add extension to complete the installation.
How to Remove an Extension
- Navigate to the Extensions > Installed and click on the Remove button of the extension you want to uninstall.
- A pop-up window will appear to verify if you want delete the extension. Click Remove and wait for the process to finish.
At this point, the uninstalled extension will no longer appear on the Extensions page.
How to Update an Extension
In order to use the latest features of the extension, it is strongly recommend to update the extension to its latest version.
- To update an extension, navigate to the Extensions > Installed.
- If the latest version of the extension is available, the Update button will be highlighted, indicating that you can choose to update the extension. For example, the RAK Open/Close port extension. Click Update. The process may take a few moments to complete.
After the update is complete, the extension will show as up to date, with no further updates available.
To facilitate timely updates, the RAK gateway provides an automatic update feature. It allows you to check the Auto Update button on the extension tab. Once Auto Update is enabled, the gateway will automatically update the extension when the latest version is available.
How to Use the Extensions
RAK Breathing Light
The breathing light LED is located on the top cover of the WisGate Edge Lite 2 gateways, making it easy to visually identify the gateway's status. This extension allows you to enable or disable the breathing light, which operates by default with a slowly blinking blue light.
The Breathing Light extension is available for the WisGate Edge Lite 2 and WisGate Soho Lite gateways.
Working Mode
By using the Breathing Light extension, the working mode, frequency, and color of the LED light are now customizable. This extension has two working modes: All and Warning Only.
- Choosing the All mode can:
- Change the Normal light color, that is the light you see when the gateway is working properly.
- Set the blinking frequency from slow, fast, and steady.
- Configure the color of the Warning light.
NOTE
The colors for the Normal and the Warning Light should not be the same.
- If you choose Warning only mode:
- The LED light will only work in case of abnormal activities like internet connection loss.
- Light's color can be modified, but not its frequency.
Install the RAK Breathing Light Extension
To install the extension, follow the steps in How to Add an Extension section.
Configure the RAK Breathing Light Extension
- To access the RAK Breathing Light extension, click Launch.
- In the Configuration page, configure the mode, color, and blinking frequency of the LED.
-
Interface
- Enable Breathing Light: Enables or disables the breathing light extension.
- Mode: Sets the mode of the extension.
- All: The Normal light is enabled.
- Warning only: Disables the Normal light settings and only Warning light will glow.
-
Normal light: The settings for the normal light.
- Color: The color of the light (red, green, blue).
- Frequency: Blink frequency of the led (slow, fast, steady).
NOTEThe Normal light settings are disabled if Warning only mode is selected.
-
Warning Light: The color of the warning light.
- Once done with the configuration, click Save changes. You can check the status of the LED on the gateway itself.
RAK Custom Logo
The Custom Logo extension allows you to upload your logo in the Web UI. This extension is universally compatible with all gateways running WisGateOS 2. It was developed with both small or bigger enterprises in mind, allowing them to have their logo recognized and used in their daily operations.
Having the capability to rebrand your Web UI is essential for companies that need to effectively promote and visualize their brand or product. This necessity is met by RAKWireless' white label feature, which allows clients to customize the user interface to reflect their branding elements seamlessly.
Size and Format Requirements
The uploaded logo image must be in .svg format and cannot exceed 300 kb. You can preview the Web UI page before finally switching RAKWireless' logo with your brand logo.
Install the RAK Custom Logo Extension
To install the extension, follow the steps in How to Add an Extension section.
Configure the RAK Custom Logo Extension
- To access the RAK Custom Logo extension, click Launch.
- In the Configuration page, you can set a custom logo on the login page and on the sidebar menu.
- Interface: Enables/disables custom logo extension.
- Large logo: This logo will be used on the login page and the expanded sidebar menu. Upload a logo by dragging and dropping it, or by clicking Choose File to browse manually.
- Small logo: This logo will be used for mobile view and the collapsed sidebar menu. Upload the logo by dragging and dropping it, or by clicking Choose File to browse manually.
- Preview: After selecting the images, click Preview to see how the logo appears on the login page and sidebars in both desktop and mobile views.
- To apply the selected logos, click Save changes. The page reloads automatically, applying the selected logos.
RAK Country Settings
LBT (Listen Before Talk) means that, before transmitting, the gateway checks the availability of the channel. This is necessary because LoRaWAN is a multi-channel protocol and uses ISM Band. Anyone can use the band, so a collision occurs if two or more end devices send signals simultaneously.
The gateway checks for empty channels and uses one of them to send downlink data. If a channel is occupied, the gateway performs a random back off. In case all of the channels are occupied, the gateway waits for a free channel and tries to send the downlink data again.
LBT is usually governed by regulations per country. In WisGateOS 2 2.x, there is a country table which includes proper configurations for all countries so you can set the country code in WisGateOS 2 2.x.
AS923 end-devices operating in Japan shall perform Listen Before Talk (LBT), based on ARIB STD-T108 regulations. The ARIB STD-T108 regulation is available for free and should be consulted as needed.
You can switch the frequency plan in the following regions:
- AS923, KR920
- EU868, RU864, IN865
- CN470
The frequency plan will be limited to a particular region. Tx power will be limited to under the maximum.
- Downlink Tx Power
- Beacon Tx Power
Install the RAK Country Settings Extension
To install the extension, follow the steps in How to Add an Extension section.
Configure the RAK Country Settings Extension
- To access the RAK Country Settings extension, click Launch.
- In the Configuration page, click the Select your Country button to set your country.
- In the new window, find your country and select it. Tick the checkbox below to confirm that you have chosen the country where the gateway is located. Then click Confirm to set the LBT for your country.
- Enable the LBT by clicking on the Enable Listen Before Talk switch.
- Click Save changes to apply the configuration. LBT is now enabled on your gateway.
RAK Open/Close Port
This extension allows you to add or delete packet traffic management rules on the gateway, allowing any (or specific) host IP from a designated subnet to communicate with the gateway through specified ports.
Install the RAK Open/Close Port Extension
To install the extension, follow the steps in How to Add an Extension section.
Configure the RAK Open/Close Port Extension
- To access the RAK Open/Close Port extension, click Launch.
After clicking Launch, the Traffic rules page will be displayed, showing the default rules of the Open/Close port extension with the following parameters:
- Service name: A readable name for the service.
- Protocol: The protocol used.
- Family: The protocol version used for the traffic.
- From: External source
- To: Internal source
For example, the Allow-http service indicates that any host in WAN can communicate with the gateway through port 80 using the TCP protocol type.
- To add a new rule, click the Add new rule and configure the following information:
- Service name: Provide a readable name for the rule.
- Protocol: Select the protocol used for the rule:
- TCP
- UDP
- TCP + UDP
- Sources:
- Allow any host: Allows any host to access the rule.
- Source IP address: Specify up to three host IPs.
- Destination port: The destination port for routing.
- To save the changes, click Add new rule. The newly created rule will then appear in the Traffic rules interface.
RAK Solar Battery
The RAK Solar Battery extension is used to display the operational status information of the solar battery used by the gateway. This includes information on the performance of the solar battery, battery health status, cycle period, battery capacity, charging and discharging modes, and more.
This extension is compatible with the following gateways:
- RAK7240V2
- RAK7267
- RAK7289V2
- RAK7285
You can learn the status of the solar battery in real-time through the UI interface.
Install the RAK Solar Battery Extension
To install the extension, follow the steps in How to Add an Extension section.
Enable and View Solar Battery Monitoring
- To access the RAK Solar Battery extension, click Launch.
Figure 1: Launch the RAK Solar Battery Extension- Enable the switch to activate Monitor solar battery.
Figure 1: Overview page- When the confirmation window pops up, click Enable monitoring to activate the feature.
- In the Details page, you can view information about the Solar Battery.
Figure 1: Details page-
Solar battery performance: Shows the real-time performance of the battery.
- Temperature: The temperature of the battery. Used to prevent overheating or freezing.
- Voltage: The voltage level of the battery.
- State of charge: The current battery level.
- Current: Indicates whether the battery is charging or discharging.
-
About solar battery: Contains additional information about the battery.
- Serial number: A unique identifier for the battery.
- Firmware version: The software version of the battery management system.
- State of Health: Represents the battery's overall condition.
- Cycle times: The number of charge/recharge cycles.
- Remaining Capacity: The current available capacity of the battery.
- Full-charge capacity: The maximum capacity when the battery is fully charged.
- Battery working mode: Indicates whether the battery is charging or discharging.
-
Solar battery active events: Notifies users about battery-related issues.
- FAULT: The system detects a potentially damaged battery and recommends immediate replacement.
- PROTECT: The system detects a serious issue and shuts down the battery as a protective measure. Once conditions are safe, the battery resumes operation automatically.
- No active events: Indicates that the battery is operating normally without issues.
To display the Serial number and Firmware version of the solar battery, the following conditions must be met:
- The battery must be running firmware v1.0.4 or later.
- The Solar Battery extension must be updated to the latest version.
- When using WisGateOS 2.2.15 or later, both Serial number and Firmware version are shown.
- When using earlier versions of WisGateOS 2, only the Firmware version is shown, while the Serial number appears as N/A.
RAK WireGuard
WireGuard is a simple but fast VPN. It aims to be faster, simpler, and leaner than the IPsec protocol. It intends to be more performant than the well-known RAKwireless - OpenVPN. Before, it was not possible to use the WireGuard protocol on the RAKwireless gateways, but that is not the case now.
The new WisGateOS 2 now offers Extension features, where you can install and set up the WireGuard extension. In this tutorial, you will learn how to set the WireGuard client on the gateway.
This guide assumes that you have some knowledge in setting up a WireGuard server and have a WireGuard server set up.
Install the RAK WireGuard Extension
To install the extension, follow the steps in How to Add an Extension section.
Configure the RAK WireGuard Extension
- To access the RAK WireGuard extension, click Launch.
Figure 1: Launch the RAK WireGuard Extension- In the Configuration page, enable the Enable WireGuard switch and configure the following information:
-
Interface: Settings for the WireGuard client.
- Address with netmask: The IP address the WireGuard client will use. It must be in the same range (e.g.,
10.0.8.0to10.0.8.255) defined by the server. - Generate key pair: Automatically generates the key pair.
- Public Key: The public key of the WireGuard client.
- Private Key: The private key of the WireGuard client.
NOTE
Do not share your private key with anyone.
- DNS: The DNS server used by the client.
- Address with netmask: The IP address the WireGuard client will use. It must be in the same range (e.g.,
-
Server: Settings for the WireGuard server.
- Endpoint Host: The IP address of the machine or cloud instance where the WireGuard server is hosted.
- Endpoint Port: The port used for WireGuard traffic.
- Persistent Keepalive (ms): The interval for sending keepalive packets to maintain the connection.
- Public Key: The public key of the WireGuard server.
- Enable Preshared Key: Enables the preshared key field. The preshared key is part of the Noise protocol used to establish an encrypted connection between peers.
Figure 1: Enable preshared key
-
Route All Traffic: Allows traffic from all IPs.
- Allowed IPs: Specifies the IPs that are allowed to connect to the gateway via the WireGuard IP. This option is only available when Route All Traffic is disabled.
- To save the changes, click Save changes.
Remember to add the WireGuard Client credentials to the WireGuard server configuration.
- After the connection is established, open the Status tab to view the WireGuard connection.
RAK OpenVPN Client
OpenVPN (Open Virtual Private Network) is a type of VPN in which a server is deployed to allow both the Gateway and multiple client devices, such as PCs, phones, and other endpoints, to connect via a public IP address. This setup can be implemented using any backhaul connectivity supported by the gateway, including Ethernet, Wi-Fi, or LTE. When using LTE as the backhaul, make sure that the gateway has a static public IP address.
By connecting to the OpenVPN server from a remote client, the gateway can be securely managed from anywhere, at any time. As mentioned above, an OpenVPN server is required. Detailed instructions for deploying a server in the AWS cloud can be found in the How to Configure WisGate Edge v2 Gateways Remote Management - OpenVPN guide.
Install the RAK OpenVPN Client Extension
To install the extension, follow the steps in How to Add an Extension section.