NetworkManager time sync

Dan Williams dcbw at redhat.com
Mon Jul 12 17:47:00 EDT 2010


On Mon, 2010-07-05 at 08:41 -0300, Esteban Bordon wrote:
> You have to put a script calling ntpdate
> in /etc/NetworkManager/dispatcher.d/

You can also get the NTP server that may be passed down from DHCP in the
environment of the script on 'up' events.  See 'man NetworkManager'.
That's of course useless if you can't trust DHCP, but might be helpful.

Dan

> 
> regards,
> Esteban.
> 
> 
> 2010/7/3 Bernie Innocenti <bernie at codewiz.org>
>         Dan,
>         
>         we don't have any way to synchronize the clock on the XO...
>         I'd rather
>         avoid running ntp all the time as it wastes 2MB of RSS. Does
>         NetworkManager provide a service to automatically call ntpdate
>         when the
>         interface goes up?
>         
>         --
>           // Bernie Innocenti - http://codewiz.org/
>          \X/  Sugar Labs       - http://sugarlabs.org/
>         
>         _______________________________________________
>         Devel mailing list
>         Devel at lists.laptop.org
>         http://lists.laptop.org/listinfo/devel
> 





More information about the Devel mailing list