You are here

AREDN Router with USB GPS and WhereAndWhen

5 posts / 0 new
Last post
KL7KVG
AREDN Router with USB GPS and WhereAndWhen
I have a Mikrotik hAP ac3 router with a USB GPS and WhereAndWhen installed.  I verified that PtP connected nodes receive GPS time and location.  Can this router also serve as an NTP server to other (non-PtP) AREDN nodes?

I read what I could find about setting up WhereAndWhen, including adding custom DHCP tags.  I also read about setting up an NTP service.  I'm still pretty inexperienced so I would appreciate detailed instructions.
nc8q
nc8q's picture
Can an AREDN router also serve as an NTP server?
"Can this router also serve as an NTP server to other (non-PtP) AREDN nodes?"
Yes.

"Can an AREDN router also serve as an NTP server?"
Yes.

This will work for all nodes in the LAN running any mode
(non-PtP) is not a requirement.

'If you run NTP on your node Continually then a new switch
will appear which allows your node to function as an NTP
Server for any of your LAN-connected devices.
The NTP Server switch is disabled by default.'

I added bold above.

73, Chuck

 
KL7KVG
AREDN router as a mesh NTP server
Thanks, Chuck, for your quick response!  I found the switch and turned it on.  Now my LAN-connected devices are getting their time from my router.

My PtP node also gets its time (and location) from the router.

However, my other mesh routers do not sync their time with my hAP-ac3.  I added an NTP service to the router and put the <router name>.local.mesh address as the first entry in another node's NTP server list.  Still no joy.

What am I doing wrong?  What else do I need to do?
nc8q
nc8q's picture
However, my other mesh routers do not sync their time with my hA
However, my other mesh routers do not sync their time with my hAP-ac3.
I added an NTP service to the router and put the .local.mesh address as the first entry in another node's NTP server list.

kl7kvg:

My brain is getting confused on your PtP connected nodes and your non-PtP connected nodes,
'mesh' is topography in my brain.
My NTP server is a RPi in my garage...not an AREDN node.
I am attaching a screen print of a remote (RF) connected node.
I hope this helps, Chuck

 
Image Attachments: 
KL7KVG
AREDN Mesh NTP Time Server
Chuck, Thank you for your helpful information.  I'm still learning the terminology.  I have attached an image of my small, isolated mesh.

With WhereAndWhen running on router A and a USB GPS receiver attached, router B gets the time and position.  Even after enabling constant updates and turning on the switch to allow router A to provide NTP service to LAN devices, I have had mixed results getting the time on Raspberry Pi C.  Router D never gets the time from router A.

I reasoned that it should also be possible for router A to serve as an NTP server for router D (and other devices on the mesh).  So far, I have not found a way to do it.  If this is not possible I will do as you did and turn my Raspberry Pi into an NTP server.
Image Attachments: 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer