Debian / Ubuntu

These steps have been tested using:

  • Ubuntu 16.04 (LTS)
  • Ubuntu 18.04 (LTS)
  • Debian 9 (Stretch)

LoRa Server Debian repository

The LoRa Server project provides pre-compiled binaries packaged as Debian (.deb) packages. In order to activate this repository, execute the following commands:

sudo apt-key adv --keyserver --recv-keys 1CE2AFD36DBCCA00

sudo echo "deb stable main" | sudo tee /etc/apt/sources.list.d/loraserver.list
sudo apt-get update

Install LoRa Gateway Bridge

In order to install LoRa Gateway Bridge, execute the following command:

sudo apt-get install lora-gateway-bridge

This will setup an user and group, create start scripts for systemd or init.d (this depends on your version of Debian / Ubuntu). The configuration file is located at /etc/lora-gateway-bridge/lora-gateway-bridge.toml.

Starting LoRa Gateway Bridge

How you need to (re)start and stop LoRa Gateway Bridge depends on if your platform uses systemd or init.d.


sudo systemctl [start|stop|restart|status] lora-gateway-bridge


sudo /etc/init.d/lora-gateway-bridge [start|stop|restart|status]

LoRa Gateway log output

Now you’ve setup LoRa Gateway Bridge and your gateway is configured to forward it’s data to it, it is a good time to verify that data is actually comming in. This can be done by looking at the LoRa Gateway Bridge log output.

Like the previous step, which command you need to use for viewing the log output depends on if your distribution uses init.d or systemd.


All logs are written to /var/log/lora-gateway-bridge/lora-gateway-bridge.log. To view and follow this logfile:

tail -f /var/log/lora-gateway-bridge/lora-gateway-bridge.log


journalctl -u lora-gateway-bridge -f -n 50

For an explanation of the different types of data you can receive from and send to the LoRa Gateway Bridge see Payload types.