Kodi Community Forum

Full Version: [LIVE] Share from XBMC 10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've installed XBMC 10 from the Live CD and trying to setup a share to get/put media on the XBMC box itself.

This would be easier for me rather than setup multiple shares to mount on XBMC and have to then ssh/go to the XBMC box to copy.

One suggestion I found was to install samba but this isn't working atm.
Code:
sudo apt-get install samba
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  samba: Depends: update-inetd but it is not going to be installed
E: Broken packages

Or do I have to forgo the Live CD install and start with an OS install from scratch?
no, it should be no problem to install samba on live 10 (I have done it myself)

sudo apt-get update
sudo apt-get install samba

should be enough. Have you made any changes to the repository sources?
I am not sure what is the problem, but it is not that you are using live.
I was missing the 'sudo apt-get update'.
That fixed it.

Thanks for the help!
--------------------------
Create a samba share
-----------------------------

sudo apt-get install samba

sudo nano /etc/samba/smb.conf
Quote:[xbmc]
path = /home/xbmc
public = yes
guest only = yes
writable = yes
browseable = yes
force user = xbmc
inherit permissions = yes

[storage]
path = /storage
public = yes
guest only = yes
writable = yes
browseable = yes
force user = xbmc
inherit permissions = yes
sudo service smbd restart
sudo service nmbd restart
Yep.. that is what I was doing except needed the apt-get update prior.
Thanks!
Hey,

thanks for the guide. I updated my smb.conf file to your details aside from 2 things. My xbmc box is called shuttle (i log in as that)

[xbmc]
path = /home/shuttle
..
force user = shuttle
..


[storage]
path = /media (the mount for my hard drive)
..
force user = shuttle

I have been tinkering on my windows 7 laptop trying to see the share but to no avail. I take it that the xbmc share should be visible even if I have the wrong address for hard drive ([storage])?
Any ideas where to go from here? Thanks very much - sorry for my newbieness
1) I dont know what you mean by address but if you mean the label just change to [media]. (and to [shuttle]
2) Are you testing with the ip in win7? Just put the IP in the address bar e.g. \\192.168.0.100
Thanks vikjon,

Your entries worked perfectly for me too.
I got it sorted now, I had to add some entries into windows 7 registry but I can see the shares great now.
I was having network troubles (which I hadn't realised) when I wrote that post so it was a problem my side. Cheers!Nod