Translate This Page

About Me

profile_picture_120

Name: Joshua Lyon
Birthday: August 8, 1985
Location: Valley Ranch (Irving), TX
E-mail: josh@boshdirect.com

Related Articles

Content View Hits : 377357
Setup Samba/Windows Shares on XBMC Live
Written by Josh Lyon   
Sunday, 07 February 2010 14:43

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:

sudo /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.



Comments (0)add comment

Write comment

busy