Re: NPTD multiple timezone on same server (fix)
Henning Brauer wrote: * Daniel Ouellet <[EMAIL PROTECTED]> [2005-06-02 20:57]: How to: I wish to use the same server running ntpd from Henning as the server, but I haven't find a way to have two daemon running on different IP's that would be off by one hour each. So, is it possible first to do that? no. well, you might just run version hacked up to alwas add an hour after doing the gettimeofday(), but that is really hacky. I don't intend to add a knob for that, this is really Yet Another Cisco Fuckup. Thanks! I hacked it and my process is now called "Cisco brain dead ntp engine" Except that I did the changes in the server_dispatch instead. The gettimeofday() actually would also affect the local time of the server. This way I changed only the message send in reply to clients and only affect that. reply.rectime = d_to_lfp(3600 + rectime); reply.reftime = d_to_lfp(3600 + conf->status.reftime); reply.xmttime = d_to_lfp(3600 + gettime()); Not very elegant, but hey, that's for a brain dead Cisco VoIP phone! (:> I think I might just add an entry in my dns like this edt-only-for-brain-dead-cisco-est-edt-timezone-like-ntp-client.presscom.net It's a dirty hack, but it will address the issue until Cisco fix it's shit I hope! If not, I will need to make it remove the correction automatically for EST/EDT switch then. Thanks for your time. Daniel
Re: NPTD multiple timezone on same server
* Daniel Ouellet <[EMAIL PROTECTED]> [2005-06-02 20:57]: > How to: I wish to use the same server running ntpd from Henning as the > server, but I haven't find a way to have two daemon running on different > IP's that would be off by one hour each. > > So, is it possible first to do that? no. well, you might just run version hacked up to alwas add an hour after doing the gettimeofday(), but that is really hacky. I don't intend to add a knob for that, this is really Yet Another Cisco Fuckup. -- BS Web Services, http://www.bsws.de/ OpenBSD-based Webhosting, Mail Services, Managed Servers, ... Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
NPTD multiple timezone on same server
OK, Here is a very stupid question I have to admit, but I still need to find a way to do this. The problem: Stupid Cisco IP phones for 7905 and 7912 DO NOT process the EDT/EST time change properly like the higher model 7940 & 7960. Even request with plenty of SmartNet to Cisco still without answer other then their last release 7.4 remove the time display of the phone totally! Good way to fix it right! Temporary solution: Program all the 7905 & 7912 to get their ntp from a server that have the clock off by one hour and manually change this at each EDT/EST time change instead of programing all phones. How to: I wish to use the same server running ntpd from Henning as the server, but I haven't find a way to have two daemon running on different IP's that would be off by one hour each. So, is it possible first to do that? I know Henning makes the daemon simple and user proof so that it just work! And yes it does a great job! So, can I somehow trick it into doing this to address the stupidity of Cisco instead of installing yet an other server just for that? Sure, I will do so if I can't have my NTP server provide both. I run one service by servers, so by principal I would do so on my ntp server. I realize this is stupid, but if we pass that, and over look why ( Cisco incapability to do it right), how can I do so, ( to temporary bypass the problem ) if possible? Regards, Daniel