Hi,
I’ve configured my MOX like a “dumb AP”, all interfaces bridged together in one LAN. Also I’ve disabled common services which are not needed in AP-mode: dnsmasq, firewall, odhcpd, resolver and kresd are disabled.
As soon as I reboot the MOX, lighttpd comes up and the FORIS part is going in a (expensive) restart loop, e.g. ps log for a few seconds:
12621 ? R 0:02 /usr/bin/python3 /usr/bin/foris -s flup -a config -b mqtt --mqtt-host localhost --mqtt-port 11883 --mqtt-passwd-file /etc/fosquitto/credentials.plain --mqtt-controller-id 0000000D300040D1
[...]
12630 ? R 0:00 /usr/bin/python3 /usr/bin/foris -s flup -a config -b mqtt --mqtt-host localhost --mqtt-port 11883 --mqtt-passwd-file /etc/fosquitto/credentials.plain --mqtt-controller-id 0000000D300040D1
[...]
12636 ? R 0:00 /usr/bin/python3 /usr/bin/foris -s flup -a config -b mqtt --mqtt-host localhost --mqtt-port 11883 --mqtt-passwd-file /etc/fosquitto/credentials.plain --mqtt-controller-id 0000000D300040D1
[...]
12636 ? R 0:01 /usr/bin/python3 /usr/bin/foris -s flup -a config -b mqtt --mqtt-host localhost --mqtt-port 11883 --mqtt-passwd-file /etc/fosquitto/credentials.plain --mqtt-controller-id 0000000D300040D1
[...]
12648 ? R 0:00 /usr/bin/python3 /usr/bin/foris -s flup -a config -b mqtt --mqtt-host localhost --mqtt-port 11883 --mqtt-passwd-file /etc/fosquitto/credentials.plain --mqtt-controller-id 0000000D300040D1
[...]
12654 ? R 0:00 /usr/bin/python3 /usr/bin/foris -s flup -a config -b mqtt --mqtt-host localhost --mqtt-port 11883 --mqtt-passwd-file /etc/fosquitto/credentials.plain --mqtt-controller-id 0000000D300040D1
FORIS browser access is not possible (500 server error), while the LuCI part works like a charme …
As a temporary workaround I’ve disabled the FORIS part completely with a small change in /usr/share/foris/lighttpd-dynamic.conf
.
Probably this AP-mode is not a common configuration for turris devices, but FORIS should behave better. Feel free to contact me, if you need more information or testing etc. - thanks!
P.S. TurrisOS 5.0.0 286c407c3d8877e51fa90cbd830f2fedb3ad1f26 / LuCI branch git-20.105.64099-eeba108