|
It's relatively easy to setup samba shares on XBMC Live, but it does require bashing out some commands on the shell. First, you'll need to install samba using apt-get:
sudo apt-get install samba
Then, you'll want to configured your shares by editing the the file named smb.conf, placed in the /etc/samba/ directory. For example, I added the user folder and media folders to be available shares by running the following command:
sudo nano /etc/samba/smb.conf
Scroll down all the way to the bottom of the file, then paste in the following (use right click in Putty to paste something from your clipboard):
[xbmc] path = /home/xbmc public = yes guest only = yes writable = yes browseable = yes
[media] path = /media public = yes guest only = yes writable = yes browseable = yes
After that, restart the samba server using:
/etc/init.d/samba restart
Note: if you are having trouble with newly created files not getting the right permissions or are having trouble logging into samba, you might try adding the following lines under each of your defined shares:
force user = xbmc inherit permissions = yes
Also, when accessing the shares from Windows, if you left the default security options you can use the account 'guest' with no password to access the shares. Otherwise, you can play with the settings to force a local linux account to be used in order to access the shares.
|