I am using Raspberry Pi 4 as a gateway to my esp8266 devices. I have connected ethernet to Raspberry Pi for internet connection. It works fine. I want to generate NTP time in my ESP8266 device.
When I connect the devices to direct Wi-Fi they are getting right time. But when I connect them to Raspberry Pi gateway they are getting date 01.01.1970 .
How to get current date from Raspberry Pi gateway?