Warning:Kerlink announced the Product End of Life in January 2020 for Wirnet Station, so using Kerlink Wirnet iStation is highly recommended.
The Kerlink Wirnet Station is a robust and highly reliable outdoor LoRaWAN gateway. It was the first commercially available LoRaWAN gateway on the global market. It offers Ethernet and cellular (3G/2G) backhauls.
This page guides you to connect Kerlink Wirnet Station to The Things Stack.
- User account on The Things Stack with rights to create Gateways.
- Kerlink Wirnet Station gateway connected to the Internet via Ethernet or cellular network.
Note:Wirnet Station should be running firmware
Create a gateway by following the instructions for Adding Gateways. Choose a Gateway ID, and fill in the Gateway EUI field with value
XXXXXXX represents the last 7 characters of the gateway’s serial number.
For example, the Gateway EUI could be
Create an API Key with View gateway information rights for this gateway using the same instructions. Copy the API key and save it for later use.
All further steps assume the gateway is available at
<gateway-ip>, The Things Stack is available at
<server-address>, gateway ID is
<gateway-id> and gateway API key is
<gateway-api-key>. For Wirnet Station, the
<gateway-model> has value
Note:Make sure to replace these with the values appropriate for your setup.
In order to ease the process of connecting Wirnet Station to The Things Stack, we provide the provisioning script
provision.sh you can configure your gateway with. This script is compatible with Wirnet Station gateways running firmware
v3.0 and above.
Note:In case the CPF (Common Packet Forwarder) is not installed on the Wirnet Station, this script will try to install it. If the gateway is running an outdated firmware version, the script will attempt to update the firmware first and install the CPF after.
To provision the Wirnet Station gateway at
<gateway-ip> to use the configuration of
<gateway-id> provided by The Things Stack deployed at
$ curl -sL 'https://raw.githubusercontent.com/TheThingsNetwork/kerlink-wirnet-firmware/v0.0.3/provision.sh' | bash -s -- <gateway-model> <gateway-ip> <server-address> <gateway-id> <gateway-api-key>
Note:Please refer to Kerlink Wirnet Firmware provisioning documentation for more detailed information on provisioning the Wirnet Station.
Note:To avoid being prompted for
rootuser password several times, you may add your SSH public key as authorized for
rootuser on the gateway, for example, by
CPF logs are located at
/mnt/fsuser-1/lora/var/log/lora.log. You can access them by e.g.:
ssh email@example.com 'tail -f /mnt/fsuser-1/lora/var/log/lora.log'