Easy share from linux desktop

#1

Recently binned Windows so trying to move away from SMB :wink:
Got a Linux Mint desktop and I want to put videos etc in a ‘shared directory’ that the Pi2 can see
Would easiest way be to use NFS? Can anybody provide a quick howto?
PS I searched the wiki but there appears to be an issue in that I cannot ‘click’ to view the search results :confused:
Thanks

#2

Check here on the forum alot of good threads here

#3

And for your desktop/server side you also can google for “How to NFS Server linux mint” or “How to NFS Server
Ubuntu”. First result

#4

wow quick replies thanks guys :smiley:
Of course I did search but could not find an easy quide, would be good in the wiki :wink:
Is nfs built into OSMC?

#5

you can add nfs sources directly in kodi

http://kodi.wiki/view/NFS
http://kodi.wiki/view/Sources.xml/Types#Network_Filesystem_.28NFS.29

#6

Hi toast
yes I already read the kodi NFS wiki
Sadly I hit a problem at stage 2 when it refers to /nfs/exports as I don’t have an nfs directory on OSMC OR Mint!!??
At least with windows you get some consistency, Mr Gates please teach us some standards in 2016 lol :wink:

#7

Might be a better step by step guide

http://tutorialforlinux.com/2014/05/19/linux-mint-17-qiana-how-to-share-files-over-network-with-nfs4-from-server-to-client-step-by-step-easy-guide/

#8

OK quick rundown of what I did:
on linux mint desktop
sudo apt-get install nfs-kernel-server nfs-common rpcbind (portmap has been superceded with rpcbind)
sudo nano /etc/exports (I added the line below)
/home/myusername/Videos 192.168.0.1/24(ro,async,subtree_check)
sudo exportfs -ra
sudo service nfs-kernel-server restart

Next I connected to the Pi2 to test it could see the nfs mount
ssh 192.168.0.34 -l osmc
showmount -e 192.168.0.24

Go back to your TV add a ‘video file’ and after a few clicks ie browse NFS share etc you’ll have a new Movie entry on your homescreen with lots of beautiful movie icons! :sunglasses: