Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running the Raspberry Pi OS on a Raspi 4 8GB using a SATA SSD.
I am trying to get access to my files which sit on a Synology DS414 NAS drive on the same wi-fi network.
At the suggestion of another forum user, I have successfully installed the nfs-common and portmap packages on the RasPi and can ping the NAS drive successfully.
However, when I use the "showmount" command, I receive the message:
Quote:
clnt_create: RPC: Unable to receive
What I find from searching on this error is that the NAS drive may not be properly mounted on the system.
Any help you can provide, in newbie terms (!), would be most appreciated, as I can't work effectively on the RasPi until I can get access to office docs and other files.
Not sure whether this is helpful or not, but when I try to access the files on the NAS through LibreOffice Writer, for example, the programme sees the first level directories on the NAS (documents, music, photos, etc) but when I click on one of these, the response is "Documents is not a directory"
David
Thanks, there was no firewall installed, but I have taken the opportunity to install ufw, enable it, and then allow those two ports which you list.
Still the same responses from the showmount command, I'm afraid.
David
Not sure whether this is helpful or not, but when I try to access the files on the NAS through LibreOffice Writer, for example, the programme sees the first level directories on the NAS (documents, music, photos, etc) but when I click on one of these, the response is "Documents is not a directory"
David
Not really because I do not know how your NAS or shares are configured. From your original post I assumed you had nfs working with other clients. The firewall should allow traffic on both tcp/udp for ports 111 and 2049
Yes, the NAS drive works fine with Windows laptops and my MacBook, just not seeing it on the RasPi. LibreOffice Writer is also on the Pi, btw.
I will take a look at the tcp/udp point you make, but I am still not connecting with the firewall disabled.
David
Being a linux device it SHOULD support NFS and SSHFS, but I only see documentation for CIFS and ISCSI. I prefer ISCSI of those two, but for an RPi it might be easier to use the SAMBA client to get the CIFS mount. (CIFS is the Microsoft standard, if you did not know.)
Thank you both for your replies.
In answer to yours Michael: on Windows, the different top-level folders of the NAS drive are just mapped as the X:, Y: and Z: drives. I do occasionally use the nas client locally, when Windows misbehaves, but I tend to use that only when I am out and about and want remote access.
Regarding the other response, forgive me but your answer has gone waaaaay above my head, so I will do some serious research in the morning to give you a more intelligent reply!!
Unless you have installed a Windows nfs client you are using SMB/CIFS to connect i.e map the shares as remote drives. SMB/CIFS is the default windows sharing protocol.
As posted you can use SMB/CIFS (samba) on the Pi.
Go look at your NAS share setup to see if nfs is also configured.
Some progress, I am pleased to say.
After rebooting the RasPi, I can now access the nas drive and its sub directories through File Manager.
It allows me to access the photo and music files in their respective folders and even the pdf files in the document folder, no problem.
When I try to open a docx file, however, I get an error message from LibreOffice:
Quote:
General input/output error while accessing /run/user/1000/gvfs/afp-volume:host=[nasname].local,volume=[full path and file name]
Does this make it a LibreOffice problem now, do you think?
Best
David
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.