Hi. I am encountering a problem when I run the 'opkg update' command through SSH on my MyRIO-1900.. The output is as follows. The software set installed on the MyRIO is Labview Real Time 19.0 - NI MyRIO 19.5 September 2019
admin@myrio1900oee:~# sudo opkg update
* opkg_validate_cached_file: Failed to download https://download.ni.com/ni-linux-rt/feeds/2019.1/arm/all/Packages.gz headers: Peer certificate cannot be authenticated with given CA certificates.
* opkg_validate_cached_file: Failed to download https://download.ni.com/ni-linux-rt/feeds/2019.1/arm/cortexa9-vfpv3/Packages.gz headers: Peer certificate cannot be authenticated with given CA certificates.
* opkg_validate_cached_file: Failed to download https://download.ni.com/ni-linux-rt/feeds/2019.1/arm/xilinx-zynq/Packages.gz headers: Peer certificate cannot be authenticated with given CA certificates.
I have limited knowledge in terms of Linux. If anyone can point me in the right direction, it will be very helpful. Thanks.
These types of issues can be caused by the network configuration. If you are using a corporate/school network, the administrators may be blocking certain types of traffic. They do this for legitimate security reasons. Unfortunately it can cause some network operations to fail. If you have access to another network, it is worth connecting the computer and MyRIO to it and see if it works. A home internet connection is a good example.
Thanks for the insight. I did try using my home network but the problem still occurs.
I tried removing the Real Time 2019 and installed Real Time 2017 software on the MyRIO. When I ran the 'opkg update' command, there was no error. Is there something different between the 2017 and 2019 version of Real Time software?
Thanks for all the help.
Linux actually has a big community so you can find a lot of help, even unrelated to cRIO.
I suggest you checked this article, might be helpful: https://groups.google.com/g/opkg-devel/c/Q5aRt0nQRmk?pli=1
Or try to write to NI support.
Thanks for the suggestion. I think I have found a temporary solution that works for me. I've downgraded the Real Time version on myRIO from 19.5 to 19.0 and I can run 'opkg update' without any problems.
Thanks for all the help. So glad this community is awesome and helpful.
I had this same issue on several cRIO-9047's. Turns out the problem was the date was so far off on the cRIO internal clock that the security certificates returned as expired (The internal date/time was somewhere in 2022 and the 2021 certificates were seen as expired).
Setting the correct date/time on the cRIO fixed the issue.
Wanted to reply with my solution in case this hit someone else down the road.