Hi, I've installed openwrt 19.07.04 on a Fritzbox 7360 SL router. It has no internet connection and should work as an additionell AP only within my network.
For homeautomation there is running mqtt-broker mosquitto-nossl. In the GUI there is visible the additionell service - mosquitto.
For flash memory protection I've installed USB support and mounted the stick as /dev/sda1/ at boot.
The mosquitto.conf file contains:
# =================================================================
# General configuration
# =================================================================
# Port to use for the default listener.
port 1883
# anonymous
allow_anonymous false
# persistence
persistence true
# name of the file for persistence
persistence_file mosquitto.db
# location of the file for persistence
persistence_location /mnt/sda1/mosquitto/
#how often to save to the persistence file
autosave_interval 1800
log_timestamp true
log_dest file /mnt/sda1/mosquitto/mosquitto.log
log_dest stdout
password_file /mnt/sda1/mosquitto/passwords.txt
The issue: Log-file or db-file will not be created. Any mosquitto command like mosquitto_passwd, are ignored with error message: command not found
Your help is appreciated