2014-12-05 13:18 keltezéssel, Boszormenyi Zoltan írta: > 2014-12-05 12:26 keltezéssel, Patrik Flykt írta: >> Hi, >> >> On Fri, 2014-12-05 at 10:27 +0100, Boszormenyi Zoltan wrote: >> >>> I am using a custom distro derived from Angström (based on Yocto Daisy) >>> and I have a problem with the NTP setup in connman. >>> >>> I can configure the fallback timeservers just fine in >>> /var/lib/connman/settings. >>> >>> However, as it turns out my Linksys router provides NTP service and >>> advertises it via DHCP, too, and I can't seem to be able to convince >>> connman to avoid using it. >>> >>> For some reason, connman discovers and adds it to the list of >>> Timeservers even when the machine is set to use a static IP address. >> ConnMan adds the default router as one of the NTP servers. In most cases >> the default (home) router has NTP configured, and all works just as >> expected. > I see.
Another question: is there a way do disable this behaviour, so only the manually configured (fallback) servers are used for NTP but not the local router? > >>> Is there a way to configure connman so >>> 1. it doesn't discover (and use) NTP when the machine has a static IP, or >>> 2. it doesn't use NTP at all? >> Set TimeUpdates to false in the Clock API, see doc/clock-api.txt > Thanks for the pointer. > > "TimeUpdates=manual" in the [global] section fixed it. > > Best regards, > Zoltán Böszörményi > > _______________________________________________ > connman mailing list > [email protected] > https://lists.connman.net/mailman/listinfo/connman _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
