background image

Documentation Center

📝

 NOTE:

If you want packet forwarder to start on boot, you need to also add the lines below:

8. Save “install.sh” file and execute it in order to install:

9. Wait for the installation to complete. Using the commands below, go and run the newly created process

(lora_pkt_fwd):

📝

 NOTE:

If you added the additional lines in step 5 it will execute every time on boot.

10. To check if it is working, run 

sudo systemctl start ttn-gateway.service

 to start the service and check its

status 

service ttn-gateway status

. You should see something like the box below. Be aware that it may take

some minutes to see your gateway as connected in TTN's console.

cp

 

..

/set_eui.sh packet_forwarder/lora_pkt_fwd/ 

cp

 

..

/update_gwid.sh packet_forwarder/lora_pkt_fwd/ 

cp

 

..

/start.sh packet_forwarder/lora_pkt_fwd/ 

mkdir

 -p /opt/ttn-gateway/ 

cp

 -rf packet_forwarder /opt/ttn-gateway/ 

 

cp

 

..

/ttn-gateway.service /lib/systemd/system/ 

systemctl 

enable

 ttn-gateway.service 

 

sudo

 ./install.sh 

 

cd

 /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd  

sudo

 ./lora_pkt_fwd 

 

sh

sh

sh

sh

Reviews: