You are not logged in.

#1 2012-03-19 15:13:13

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

SOLVED: NTP and NetworkManager

I'm confused by this statement in the "Network Time Protocol daemon" Wiki (https://wiki.archlinux.org/index.php/NT … orkManager):

"NetworkManager

Note: ntpd should still be running when the network is down if the hwclock daemon is disabled, so you should not use this."

How am I to interpret the last word "this" in that statement ? If I'm using NetworkManager I should *not* use Ntpd at all? Or not disable the hwclock deamon when using NetworkManager & Ntpd?

Can someone clarify?

Last edited by twelveeighty (2012-03-26 22:45:34)

Offline

#2 2012-03-19 16:40:30

schlumpfimsumpf
Member
Registered: 2011-08-13
Posts: 29

Re: SOLVED: NTP and NetworkManager

You can use ntp with networkmanager. You just have to use a dispatcher skrip to start/stop ntp when the network starts/stops. In arch this skript is maintained in the package networkmanager-dispatcher-ntpd for ntp or networkmanager-dispatcher-openntpd for openntp.

Offline

#3 2012-03-26 22:44:47

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: SOLVED: NTP and NetworkManager

OK - for future reference, @schlumpfimsumpf is correct: install networkmanager-dispatcher-ntpd and ignore the "...you should not do this" statement in the Wiki. I *think* the Wiki means to say: "do not disable the hwclock deamon". My currently working configuration:
rc.conf:
DAEMONS=(hwclock syslog-ng crond dbus ufw networkmanager <others>)

(I'm running ufw firewall)

And then after installing networkmanager-dispatcher-ntpd and rebooting + logging in, ntpd is running, managing my clock as desired.

Offline

Board footer

Powered by FluxBB