Comments (9)
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.
Busybox has a built-in service for this, we just lack its activation. But we are taking patches 😉.
from meta-iot2000.
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.
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.
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.
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.
sorry, I won't submit a pull request, because I quit using yocto and switch to debian.
from meta-iot2000.
...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.
Feature merged - thanks for the suggestion and inputs.
from meta-iot2000.
Related Issues (20)
- Nodejs Error HOT 4
- Question: Communication between Linux and Arduino HOT 2
- Enabling CONFIG_TUN HOT 2
- Installing NodeJS 10 or above HOT 4
- udhcpc can't handle ethernet hotplug HOT 2
- No .wic file generated HOT 6
- swupdate remote HOT 20
- Error while trying to add node-red-contrib-msg-queue to a custom image HOT 4
- building the kas-example image 5 tasks failed, image not created HOT 14
- Replace node-red-contrib-iiot-opcua with node-red-contrib-opcua HOT 3
- Problem with Digital input/outputs iot 2040 HOT 15
- build error HOT 10
- Example Image not Bootable HOT 8
- Writing DQs with node-red-node-intel-gpio causes constant output of 1 HOT 2
- Pre-installed Modbus node is not compatible and leads to crash of Node-Red HOT 4
- build of an image failed with exit code '1' HOT 3
- Not possible to install nodes with V3.1.1 HOT 4
- node-red iot2040 image 3.1.1 node-red-admin not found
- Error compilation with nodejs-native version 8
- Default Siemens security policy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-iot2000.