From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO Time-Synchronization NTP when cRIO is offline

Solved!
Go to solution

All

 

I am trying to synchronize my cRIO to a NTP server that is hosted on an accessible intranet but no access to internet. I was looking at 

https://forums.ni.com/t5/Example-Code/Installing-and-Configuring-NTP-on-NI-Linux-Real-Time-Devices/t...

 

I was going to download the opkg package offline from https://downloads.openwrt.org/releases/, and transfer via USB to the cRIO and install.

 

It looks like opkg is target dependent. It looks like cRIO 9045 is armv7, but how do I match that with the compatible targets for opkg? Thoughts?


Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 6
(2,287 Views)

There are feeds which have a lot of standard packages compiled for Linux RT systems at http://download.ni.com/ni-linux-rt/feeds/ .

 

Also, I believe the 9045 is x64 and not arm.

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 6
(2,222 Views)
Solution
Accepted by topic author winterishere8

I ended up following these 2 links and it solved my issue 🙂

 

https://www.slideshare.net/BryanHeslop1/configuring-compactrio-to-synchronize-clocks-with-ntp-server...

Above link specifically addresses synchronizing cRIO to NTP when there is no internet available

 

https://www.cyberciti.biz/faq/linux-unix-bsd-is-ntp-client-working/

tells how to verify

 

(this is good for people who are not linux savvy)


Kudos are the best way to say thanks 🙂
0 Kudos
Message 3 of 6
(2,216 Views)

Thanks for sharing your insight. I'm also facing the issue how to update a cRIO without internet connection and with limited linux skills. Unfortunately the slideshare link is not working anymore. Probably it's just a few lines of shell commands, right?

0 Kudos
Message 4 of 6
(1,788 Views)
0 Kudos
Message 5 of 6
(1,779 Views)

Hello,

I am capable to make offline installation of a cRIO Linux Real Time system.

When I am connected with ssh, I can use opkg update and I can see that opkg uses my PC as a server.

 

But now I want to install NTP and I cannot find a way to download the ntp packages from openwrt.

 

Where did you find your ntp packages and how did you dowload them ?

 

Thanks for your help.

0 Kudos
Message 6 of 6
(779 Views)