correct way to set timezone & clock/date?

kitepilot at kitepilot.com kitepilot at kitepilot.com
Tue Aug 25 11:13:28 MST 2009


 From /etc/services 

ntp             123/tcp
ntp             123/udp                         # Network Time Protocol 

I would use "ntp" instead of "udp", and if it doesn't work, take a dump...  
:)
ET 

 

Steven A. DuChene writes: 

> Hmm, I have added these systems to the ntp.conf file on my external gateway system
> that serves as a firewall for my network but when I try to start the ntp service it sits
> there forever trying to get an initial date and time from those systems. 
> 
> This external system has iptables rules and the ones that have to do with udp port 123
> are the following: 
> 
> -A input_ext -p udp -m pkttype --pkt-type broadcast -m udp --dport 123 -j ACCEPT 
> -A input_ext -p udp -m udp --dport 123 -j ACCEPT  
> 
> I am assuming I must have some sort of firewall issue blocking the acquisition of
> the date and time from the external servers but it would seem like the above rules
> that were already present in my firewall setup would have made that a non-issue. 
> 
> Anyone got any ideas or suggestions about this? 
> 
> -----Original Message-----
>>From: Eric Shubert <ejs at shubes.net>
>>Sent: Aug 25, 2009 10:54 AM
>>To: plug-discuss at lists.plug.phoenix.az.us
>>Subject: Re: correct way to set timezone & clock/date? 
>>
>>Steven A. DuChene wrote:
>>> I have a few systems here in my home that are either fedora or opensuse installs.
>>> I was setting up ganglia last night to add some monitoring to my home setup
>>> and discovered I had some issues with clock skew. When I got to looking I noticed
>>> that the timezones were set to MST and most of the systems were off by about
>>> a hour. What is the correct way to setup the timezone correctly for systems located
>>> here in Phoenix where daylight savings time changes do not take place? 
>>> 
>>> Also if you have a small home network what methods do everyone usually use
>>> to keep clocks in sync across the network? I.E. if you use NTP what externally
>>> reliable NTP server do you use?
>>> --
>>> Steven DuChene 
>>> 
>>> 
>>
>>I pick a host on my lan (VMware server or IPCop) to be my ntp server, 
>>then use a near-by ntp servers to sync with. Your lan's dhcp server 
>>(IPCop) can then hand out your lan's ntp server address to your dhcp 
>>clients. 
>>
>>server dewey.lib.ci.phoenix.az.us
>>server ntp.drydog.com
>>are both in the vicinity, and I haven't had any problem with either of 
>>them in the many years I've used them. 
>>
>>-- 
>>-Eric 'shubes' 
>>
>>---------------------------------------------------
>>PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>To subscribe, unsubscribe, or to change your mail settings:
>>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>  
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list