Chirpstack 4 - Packet Fwd / RAK5146


Installed Chirpstack 4 on RPI CM4 with RAK5146. Installation of Chirpstack works fine (chirpstack and gateway-bridge installed).

  • Chirpstack-gateway-bridge is listening on UDP port 1700
root@raspberrypi:/etc/chirpstack-gateway-bridge# sudo journalctl -f -n 100 -u chirpstack-gateway-bridge.service
Feb 28 14:08:03 raspberrypi systemd[1]: Started chirpstack-gateway-bridge.service - ChirpStack Gateway Bridge.
Feb 28 14:08:03 raspberrypi chirpstack-gateway-bridge[743]: time="2024-02-28T14:08:03.545897198+01:00" level=info msg="starting ChirpStack Gateway Bridge" docs="" version=4.0.10
Feb 28 14:08:03 raspberrypi chirpstack-gateway-bridge[743]: time="2024-02-28T14:08:03.546169309+01:00" level=info msg="backend/semtechudp: starting gateway udp listener" addr=""
Feb 28 14:08:03 raspberrypi chirpstack-gateway-bridge[743]: time="2024-02-28T14:08:03.562726068+01:00" level=info msg="integration/mqtt: connected to mqtt broker"
Feb 28 14:08:03 raspberrypi chirpstack-gateway-bridge[743]: time="2024-02-28T14:08:03.562753531+01:00" level=warning msg="[store]    memorystore wiped" module=mqtt

The UDP Packet Forwarder (imho) is missing (between the RAK5146 and the Chirpstack-gateway-bridge). How to install and which version in order to get it working with the RAK5146?


OK I found a way to get it running - for those who are running into similar issues here is what I did:

  1. Install Chirpstack 4 as documented on Chirpstack (here)

  2. Now use part of the rak_common_for_gateway repository (here) and execute the following steps on RPI CM4 (I used Debian Bookworm):

  • sudo apt install git -y
  • git clone GitHub - RAKWireless/rak_common_for_gateway
  • cd rak_common_for_gateway/
  • nano
    ** Change default and set “INSTALL_CHIRPSTACK=0” or
  • sudo ./ --chirpstack=not_install

Note: Follow steps above and do not install the full RAK repository as Chirpstack 3 will be installed