Lora Gateway OS: How to configure mosquitto?


#1

Hey Guys,

I have a big roblem with configuring the mqtt - Broker in in the Lora Full Gateway OS for adding authentication etc…

For sure I tried to Change the mosquitto.conf under etc/mosquitto like ist recommed in the documentation. But everything there is outcommended and my changes dont have any effects.

But I can subscribe to the Topics of my Gateways succesfully. So from where does the MQTT Broker take its configurations. I cant find the file…

I tried to start / stop the process manually but no msg from where the configuration file is loaded.
Thanks!


#2

Are you editing these files while the image is booted on your gateway? Because the Root FS is mounted with an Overlay FS on top.


#4

Are you editing these files while the image is booted on your gateway? Because the Root FS is mounted with an Overlay FS on top.


#5

Ok I probably found the solution:

In the mosquitto init bash script (under /etc/init.d) the “-v config file option” is just added in case of restart. Adding it to case 1 : start should solve the problem.