Amiga.org
Amiga computer related discussion => General chat about Amiga topics => Topic started by: LoadWB on July 17, 2012, 08:12:44 AM
-
My MacMini MorphOS machine loses time. Several minutes per hour. Anyone else have this problem? Is there a good utility to automatically update the time using NTP?
-
It is called SetClockNTP and delivered with MorphOS. If it really looses a few minutes per hour, then you should launch a script which looks like this:
Lab loop
SetClockNTP
Wait 60 mins
Skip loop BACK
This will update the clock every 60 minutes.
To launch the script automatically just create a file in S: named "network-startup" with the following lines:
execute MOSSYS:s/network-startup
execute s:FixClock.script
Of course the FixClock.script file is the one you created above and you must ensure to just create/edit the network-startup in SYS:S.
Geit
-
I'd rather find out why it is losing several minutes per hour, sounds like either hardware failure or OS bug. When you just run SetClockNTP, which ntp servers are used?
-
My MacMini MorphOS machine loses time. Several minutes per hour. Anyone else have this problem? Is there a good utility to automatically update the time using NTP?
It could be a dying battery... have u thought of replacing it?
Cheers,
Dragster
-
It could be a dying battery... have u thought of replacing it?
Cheers,
Dragster
I have not, silly man. Apple products contain no user serviceable parts and are made from Unicorn farts and powered by dreams!
But seriously, I'll check on that battery.
@Geit: that's a pretty elegant solution. I'll play with that.
@Kolla: No idea, but I'll find out later tonight when I get home.
-
I'd rather find out why it is losing several minutes per hour, sounds like either hardware failure or OS bug. When you just run SetClockNTP, which ntp servers are used?
Stop operating your computer so close to light-speed. :biglaugh:
-
@LoadWb Are dual or tripple booting ?
Because when i used to switch between MorphOS and MacOs It would always knock my time out by an hour
-
@LoadWb Are dual or tripple booting ?
Because when i used to switch between MorphOS and MacOs It would always knock my time out by an hour
No, straight up MorphOS. I also forgot to mention that the hardware is not losing time: when I reboot, all is well on the time.
-
No, I have the batery K.O.
-
Just got my mini yesterday and it's right on time.
-
My MacMini MorphOS machine loses time. Several minutes per hour. Anyone else have this problem? Is there a good utility to automatically update the time using NTP?
Are you sure it's not just the fact your OS is so fast it's suffering relativistic effects? :)
Seriously though, Isn't SetClockNTP* (C: command) what you want? If memory serves that's been around since long before 2.7...
-edit-
*Sorry, late to the party, I see that's been pointed out already.
-
Are you sure it's not just the fact your OS is so fast it's suffering relativistic effects? :)
Seriously though, Isn't SetClockNTP* (C: command) what you want? If memory serves that's been around since long before 2.7...
-edit-
*Sorry, late to the party, I see that's been pointed out already.
SetClockNTP works just fine. I did not know it existed, so that's good. The underlying problem remains, however, that as MorphOS runs on this box it loses time. I'm going to try the scripted method for fixing that -- I suppose there's no "cron" in MorphOS?
Which brings up another issue. If the network cable is not connected, I cannot get the TCP/IP stack to pull an address from DHCP once it is connected. ifconfig down/up does not trigger DHCP, and dhcp is not a valid argument to ifconfig. How do I tell the TCP/IP stack to pull a new DHCP lease?
-
My MacMini MorphOS machine loses time. Several minutes per hour. Anyone else have this problem? Is there a good utility to automatically update the time using NTP?
So does both of my PS3's :)
-
Running a loop script that runs SetClockNTP every hour is not elecant, it's cludge, a really ugly work-around. MorphOS could do with both a real NTP capable time server, and also a scheduler (cron). Those who dual boot with OSX and suffer from hour offsets, that's because OSX is doing The Right Thing™ having the hardware clock set to UTC and calculating the local time from the locale settings - MorphOS should do that same.
-
Running a loop script that runs SetClockNTP every hour is not elecant, it's cludge, a really ugly work-around. MorphOS could do with both a real NTP capable time server, and also a scheduler (cron). Those who dual boot with OSX and suffer from hour offsets, that's because OSX is doing The Right Thing™ having the hardware clock set to UTC and calculating the local time from the locale settings - MorphOS should do that same.
It was kind-of tongue-in-cheek. Something like ntpd would be nice within MOS. How does MOS handle the hardware clock and time zones?
-
My MacMini MorphOS machine loses time. Several minutes per hour. Anyone else have this problem?
Not here, Powerbook, Mac Mini both keep adequate time - no noticable loss per day. Can't say I've compared them against an atomic clock though.
Kolla - ntpd seems a bit overkill for me, a light command line tool with predictable runtime which I can call on demand is fine for such a trivial task, rather than than running a daemon doing comparative analyses of delay times, polling servers every 64 seconds, etc.
I can live with the trade off of possible inaccuracy of a few seconds.
Totally agree about the hardware clock offset though, seems such an obvious annoyance to fix.
-
My MacMini MorphOS machine loses time. Several minutes per hour. Anyone else have this problem? Is there a good utility to automatically update the time using NTP?
Hi,
Just be grateful that is all you lost, several minutes, my Macmini with morphos was a complete waste of time. ;-D
Just kidding.
smerf