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 : 492484
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 configure 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

Update: It looks like this has changed in the more recent versions of Ubuntu that the XBMC Live distribution is packaged with (10.04). You can restart the samba service using the old method:

sudo service smbd restart
sudo service nmbd restart

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
 force user = xbmc
 inherit permissions = yes

[media]
 path = /media
 public = yes
 guest only = yes
 writable = yes
 browseable = yes
 force user = xbmc
 inherit permissions = yes

After that, restart the samba server using:

sudo /etc/init.d/samba restart

Note: I updated the samba configuration above to include the 'force user' and 'inherit permissions' features as I was having trouble with newly created files not getting the right permissions and logging into samba.

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 (3)add comment

greg said:

0
...
man this site is full of great stuff. this just might mean i dont have to buy a NAS (as uPNP on XBMC Live is hell)
 
May 05, 2010
Votes: +0

xbmc said:

0
...
XBMC live is a bitch from hell
 
May 24, 2010 | url
Votes: +0

john mish said:

0
...
I think this article done a great job.What a best way to describe your view. Thanks for sharing with us. Really like your informative article. Hopefully we will get more interesting topic from you in future.This is an awesome list and I have used many of these ideas in marketing my home based business and got results.
 
May 27, 2010 | url
Votes: +0

Write comment

busy