Kodi Community Forum

Full Version: File Sharing Ubuntu to LibreELEC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ubuntu Version 16.04 LTS
LibreELEC Version 8.0.2

I want to stream files from Ubuntu to LibreELEC on a Wetek Core. I have shared the folders on Ubuntu with Samba and can see them, but can't get Username and Password to be accepted. I connected using putty from Ubuntu to LibreELEC but can't get to shares. I installed NFS on Ubuntu, and can see the Ubuntu on the NFS on LibreELEC on Kodi, but nothing happens when I click on the share. I setup a static IP address. I have enabled all of the settings for Samba, NFS and SSH on Kodi and LibreELEC. I never had all these issues with my Windows 10 server, but I HATE Windows 10 and I want to make this Ubuntu work!

I setup a Linux Username and then gave it a SMB password. I just want a fast reliable sharing setup.

Thanks for all the help!!

Regards,
Show us the /etc/exports you created for your nfs shares, please
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_sub$
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#

/media/brian/3TB 192.168.1.65(rw,sync,root_squash,subtree_check)
I got it to work.

I used the following:

On the host server (IP 192.168.1.66 in this example)
Host directories to access on the clients:
/home/Downloads
/home/Documents
/home/eagle
/media/stuart/svr_data

Ensure NFS and NTP software is installed. NFS requires accurate time on server and client to ensure proper timestamping
sudo apt-get update
sudo apt-get install nfs-kernel-server ntp

Make the export filesystem by creating the empty directories
sudo mkdir /export/Downloads
sudo mkdir /export/Documents
sudo mkdir /export/eagle
sudo mkdir /export/svr_data

Create list of shares in file: /etc/exports. The name on the left will appear under the mount point specified in the client fstab. All clients on the subnet x.x.x.0 – x.x.x.255 have access
/home/stuart/Downloads 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/home/stuart/Documents 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/home/stuart/eagle 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/media/stuart/svr_data 192.168.1.0/24(rw,sync,no_subtree_check)

Make shares by exporting names so clients can see them every time /etc/exports changes
sudo exportfs -a

Put binding command in the host fstab so every reboot sets up nfs
/home/stuart/Downloads /export/Downloads none bind 0 0
/home/stuart/Documents /export/Documents none bind 0 0
/home/stuart/eagle /export/eagle none bind 0 0
/media/stuart/svr_data /export/svr_data none bind 0 0

Start NFS with
sudo service nfs-kernel-server [re]start