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]

Reply via email to