Re: [ntp:questions] Handle ntp conf modification when ntp is already running
(Found unsent in my draft folder) Arthur Lambert writes: > Hi, > > Thank you for all your answer. > > So in fact Jochen, even if I need for some reason to handle dynamic > change on ntp.conf, you are telling me that it is cleaner and better > to restart the daemon ? I'm not sure I'd agree that it is better/cleaner to restart the daemon. There may be some corner cases where the dynamic config stuff doesn't let you do/undo everything - in that case it would be better to find and fix these cases. > I am currently putting some modification in my ntp conf file thanks to > tr69 protocols. Moreover due to security constraints it is very hard > for me to restart the ntp daemon.. It is quite strange that noone try > to patch ntp daemon to handle runtime modification on ntp conf. Most folks have a strong preference for letting ntpd run for as long as possible. And I think you'll find that there can be a lot to do to "undo" everything that is in-place just to cleanly re-process an ntp.conf file. > I also tried to use confi-from-file feature from ntpq without success. > I add a ntp url in my ntp conf and run ntpq -c config-from-file > /etc/ntp.conf. Then I am not able to see my new ntp url by running > ntpq -p command. Have you tried running those commands from the ntpq CLI, with the :config directive? I also don't know if anybody has written a test case for the config-from-file stuff. That might be a good place to start - you can use the 'saveconfig' directive to test to see if your changes have been made. > If I am able to create a clean patch to handle runtime modification I > will be happy to share it. Please consider discussing your ideas with folks - you are looking at a lot of work and if you want to see your patches included in the main distribution it would be best if we all agreed on how things look. H -- Harlan Stenn http://networktimefoundation.org - be a member! ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] NTP+ NMEA +GPS +PPS
On 12/08/14 09:02, HVZ wrote: I have installed meinburg's ntp demon "ntp-4.2@spider-man-2-win32-setup.exe" inside win_server2008. It is not Meinburg's demon, or even daemon. It is the reference implementation, with an installer configured by Meinburg. 1-Is it possible to use a GPS receiver module (which also has PPS) to sync the pc using installed ntpd ? 2-Dose NTP able to use NMEA massages +PPS signal to sync PC's time? Yes. See other reply. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] NTP+ NMEA +GPS +PPS
On 12/08/2014 09:02, HVZ wrote: hi I am somehow new to ntp. I am interested to sync a windows OS to GPS time. I have installed meinburg's ntp demon "ntp-4.2@spider-man-2-win32-setup.exe" inside win_server2008. 1-Is it possible to use a GPS receiver module (which also has PPS) to sync the pc using installed ntpd ? 2-Dose NTP able to use NMEA massages +PPS signal to sync PC's time? regards 1. Yes, send the PPS signal to the DCD pin of your COM port. Usually a TTL-level signal will drive an RS-232 COM port. This is what I have on one system for a Sure GPS/PPS source: server 127.127.22.1minpoll 4 server 127.127.20.1minpoll 4 mode 18 fudge 127.127.20.1time1 +0.335 refid NMEA 2. Yes, like the arrangement above. You will find more information (but not, perhaps, a step-by-step guide) on my Web site. I suggest updating to a more recent version of NTP and Windows executables are also on my Web site. -- Cheers, David Web: http://www.satsignal.eu ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
[ntp:questions] NTP+ NMEA +GPS +PPS
hi I am somehow new to ntp. I am interested to sync a windows OS to GPS time. I have installed meinburg's ntp demon "ntp-4.2@spider-man-2-win32-setup.exe" inside win_server2008. 1-Is it possible to use a GPS receiver module (which also has PPS) to sync the pc using installed ntpd ? 2-Dose NTP able to use NMEA massages +PPS signal to sync PC's time? regards ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions