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
SNTP and static IP
Re: SNTP and static IP
1.1.1.1 and 8.8.8.8 are public DNS servers, not NTP servers. Use the pool.ntp.org servers for NTP/SNTP.
-
- Posts: 26
- Joined: Wed Jun 28, 2017 5:03 pm
Re: SNTP and static IP
Hi markkuk
It would take 100 years for me to find out ...
It works with the right ips.
Thanks
Dig
It would take 100 years for me to find out ...
It works with the right ips.
Thanks
Dig
Who is online
Users browsing this forum: No registered users and 72 guests