[maemo-users] [maemo-users] Using ntpdate (or Where's hwclock?)

From: Tomas Junnonen tomas.junnonen at nokia.com
Date: Fri Dec 8 10:53:29 EET 2006
ext Marius Gedminas wrote:
> I've installed ntpdate, and it works fine:
> 
>   ~ $ sudo ntpdate clock.isc.org
>   7 Dec 23:11:43 ntpdate[1083]: step time server 204.152.184.72 offset 174.550245 sec
> 
>   ~ $ sudo ntpdate clock.isc.org
>   7 Dec 23:13:05 ntpdate[1086]: adjust time server 204.152.184.72 offset 0.001059 sec
> 
> however when I reboot, the clock is again off by three minutes.
> 
> Obviously, I need to set the hardware clock from the system clock.  On a
> regular Linux machine I'd do that with
> 
>   sudo hwclock --systohc
> 
> How can I do that on the 770?  There's no hwclock.

Use "/mnt/initfs/usr/bin/retutime --rtc-from-system"

Regards,
Tomas

More information about the maemo-users mailing list