Hi lintner,
What you can try is to load this openelec smb shares.
1/ Create an 'openelec' share with FTP access (set the wanted user permissions)
2/ Create a folder for each openelec smb shares (I assume named elec_shrX)
You can set these folders from your laptop or directly with a shell command
- Code: Select all
mkdir -m 777 /direct-usb/openelec/elec_shrX
3/ Mount the remote openelec smb shares.
- Code: Select all
mount -t cifs //openelechostname/elec_shrX /direct-usb/openelec/elec_shrX -o rw,iocharset=utf8,username='youreleclogin',password='yourpassword'
(where openelechostname is the hostname of your openelec or its IP address and youreleclogin is the login to get a samba access directly from the openelec)
Then elec_shrX content will be available (read or write access according the permission of the youreleclogin account.
(note you can only reduce user permissions with FTP permission and never grant them)
You can restore the openelec smb shares after a NAS rebooting by using the boot jobs menu.
After enabling it (read its help page) , create a file with these lines
- Code: Select all
#!/bin/sh
if [ -f /direct-usb/openelec ]
then
[ ! -d /direct-usb/openelec/elec_shrX ] && mkdir -m 777 /direct-usb/openelec/elec_shrX
mount -t cifs //openelechostname/elec_shrX /direct-usb/openelec/elec_shrX -o rw,iocharset=utf8,username='youreleclogin',password='yourpassword'
fi
(repeat the last two lines for each openelec smb shares)