# MQTT Autostart after reboot

**URL:** <https://community.openhab.org/t/mqtt-autostart-after-reboot/116946>\
**Category:** Beginners\
**Tags:** mqtt, oh3\
**Created:** [February 13, 2021, 4:03pm UTC](https://community.openhab.org/t/mqtt-autostart-after-reboot/116946 "2021-02-13T16:03:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hafniumzinc](https://community.openhab.org/letter_avatar_proxy/v4/letter/h/b9bd4f/32.png) [@hafniumzinc](https://community.openhab.org/u/hafniumzinc)\
**Post date:** [February 13, 2021, 4:42pm UTC](https://community.openhab.org/t/mqtt-autostart-after-reboot/116946/2 "2021-02-13T16:42:39Z")

</div>

See section 1 of this guide:

> [@\[OH3\] MQTT Setup and Configuration](https://community.openhab.org/t/oh3-mqtt-setup-and-configuration/111494):
>
> Overview In order to use MQTT devices, the following is required: An MQTT broker installed MQTT Binding installed in openHAB MQTT Bridge Thing configured in openHAB This tutorial was written with openHAB3 running on a headless Raspberry Pi 3B with Raspberry Pi OS, with SSH access. Method 1. Install the MQTT broker Install [Mosquitto](https://mosquitto.org/download/) On the Raspberry Pi, perform the following commands to install Mosquitto, and ensure it runs when re-starting the Pi: sudo apt install mosquitto sudo systemctl …

In short:

```bash
sudo systemctl daemon-reload
sudo systemctl enable mosquitto

```

---

_[View the full topic](https://community.openhab.org/t/mqtt-autostart-after-reboot/116946)._
