[LinuxPPS] ntp binary rpm w/ NMEA and ATOM patches
Udo van den Heuvel
udovdh at xs4all.nl
Thu Aug 2 19:07:35 CEST 2007
Rodolfo Giometti wrote:
> On Thu, Aug 02, 2007 at 04:22:38PM +0200, Udo van den Heuvel wrote:
>> What CPU should I build the rpm for? i386?
>> Or can I use something better these days?
>> (for myself I use -march=i686 -mtune=c3-2)
>
> I don't know... maybe you can choose one and explicit it or just use
> i386.
OK.
So:
Download the rpm:
wget -c http://pindarots.xs4all.nl/ntp-4.2.4p2-1r.fc7.i386.rpm
This ntp rpm was compiled agains linux 2.6.22.1 with
ntp-pps-2.6.22-ter.diff using the latest patches for the ntp NMEA and
ATOM drivers. I used strict i386 CPU flags.
Install the rpm:
rpm -Uvh ntp-4.2.4p2-1r.fc7.i386.rpm
Check your ntp.conf:
vi /etc/ntp.conf
Should contain stuff like:
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
server 127.127.20.0 prefer minpoll 4
fudge 127.127.20.0 flag3 1 flag2 0 time1 0.000
and/or:
server 127.127.22.0 minpoll 4 maxpoll 4
fudge 127.127.22.0 flag3 1 flag2 0 time1 0.000
(for NMEA and/or PPS)
More information about the LinuxPPS
mailing list