WebUI Password Bullseye: различия между версиями

Строка 85: Строка 85:
systemctl restart nginx
systemctl restart nginx
</syntaxhighlight>
</syntaxhighlight>
#Отредактируйте файл /etc/mosquitto/conf.d/10listeners.conf, установив параметр <code>allow_anonymous true</code>.
#Приведмите файл /etc/mosquitto/conf.d/10listeners.conf к виду:
#:<syntaxhighlight lang="bash">
 
# This file should be used to define external mosquitto listeners
# (which are not used by internal services).
 
 
# Default MQTT port listener.
#
# It allows anonymous listeners by default to be compatible with
# old Wiren Board mosquitto configuration.
#
# It is recommended to add password authentication and TLS for security.
listener 1883
allow_anonymous true
acl_file /etc/mosquitto/acl/default.conf
password_file /etc/mosquitto/passwd/default.conf
 
 
# Default Websockets listener.
#
# It is used by Wiren Board Web interface.
#
# It allows anonymous listeners by default to be compatible with
# old Wiren Board mosquitto configuration.
#
# It is recommended to add password authentication for security.
listener 18883
protocol websockets
allow_anonymous true
acl_file /etc/mosquitto/acl/default.conf
password_file /etc/mosquitto/passwd/default.conf
 
</syntaxhighlight>
#Перезапустите mosquitto командой
#Перезапустите mosquitto командой
#:<syntaxhighlight lang="bash">
#:<syntaxhighlight lang="bash">