Welcome, Guest. Please login or register.

Author Topic: MorphOS on MacMini loses time  (Read 4381 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show all replies
MorphOS on MacMini loses time
« 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?
 

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show all replies
Re: MorphOS on MacMini loses time
« Reply #1 on: July 17, 2012, 03:17:34 PM »
Quote from: Dragster;700408
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.
 

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show all replies
Re: MorphOS on MacMini loses time
« Reply #2 on: July 17, 2012, 08:18:02 PM »
Quote from: JJ;700413
@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.
 

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show all replies
Re: MorphOS on MacMini loses time
« Reply #3 on: July 18, 2012, 04:35:43 AM »
Quote from: Karlos;700470
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?
 

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show all replies
Re: MorphOS on MacMini loses time
« Reply #4 on: July 18, 2012, 02:43:14 PM »
Quote from: kolla;700522
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?