Chirpstack OS - Raspberry PI 4B - Mikrotik gateway offline

I have the full ChirpStack OS installed on a Raspberry Pi 4B. My gateway is a MikroTik. On this ChirpStack OS setup, the gateway is showing as offline.

The MikroTik gateway is configured correctly because I also have a parallel virtual machine running Ubuntu with ChirpStack, and the same gateway works perfectly fine there and shows as online. Similarly, when I connect the gateway to TTN (The Things Network), it is also online.

The only setup where the gateway is offline is on this Raspberry Pi with ChirpStack OS.

Can anyone please help me figure out where the problem might be?

so you can access chirpstack network?

Yes, I was just trying to install Ubuntu on a Raspberry Pi and then install ChirpStack on it, and it works correctly. But when I swap the SD card with ChirpStack OS into the Raspberry Pi, the gateway is offline.

Did you config concentrator and mqtt forwarder correctly!?

I am not using a concentrator in ChirpStack OS because I don’t have any “shield” like SX1301 or similar connected to the Raspberry Pi. I have an external gateway, a Mikrotik. I believe I have set up the MQTT forwarder correctly. It is enabled, the topic prefix is set to eu868 , and the server is set to tcp://localhost:1883 . Practically, I have it configured by default, following the recommendations in the ChirpStack documentation.

Hi Mohan, I’m bit new to chirpstack. Could you tell me how should i configure the concentrator and mqtt forwarder correctly so that i can receive packets from end nodes to gateway and see them in chirpstack application server?
It received a few packets in the beginning but (i don’t know if its because i changed the udp forwarder server) later it stopped receiving.
Currently my gateway status is shown as “never seen” (i reinstalled the OS).
Thanks in advance.


logread | grep concentratord gives this…

ok what gateway are you using?

I’m running chirpstack OS V4 on raspberry pi 3b+ and waveshare sx1302 shield.

nice enable concentrator and mqtt forwarder in UI thats it.

Those are enabled. But the chirpstack server is still showing gateway as “never seen”.



Do you think it has anything to do with the UDP packet forwarder?

The end result i’m looking for is to receive packets from the meters which are already transmitting packets regularly.

ok show me in chirpsatck concentratord in sx1302/sx1303 screenshot and also mqtt configuration details screen shot



The SX1302 and SX1301 configurations

ok mqtt configuration.

QOS =0
clientID = blank
clean session unticked

here’s my UDP configuration too

oh delete screen short and give me your mail id!

I had actually received few packets when i first did the configuration.
but it stopped after a few packets. I don’t know if i changed something for that to happen or it stopped by itself. Then i reinstalled the OS Thinking all the settings would reset but the configurations on the web interface remained the same.

problem lies in your mqtt address if chirpstack is runing in local then use local address like tcp://localhost:1883

1 Like

Wow . Okay. Thank you lots. Its seems to have done the trick. Its online now.
Also do you have any suggestions on how to publish this data to an external mqtt server?
Thank you again for your help.

alisterdcruz99@gmail.com This is my mail.

Is it common here that a different problem, belonging to someone else, gets addressed and solved instead of the issue raised by the person who created this topic? :grinning: