Would it be possible to integrate NTP or NTP-SEC into CCGX firmware, as this would make an excellent addition thus enabling accurate timing of computers and radio equipment on board
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Would it be possible to integrate NTP or NTP-SEC into CCGX firmware, as this would make an excellent addition thus enabling accurate timing of computers and radio equipment on board
I am a bit lost here, the ccgx does support NTP...
Hi Jeroen
I know that the CCGX does not support NTP or NTP-SEC.
Would is be possible to hack the Unix like operations system (venus) and make the CCGX a NTP Server as well as doing all it's present work. This would to my limited knowledge go some think like .....
Install ntp or ntp-sec, install gpsd, install pps, install libs for all the above, figure out how to obtain pps from usb gps and the other stuff I don't know about
Just a thought or may be a pipe dream
ah, now I understand, you want a ntpd server. I will add that as optional package. It will arrive in the testing feed tomorrow or the day after.
Wow.... I'm amazed
Ask and you shall get
Thank you
Kevin
Next time please reply to the comment, not to yourself.
For the moment you need this to install them like below. Obviously you need to configure them to whatever it is you want to do. Any changes to the rootfs will be undone during an update, so you likely want to disable that until you have a post update script installed to restore the behavior you want. For completeness customers should not track the testing feed normally, but candidate instead.
root@ccgx:~# /opt/victronenergy/swupdate-scripts/set-feed.sh testing Switching feed to testing root@ccgx:~# opkg update Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/all/Packages.gz. Updated source 'all'. Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/cortexa8hf-neon/Packages.gz. Updated source 'cortexa8hf-neon'. Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/ccgx/Packages.gz. Updated source 'ccgx'. root@ccgx:~# opkg install ntp gpsd Installing ntp-tickadj (4.2.8p10) on root Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/cortexa8hf-neon/ntp-tickadj_4.2.8p10-r0_cortexa8hf-neon.ipk. Installing gpsd-conf (3.16) on root Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/cortexa8hf-neon/gpsd-conf_3.16-r0_cortexa8hf-neon.ipk. Removing any system startup links for gpsd ... Installing gpsd-gpsctl (3.16) on root Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/cortexa8hf-neon/gpsd-gpsctl_3.16-r0_cortexa8hf-neon.ipk. Installing ntp (4.2.8p10) on root Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/cortexa8hf-neon/ntp_4.2.8p10-r0_cortexa8hf-neon.ipk. Removing any system startup links for ntpd ... Running useradd commands... NOTE: ntp: Performing useradd with [ --system --home-dir /var/lib/ntp --no-create-home --shell /bin/false --user-group ntp] Installing gpsd-udev (3.16) on root Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/cortexa8hf-neon/gpsd-udev_3.16-r0_cortexa8hf-neon.ipk. Installing gpsd (3.16) on root Downloading https://updates.victronenergy.com/feeds/venus/testing/packages/rocko/cortexa8hf-neon/gpsd_3.16-r0_cortexa8hf-neon.ipk. Configuring gpsd-conf. Adding system startup for /etc/init.d/gpsd. Starting GPS (Global Positioning System) daemon gpsd Configuring gpsd-gpsctl. Configuring gpsd-udev. Configuring gpsd. update-alternatives: Linking /etc/default/gpsd to /etc/default/gpsd.default Configuring ntp-tickadj. Configuring ntp. update-alternatives: Linking /usr/sbin/ntpd to /usr/sbin/ntpd.ntp Adding system startup for /etc/init.d/ntpd. Starting ntpd: done root@ccgx:~# /opt/victronenergy/swupdate-scripts/set-feed.sh candidate Switching feed to candidate
12 People are following this question.