Skip to content

TTN Network Setup Guide with out TX

Will Whang edited this page Mar 7, 2018 · 4 revisions

This startup guide will guide you through how to use packet_forwarder from Semtech I`ll assume you have go through the setup guide. The following guide is base on 2017-11-29-raspbian-stretch-lite

First clone packet_forwarder from Semtech:
git clone https://github.com/Lora-net/packet_forwarder.git
Make sure that ./lora_gateway from startup guide is under the same folder. Then compile it by
cd ./packet_forwarder make

After compiled the files, go to ./lora_pkt_fwd
cd ./lora_pkt_fwd
then update the "gateway_ID" by
./update_gwid.sh local_conf.json
It will also output the ID which generated from eth MAC address, this is the address for TTN network.

Next thing is to choose your frequency plan, go to https://github.com/TheThingsNetwork/gateway-conf then download the corresponding json file.

And last is to modified a bit, First, Since there is no LBT, close it by changing "enable": true, to "enable": false, under "lbt_cfg": {
Second, If you are not going to use TX (which means that OTAA and Downlink will not work), set "tx_enable": true, to "tx_enable": false,
Which looks like this:
https://imgur.com/rcTS1V7
Last, since there is a GPS module on-board, add "gps_tty_path": "/dev/ttyAMA0", under "gateway_conf" https://imgur.com/KA6dAih

Finally, start the program by ./lora_pkt_fwd