LogicMachine Forum
LMHome auto-discovery fails after reboot with ZeroTier enabled - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: LMHome auto-discovery fails after reboot with ZeroTier enabled (/showthread.php?tid=6601)



LMHome auto-discovery fails after reboot with ZeroTier enabled - Ceros2112 - 25.11.2026

Hello,

I'd like to report an issue we have reproduced on two LM5 units, both running firmware 20251204.

Symptom
When ZeroTier is enabled and the LogicMachine is rebooted, the LM Home app can no longer find the device with auto-discovery. The LM is still reachable via its IP address in the browser. Only discovery stops working.

What we see on the LM
In the running processes list, after the reboot, avahi-daemon stays in the registering state and never moves to running:

avahi-daemon: registering [<hostname>.local]

We waited several minutes and it did not change.

Steps to reproduce
1. Enable ZeroTier.
2. Reboot the LM.
3. Avahi stays in "registering" and the LM is not found by LM Home auto-discovery.

What restores discovery
1. Disable ZeroTier.
2. Reboot the LM. Avahi now goes to "running" and LM Home finds the device again.
3. Re-enable ZeroTier without rebooting. Avahi stays "running" and discovery keeps working.

So the problem seems to appear only when the LM boots with ZeroTier already enabled. Enabling ZeroTier on a running system does not cause it. Disabling ZeroTier after the fact does not help either: avahi stays in "registering" until the next reboot.

Our guess is that Avahi doesn't complete its registration because of the ZeroTier interface coming up during boot, but we may be wrong.

The workaround above only lasts until the next reboot (e.g. after a power outage), so it's not practical on installed systems.

Questions
- Is this a known issue?
- Is a fix planned, for example restricting Avahi to the Ethernet interface or changing the startup order?
- Is there a recommended configuration to use ZeroTier and LM Home auto-discovery together?

Thanks in advance.


RE: LMHome auto-discovery fails after reboot with ZeroTier enabled - admin - 25.11.2026

Try these updated packages with disabled mDNS on ZeroTier interfaces.
Install through System config > System > Packages > Add Package. Reboot LM afterwards.

https://dl.openrb.com/pkg/avahi-dbus-daemon_0.8-r10_imx6.ipk
https://dl.openrb.com/pkg/avahi-dbus-daemon_0.8-r10_imx6.sig

https://dl.openrb.com/pkg/libavahi-dbus-support_0.8-r10_imx6.ipk
https://dl.openrb.com/pkg/libavahi-dbus-support_0.8-r10_imx6.sig


RE: LMHome auto-discovery fails after reboot with ZeroTier enabled - Ceros2112 - 25.11.2026

thanks, I'll try it later.

Another question, the LM5home app keeps logging out even if I'm not logged with admin and remember login and password is on with 365 days of expiration, am I doing something wrong?


RE: LMHome auto-discovery fails after reboot with ZeroTier enabled - admin - 25.11.2026

Keep LM Home app running in the background for some time, it should then cache the credentials.


RE: LMHome auto-discovery fails after reboot with ZeroTier enabled - Ceros2112 - 25.11.2026

even if I reach the server through zerotier? Sometimes I use wifi and go only via LAN and sometimes I go with ZT


RE: LMHome auto-discovery fails after reboot with ZeroTier enabled - admin - 25.11.2026

ZT interface has a different IP address so credentials for it will be stored separately from local access. You will need to login twice - once for local and once for ZT.


RE: LMHome auto-discovery fails after reboot with ZeroTier enabled - Ceros2112 - 25.11.2026

ok, no problem for that, but it keeps both stored right?


RE: LMHome auto-discovery fails after reboot with ZeroTier enabled - admin - 25.11.2026

It should keep booth. But since we don't have control how often the built-in browser cache is saved the app must be kept running in the background.