Smbclient Package Not Available on a Linux Real-Time Target

Updated Jun 30, 2026

Reported In

Other

  • Samba
  • SMB

Issue Details

I am using LabVIEW 2024 Q3 (32-bit) on a cRIO-9042 system. In a previous setup using LabVIEW 2020 on a cRIO-9030, I used the smbclient which is an add-on module to transfer files to a network drive without mounting it.

After migrating to the cRIO-9042, the same functionality is no longer available, and the smbclient utility cannot be used.

The current system configuration is:

  • Hardware: cRIO-9042
  • Software: LabVIEW 2024 Q3 (32-bit)

Attempts to locate or use smbclient indicate that the required packages are not present on the system.

Solution

The smbclient functionality is unavailable on the cRIO-9042 because the required Samba and smbclient packages are not present on the system, and the system does not include the necessary package feed.

To restore this functionality, install the required packages on the target system. Check after completing each step to determine whether the issue is resolved.

  1. Verify the current system configuration and package availability:

    • cat /etc/os-release
    • which smbclient
    • file /usr/bin/smbclient
  2. Attempt to install the required packages using the package manager. If the system is offline, skip to step 4:

    • opkg update
    • opkg install samba smbclient
  3. Check whether the installation is successful. If it fails, the system may be configured for an offline package manager and cannot access the required feeds.

  4. If the system is offline, manually install the required packages:

    • Download the required .ipk packages (including all dependencies) from the NI Linux Real-Time extra feed:
      https://download.ni.com/#ni-linux-rt/feeds/2024Q3/x64/extra/
    • Alternatively, use the provided package set that contains all required dependencies.
    • Transfer the packages to the target system.
    • Install the packages locally to ensure all dependencies are satisfied.
  5. Verify that the installation was successful:

    • which smbclient

Once the installation is complete, the smbclient utility can be used to transfer files to a network drive without mounting it.