Can you add a GPS RX to the system? If so then you can create your own Stratum 1 server by adding the GPSD package then adding the following 2 lines to your ntp.conf file
server 127.127.28.0 minpoll 4 maxpoll 4 prefer fudge 127.127.28.0 time1 0.150 refid GPS The GPSD package makes the NMEA GPS sentances available on port 2947 (?) as well as a shared memory location. The NTP package collects the NMEA time stamp and does it's thing. You then have NMEA GPS data available across the network as well as a Stratum 1 time server for general network use. Have fun. Mark On Wed, 2008-02-20 at 08:56 -0600, Lonnie Abelbeck wrote: > On Feb 20, 2008, at 1:02 AM, Michael Knill wrote: > > > I have a site with no internet and hense no ntp and I want the > > phones to synchronise with the server RTC. > > My understanding is that ntpd cannot act as a server unless it is > > synchronised with a server itself. > > > > I have read that this can be fudged in ntp.conf using: > > > > # local clock > > server 127.127.1.1 prefer > > # Not disciplined > > fudge 127.127.1.1 stratum 0 refid NIST > > > > But can it be used in ntpd.conf also? > > > > Thanks > > Mike > > Mike, > > udel.edu NTP is offered as a custom build option in the current > astlinux-trunk. By default, OpenNTPd is the time client/server in > astlinux. I assume Darrick's latest unofficial trunk builds use > OpenNTPd. > > So, if you have built astlinux-trunk with ntp checked and openntp > unchecked in 'make menuconfig' you should be able to make this work, > I have not done it, but this interests me. > > It would be good to 'characterize' your local clock by allowing NTP > to create it's own drift file while in contact with a NTP server > (takes 60 minutes), before you relocate your box. If your final > destination has wild temperature swings then then this drift file may > not be of much value, but a good guess should not hurt. > > Create the /mnt/kd/ntpd.conf as shown below, it should work. > > Lonnie > > $ cat /mnt/kd/ntpd.conf > > # NTPd Config > # > # default restrictions > restrict default noquery nopeer notrap nomodify > # permit all access over the loopback interface > restrict 127.0.0.1 > # > # Local Clock undisciplined source > # Must be stratum 3 or less for clients to sync > server 127.127.1.0 > fudge 127.127.1.0 stratum 3 > # > # Drift File > driftfile /mnt/kd/ntpd.drift > # > > $ cat /mnt/kd/ntpd.drift > > 149.907 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to [EMAIL > PROTECTED] -- Mark Phillips, G7LTT/NI2O Randolph, NJ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
