Unable to run SNTP via ethernet
Posted: Mon Nov 01, 2021 1:25 pm
Hey,
I work on a software for ESP32 and use Ethernet kit A ver1.1.
When I use wifi STA and connect to my router, the software taken from the SNTP example provided with ESP-IDF (v4.4) works well.
However, when I use ethernet, the time is unable to synchronize. In this case, wifi STA is not configured.
In both cases I am working with static IPs. I configured DNS server to 8.8.8.8.
I tested that ethernet is configured properly and works in a way, that I am able to display my website loaded from ethernet IP address on my local network.
Please, do you have any guiding advice, why SNTP might not work via ethernet?
Thank you,
Jakub
I work on a software for ESP32 and use Ethernet kit A ver1.1.
When I use wifi STA and connect to my router, the software taken from the SNTP example provided with ESP-IDF (v4.4) works well.
However, when I use ethernet, the time is unable to synchronize. In this case, wifi STA is not configured.
In both cases I am working with static IPs. I configured DNS server to 8.8.8.8.
I tested that ethernet is configured properly and works in a way, that I am able to display my website loaded from ethernet IP address on my local network.
Please, do you have any guiding advice, why SNTP might not work via ethernet?
Thank you,
Jakub