This page guides you to connect Tektelic Kona Micro IoT LoRaWAN Gateway to The Things Stack.
Tektelic Kona Micro IoT LoRaWAN Gateway is an 8 channel LoRaWAN gateway, whose technical specifications can be found in the official documentation.
- User account on The Things Stack with rights to create Gateways.
- Tektelic Kona Micro IoT LoRaWAN Gateway connected to the Internet via ethernet.
Create a gateway by following the instructions for Adding Gateways. 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
ikey on your keyboard to start insert mode. Once finished editing, press
:wqto write the file and quit.
Edit the server parameters:
- server_address: Address of the Gateway Server. If you followed the Getting Started guide this is the same as what you use instead of
- serv_port_up: UDP upstream port of the Gateway Server, typically 1700.
- 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
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