Sometimes the router is rebooting (or maybe I reboot manually), so the cable ethernet is disconnected. And when this happens the Domoticz service goes into exited.
How can I overcome to this problem? Here the log:
Code: Select all
Jun 11 09:12:08 homebridge dhcpcd[999]: eth0: carrier lost
Jun 11 09:12:08 homebridge kernel: [1890028.716856] smsc95xx 1-1.1:1.0 eth0: link down
Jun 11 09:12:08 homebridge avahi-daemon[472]: Withdrawing address record for 192.168.1.3 on eth0.
Jun 11 09:12:08 homebridge avahi-daemon[472]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.3.
Jun 11 09:12:08 homebridge avahi-daemon[472]: Interface eth0.IPv4 no longer relevant for mDNS.
Jun 11 09:12:08 homebridge dhcpcd[999]: eth0: deleting route to 192.168.1.0/24
Jun 11 09:12:08 homebridge dhcpcd[999]: eth0: deleting default route via 192.168.1.1
When I replug the ethernet cable:
Code: Select all
Jun 11 09:13:07 homebridge kernel: [1890088.405328] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Jun 11 09:13:07 homebridge dhcpcd[999]: eth0: carrier acquired
PS: and when the service goes to exited, I need to stop and then start (because It's not stopped really but somethings doesn't work).