I am new to the DietPi world. I downloaded an 8gb image of V 149 from YouTube - Andreas Spiees, https://www.youtube.com/watch?v=bpg6RSHS4Zc&t=83s who configured his using the script he downloaded from Pete Scargill https://tech.scargill.net/?s=diet+pi. It seems like the perfect collection of tools to do IoT stuff. But Mosquitto doesn’t work. I see Mosquitto server start up as the Pi Zero W boots. Then, when I try to use it with the following instruction “mosquitto_sub –d –t hello/world”, I get the following: “Error: Connection Refused”
I tried the pub/sub tests with a Raspbian light instance, and it worked. I searched DietPi forums for Mosquitto, Mosquitto config, MQTT, and a variety of other related words to see if there are any clear outlines of how Mosquitto is installed and configured on DietPi, but there is nothing, except some indication that Mosquitto doesn’t run under V 159 (which I just updated to, hoping it might solve the problem).
When I read some of the other threads, they are too terse for me to follow, obviously contributed by people who know what they are doing. I don’t. Where can I get help to:
- step through confirming that I have Mosquitto properly installed and configured in DietPi?
- lock it down so that it uses SSL certs?
Many thanks in advance to any/all who take pity on me and want to see another successful DietPi user.