NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting RTOS to Windows via Samba

Solved!
Go to solution

I am trying to set up a Samba share with a Windows 10 desktop. I set up the sharing in Windows and created the mount on the RTOS, and have tried mounting the share using

mount -t cifs //<IP ADDR>/data -o user=<username>,password=<password> /mnt/data

but I get

mount error(112): Host is down

This lead me to think that it is related to this issue. However, when I try to set the version with anything other than 1.0 I get

mount error(22): Invalid argument

I have successfully connected from Ubuntu so it appears to be a problem on the RTOS side. I also tried uninstalling cifs-utils with opkg and building from source but now I get

mount error: Server abruptly closed the connection.
This can happen if the server does not support the SMB version you are trying to use.
The default SMB version recently changed from SMB1 to SMB2.1 and above. Try mounting with vers=1.0.
mount error(112): Host is down

I get the the same error even if I use vers=1.0 and I still get an invalid argument error with any other version.

 

If anyone has any suggestions I would be very appreciative.

 

Thanks,

Eric V.

0 Kudos
Message 1 of 3
(2,865 Views)
Solution
Accepted by topic author evanhorn

This thread might or might not help you. It gives some details, at least.




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (The Future of Team-Based LabVIEW Development)


0 Kudos
Message 2 of 3
(2,829 Views)

Thanks, while not what I was hoping for, it does answer my question.

0 Kudos
Message 3 of 3
(2,788 Views)