Showing posts with label htpc. Show all posts
Showing posts with label htpc. Show all posts

Monday, May 05, 2014

Exporting NFS shares from OpenELEC 4.0

OpenELEC 4.0 does not automatically export shares of external USB devices. To do this automatically, create the samba.conf file.

cd /storage/.config
cp samba.conf.sample samba.conf

Add the following to the bottom of samba.conf.

[USB Drives]
path = /media
available = yes
browsable = yes
public = yes
writable = yes

Reference:
http://wiki.openelec.tv/index.php/Sharing_files_from_OpenELEC

Sunday, March 30, 2014

Mounting OpenELEC shares from a linux client

If you are running OpenELEC, there may be the need to access the OpenELEC filesystem from a client computer. Unfortunately, simply enabling SAMBA (without setting a password) on OpenELEC only allows Windows clients to connect to it. For Linux clients, attempting to mount OpenELEC shares results in the system prompting for the password even though one is not set by default.

To resolve this issue, add a password for the SAMBA service in the OpenELEC configuration settings. Now both Windows and Linux systems can mount shares on the OpenELEC system.

Here is the command to mount a OpenELEC share from a Linux client.
sudo mkdir /mnt/openelec
sudo mount -o username=<OpenELEC SAMBA username>,password=<OpenELEC SAMBA password> //<host>/<share> /mnt/openelec

The default OpenELEC SAMBA username and password are openelec and openelec.