Tasmota does not start with Ethernet cable connected on boot and WiFi disabled #22114
-
Hi all, been banging my head against the wall for a couple of days, hopefully someone can provide some padding :) Essential details:
Settings changed from default:
Once all the above is set up and verified, I disable Wifi (Wifi 0) and still have connectivity via Ethernet, but after reboot I can ping the IP but get no HTTP response. Logs:
The workaround suggested in #21618 (Rule1 ON System#Init DO teleperiod ENDON) does not work:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
How is the setting for |
Beta Was this translation helpful? Give feedback.
-
I just tried with 13.0 with the same result. Kept config to a minimum:
|
Beta Was this translation helpful? Give feedback.
-
I will look at your logs. However I'm really surprised. I have several Tasmota devices that are using Ethernet only (wifi disabled) and the web UI works fine. |
Beta Was this translation helpful? Give feedback.
-
Oh, the main different I see is that you have a static IP address. What's obvious in the logs is that when you have only Ethernet active, the static IP address is not assigned.
whereas when it works, the IP address is logged 1 ms after the connection
I don't know the reason, but it narrows down the problem to static IP addresses |
Beta Was this translation helpful? Give feedback.
-
Thanks @s-hadinger, your discovery set me on the right track to resolving it. I did some playing with DHCP and saw the same as you: reboot with Ethernet connected worked fine with DHCP. However I also noticed that after it had received a DHCP lease once, changing back to fixed IP and rebooting would work fine (boot would complete). Couple this with status 5 showing a default gateway IP (192.168.1.1) for the (disabled) wifi interface triggered the 💡 moment. In summary, an Ethernet gateway IP must be configured to get around this. With that set (even though it doesn't exist) Tasmota boots fine with the Ethernet cable connected. |
Beta Was this translation helpful? Give feedback.
Thanks @s-hadinger, your discovery set me on the right track to resolving it.
I did some playing with DHCP and saw the same as you: reboot with Ethernet connected worked fine with DHCP. However I also noticed that after it had received a DHCP lease once, changing back to fixed IP and rebooting would work fine (boot would complete). Couple this with status 5 showing a default gateway IP (192.168.1.1) for the (disabled) wifi interface triggered the 💡 moment.
In summary, an Ethernet gateway IP must be configured to get around this. With that set (even though it doesn't exist) Tasmota boots fine with the Ethernet cable connected.