Code Monkey home page Code Monkey logo

Comments (9)

nospam2000 avatar nospam2000 commented on August 28, 2024

Adding ntpd will be one of my first projects for a self-baked image.

Hopefully I can get it working as stratum 1 server with a locally connected GPS receiver and even with PPS, but this depends on the hardware and kernel drivers.

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

Busybox has a built-in service for this, we just lack its activation. But we are taking patches 😉.

from meta-iot2000.

nospam2000 avatar nospam2000 commented on August 28, 2024

BusyBox's ntp client is small, but also has limitations. A short look at its REAME says for example that is doesn't support multiple servers.
ntpd is not only an ntp client but also a ntp server.

Nevertheless BusyBox will be appropriate for many users.

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

Hmm, the code says the busybox client supports multiple servers. It also has an optional server mode as well, but I have no own experience to compare it to a full-blown one.

from meta-iot2000.

nospam2000 avatar nospam2000 commented on August 28, 2024

I have now ntpd running using the standard recipe from OpenEmbedded and an adapted config file. Do you want a patch or merge request or a description how to get it into the image?

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

Pull request, please. Regarding the style of the commit, follow other commits in this repo. The log should describe why we want this change and carry a signed-off according to https://developercertificate.org.

I would suggest to preconfigure things generically for ntpclient operation, using e.g. the parameters of http://www.pool.ntp.org/en/use.html.

Did you also try the busybox applet? In any case, please document the reason for choosing the full-featured one.

from meta-iot2000.

nospam2000 avatar nospam2000 commented on August 28, 2024

sorry, I won't submit a pull request, because I quit using yocto and switch to debian.

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

...at your own risk.
You will have to rebuild an undefined number of packages then (I think I cited a war story elsewhere). An own kernel will also be required unless you can even live without network (will improve with 4.12 and then significantly with 4.13).
If you want to do this properly, this can be an interesting tool to describe the process: https://github.com/ilbers/isar. We didn't follow this path for the IOT2000 due to the significant effort + the fact that users will still not be able to pull from arbitrary Debian repos.

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

Feature merged - thanks for the suggestion and inputs.

from meta-iot2000.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.