NTP Server

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
filosad
 
Posts: 9
Joined: Tue Nov 08, 2022 1:43 pm

NTP Server

Post by filosad »

I would like to know how I can build/configure a Raspberry Pi into a NTP Server. I read articles in which you can use a GPS Receiver make the time sync more accurate, is that possible ?
Thanks, filosad

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: NTP Server

Post by mikeysklar »

It is possible. Adafruit has not put out a guide on making a Pi into a NTP server, but others have used Adafruit GPS hardware. Take a look at these projects.

http://www.gregledet.net/computers/buil ... e-gps-hat/

https://github.com/tiagofreire-pt/rpi_a ... um1_chrony

User avatar
filosad
 
Posts: 9
Joined: Tue Nov 08, 2022 1:43 pm

Re: NTP Server

Post by filosad »

Thanks for the quick response.

Is there any way to do the same with a lite version of a Windows OS ?

Thanks,

User avatar
filosad
 
Posts: 9
Joined: Tue Nov 08, 2022 1:43 pm

Re: NTP Server

Post by filosad »

Any idea which is a better solution:
1. GPS via HAT (what you had in a previous thread)
2. GPS via the USB port, might require special drivers from vendor (if they exist)
Thanks

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: NTP Server

Post by mikeysklar »

USB versus Pi Hat for the Ultimate GPS really depends on your needs. If you needed to include another HAT or wanted easy pin access on the Pi then the USB makes more sense. If you want to keep things compact then a stacked hat would be better.

I can’t comment on Windows Lite usage as a NTP server with Ultimate GPS. I’ve not seen that done.

User avatar
filosad
 
Posts: 9
Joined: Tue Nov 08, 2022 1:43 pm

Re: NTP Server

Post by filosad »

Thanks for your advise !!
There is a kit on the adafruit website that has a kit which includes the GPS hat and related parts (i.e. GPS antenna, headers, battery b/u.
Is it possible to stack hats (GPS hat + PoE hat) ?
Regards

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: NTP Server

Post by mikeysklar »

Stacking a POE + Ultimate GPS hat should be just fine. The POE is just doing power and the GPS Hat is focused on UART so I don’t see any conflict.

Make sure to purchase the PoE+ Hat as you are likely using a Pi3 or Pi4.

https://www.adafruit.com/product/5058

User avatar
filosad
 
Posts: 9
Joined: Tue Nov 08, 2022 1:43 pm

Re: NTP Server

Post by filosad »

Hi again,
Quick question, is there a stacking header (40 pin) that allow me to stack hats on-top of each other. If that is possible, I would need to replace my existing case with a highPi case (no biggie).
Thanks again, filosad

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: NTP Server

Post by mikeysklar »

These stacking headers will work with modern Pi’s (2x20).

https://www.adafruit.com/product/2223

User avatar
filosad
 
Posts: 9
Joined: Tue Nov 08, 2022 1:43 pm

Re: NTP Server

Post by filosad »

I have another question that I hope you can answer:
I would like to take my Raspberry Pi and make it into a VPN Service (Client to Site). I then would be able to use OpenVPN to connect my client (remote) to the devices on the internal network .
Thanks

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: NTP Server

Post by mikeysklar »

That question is off topic for this thread and really for this forum.

User avatar
filosad
 
Posts: 9
Joined: Tue Nov 08, 2022 1:43 pm

Re: NTP Server

Post by filosad »

Thanks, I do have a separate thread on the same topic (VPN). Being there was no response to the thread, I thought I would ping you to see if you heard/seen anything regarding the same.

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”