Tektelic Kona Micro IoT LoRaWAN Gateway

Tektelic Kona Micro IoT LoRaWAN Gateway

Tektelic Kona Micro IoT LoRaWAN Gateway is an 8 channel LoRaWAN gateway, whose technical specifications can be found in the official documentation. This page guides you to connect it to The Things Stack.

Prerequisites

  1. User account on The Things Stack with rights to create Gateways.
  2. Tektelic Kona Micro IoT LoRaWAN Gateway connected to the Internet via ethernet.

Registration

Create a gateway by following the instructions for the Console or the CLI. The EUI of the gateway can be found on the back panel of the gateway under the field GW ID.

Configuration using a Terminal

Find the IP address the gateway. This can be done in various ways. You can connect your machine to the same local network as that of the gateway ethernet connection and scan for open SSH ports or assign a static IP to the gateway and use that. Once the gateway IP address is found, SSH into it.

$ ssh [email protected]<GatewayIP>

The password for the root user can be found on the back panel. It’s typically a 9 character alphanumeric string starting with 1846XXXXX.

Now you can edit the gateway configuration file.

$ vi /etc/default/config.json

Note: Press the i key on your keyboard to start insert mode. Once finished editing, press ESC and enter :wq to write the file and quit.

Edit the server parameters.

  1. server_address: Address of the Gateway Server. If you followed the Getting Started guide this is the same as what you use instead of thethings.example.com.
  2. serv_port_up: UDP upstream port of the Gateway Server, typically 1700.
  3. serv_port_down: UDP downstream port of the Gateway Server, typically 1700.

Save the configuration and restart the packet forwarder.

$ /etc/init.d/pkt_fwd restart

If your configuration was successful, your gateway will connect to The Things Stack after a couple of seconds.

Configuration using the GUI (Windows Only)

TODO: Document using GUI

Troubleshooting

If the gateway does not connect to The Things Stack after a few minutes, disconnect and reconnect the power supply to power-cycle the gateway. Packet forwarder logs can be observed by SSH-ing into the gateway and running:

$ tail -f /var/log/pkt_fwd.log