This section guides you to connect the Tektelic Kona Micro IoT LoRaWAN Gateway to The Things Stack using the Semtech UDP Packet Forwarder.
Configure the Packet Forwarder
Now you can edit the gateway configuration file.
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:
- server_address: Address of your The Things Stack deployment. See Server Addresses.
- 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.
If your configuration was successful, your gateway will connect to The Things Stack after a couple of seconds.
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