Anybody know of any software that will snyc SuSE with a OS X system. Apple makes it duck soup easy to keep the OS X system synced with GMT. I wanna sync SuSE to the Mac. Thanks john
John N. Alegre wrote:
Anybody know of any software that will snyc SuSE with a OS X system. Apple makes it duck soup easy to keep the OS X system synced with GMT. I wanna sync SuSE to the Mac.
The usual method is to use ntp. You'll need an ntp server for the Mac, which shouldn't be too hard to come by, since the Mac is BSD Unix at heart. Failing that, it's also a simple matter to keep Linux synced to external time servers.
On Wed, 1 Sep 2004, John N. Alegre wrote:
Anybody know of any software that will snyc SuSE with a OS X system. Apple makes it duck soup easy to keep the OS X system synced with GMT. I wanna sync SuSE to the Mac.
I think (if possible) would be much more easy if you do the reverse: sync the Mac with a SuSE box. I did it a couple of times and worked perfectly (you have to take care of the timezone on both machines, otherwise you won't get the right time) - I usually keep the big problems in a solid ground to me (Linux), otherwise will have to learn a lot of Apple BSD... OS X hides lots of details behind its acqua interface; I suggest you not to fight against it... I'm sure that OS X Server has a ntp server available; not so sure about regular OS X (not a server edition). Marcos Lazarini
On Wed, 1 Sep 2004 07:41:36 -0500
"John N. Alegre"
Anybody know of any software that will snyc SuSE with a OS X system. Apple makes it duck soup easy to keep the OS X system synced with GMT. I wanna sync SuSE to the Mac. As mentioned by James and Marcos, use ntpd. You will be much much better if you sync both systems with an external time source. OS X is really FreeBSD under the covers, and it is probably using an xntpd daemon.
Or, either system can be used as a time server or client, but the
simplest, most straight forward thing is simply to sync of the same
external source.
--
Jerry Feldman
Jerry Feldman wrote:
On Wed, 1 Sep 2004 07:41:36 -0500 "John N. Alegre"
wrote: Anybody know of any software that will snyc SuSE with a OS X system.
[snip]
As mentioned by James and Marcos, use ntpd. You will be much much better if you sync both systems with an external time source. OS X is really FreeBSD under the covers, and it is probably using an xntpd daemon.
It's "normal" ntpd: macpolli:~ polli$ ps aux |grep ntp root 299 0.0 0.0 18320 252 ?? Ss Tue08AM 0:17.43 ntpd -f /var/run/ntp.drift -p /var/run/ntpd.pid On a OS X (not server) 10.3.5
Or, either system can be used as a time server or client, but the simplest, most straight forward thing is simply to sync of the same external source.
I agree, but since OS X has ntpd enabled by default (mine has), it's just a matter of personal choice to choose the Mac or an external source. Bye, Ermanno Polli
Jerry Feldman wrote:
On Wed, 1 Sep 2004 07:41:36 -0500 "John N. Alegre"
wrote: Anybody know of any software that will snyc SuSE with a OS X system. Apple makes it duck soup easy to keep the OS X system synced with GMT. I wanna sync SuSE to the Mac.
As mentioned by James and Marcos, use ntpd. You will be much much better if you sync both systems with an external time source. OS X is really FreeBSD under the covers, and it is probably using an xntpd daemon.
Or, either system can be used as a time server or client, but the simplest, most straight forward thing is simply to sync of the same external source.
additionally Paul Ikanza wrote:
Hey guys, this is an easy one, How do I set the time on my linux box-don't seem to figure out how?
What about netdate? Just install it with yast2 and add something like ping -c 1 -w 5 your_time_servers > /dev/null 2>&1 if [ "$?" != 0 ] ; then echo "Master clock server unreachable" else echo "Sync date" /usr/sbin/netdate tcp your_time_servers > /dev/null fi to boot.local or in a cronjob. I don't know if it works with OS X but the manpage sounds like it. And I don't know if this isn't overkill for Paul's problem. I just don't like ntpd :-) Kolja
Does netdate allow for clock drift? If not, the various computers will drift relavtive to each other, between updates. You might also get sudden time jumps, which may cause problems. Kolja Kauder wrote:
Jerry Feldman wrote:
On Wed, 1 Sep 2004 07:41:36 -0500 "John N. Alegre"
wrote: Anybody know of any software that will snyc SuSE with a OS X system. Apple makes it duck soup easy to keep the OS X system synced with GMT. I wanna sync SuSE to the Mac.
As mentioned by James and Marcos, use ntpd. You will be much much better if you sync both systems with an external time source. OS X is really FreeBSD under the covers, and it is probably using an xntpd daemon. Or, either system can be used as a time server or client, but the simplest, most straight forward thing is simply to sync of the same external source.
additionally
Paul Ikanza wrote:
Hey guys, this is an easy one, How do I set the time on my linux box-don't seem to figure out how?
What about netdate? Just install it with yast2 and add something like
ping -c 1 -w 5 your_time_servers > /dev/null 2>&1 if [ "$?" != 0 ] ; then echo "Master clock server unreachable" else echo "Sync date" /usr/sbin/netdate tcp your_time_servers > /dev/null fi
to boot.local or in a cronjob.
I don't know if it works with OS X but the manpage sounds like it. And I don't know if this isn't overkill for Paul's problem. I just don't like ntpd :-)
Kolja
participants (6)
-
Ermanno Polli
-
James Knott
-
Jerry Feldman
-
John N. Alegre
-
Kolja Kauder
-
Marcos Vinicius Lazarini