SNTP and static IP
Posted: Fri May 22, 2020 2:15 pm
Not the first post about this:
I have set dhcp off, set IP, mask and gateway.
Set sntpservers to "8.8.8.8" and " 1.1.1.1"
From the ESP i can ping these addresses, so the gateway is ok.
No time. What am i missing?
I "solved" the problem by starting with DHCP, getting the time, and moving to a fixed IP.
There must be a better way!
I use the (very) latest 4.1 idf.
Thanks,
Dig
I have set dhcp off, set IP, mask and gateway.
Set sntpservers to "8.8.8.8" and " 1.1.1.1"
From the ESP i can ping these addresses, so the gateway is ok.
No time. What am i missing?
I "solved" the problem by starting with DHCP, getting the time, and moving to a fixed IP.
There must be a better way!
I use the (very) latest 4.1 idf.
Thanks,
Dig