Skip to content
Artur Balanuta edited this page Sep 8, 2017 · 20 revisions

This tutorial will show you how to add a LoRa Gateway using a RHF0M301 LoRa Gateway Concentrator Module and a RaspberryPi3.

Install the Raspbian operating system

Use the raspberrypi.org website to download the latest Raspbian Stretch Lite operating system and flash it to the SD card. After booting into the operating system used the raspi-config command to enable the SPI interface. Reboot the OS.

Adjusting the Clock

(todo)

Install the LoRa Packet Forwarder

Download the latest release of the precompiled Packet Forwarder installer (.deb) from the Openchirp repo. Install the package (sudo dpkg -i lora-gateway-pf_*_armhf.deb) and start the service (sudo systemctl start lora-gateway-pf). Confirm that the service is running (systemctl status lora-gateway-pf)

Install the LoRa Gateway Bridge

Download the latest release of the precompiled LoRa Gateway Bridge installer (lora-gateway-bridge_x.x.x_armhf.deb) from the loraserver.io website. Install the package (sudo dpkg -i lora-gateway-bridge_x.x.x_armhf.deb) Configure the gateway bridge service before starting the service /etc/default/lora-gateway-bridge. Start the service and confirm that it is running properly (sudo systemctl start lora-gateway-bridge; sudo systemctl status lora-gateway-bridge)

Other Configurations

After starting the service a new gateway_ID is generated based on the Ethernet MAC address. It is stored in the local configuration file (/etc/lora-gateway-pf/local_conf.json). Remember it for future use.

Clone this wiki locally