Posts: 38
Joined: Oct 2008
Reputation:
0
Valpen
Junior Member
Posts: 38
Hi,
I'm running a server with Ubuntu, I have my storage on it and I'm using Samba to share it over the network and it works great.
I'm also using Ubuntu and XBMC on my desktop computer, but XBMC cant access (connection error) my Samba share unless I disable the firewall on my desktop computer.
I have tried to open the ports on my desktop computer that Samba uses:
UDP ports 137 and 138
TCP ports 139 and 445
That didnt work. What ports do I need to open up?
Posts: 2,064
Joined: Jan 2009
Reputation:
34
prae5
Team-XBMC Forum Moderator
Posts: 2,064
From memory samba uses 135 137 138 139 445 (a mixture of tcp and udp). This is generic linux question and not xbmc related. A quick google will help you more.
Posts: 470
Joined: Jun 2009
Reputation:
0
hi Valpen,
Are you trying to access the samba share using XBMC (i.e. using xmc's server configuration) or it's already mounted at the boot time and trying access that share as a local drive from xbmc? cheers!!!
Posts: 38
Joined: Oct 2008
Reputation:
0
Valpen
Junior Member
Posts: 38
I'm trying to access the share using a "Windows network (SMB)" connection with XBMC.
Posts: 183
Joined: Sep 2008
Reputation:
0
nikiiv
Senior Member
Posts: 183
You should open 137,138, 139 and 445, both tcp and udp.
This works 100%, my firestarter is configured like this and I have no problem
Posts: 38
Joined: Oct 2008
Reputation:
0
Valpen
Junior Member
Posts: 38
I'm using Cifs to mount the shares on this computer, works perfect (with the firewall enabled to). XBMC dont.
Posts: 470
Joined: Jun 2009
Reputation:
0
Well, then why don't your mount the share at boot time (form /etc/fstab) and access that as local drive from XBMC? That's the way I did; mount the share from TimeCapsule and XBMC just sees it as a local drive.
On the other hand, directly accessing the network share using XBMC is pretty unstable and slow. I tried that before and seems to be a bad idea. cheers!!!
Posts: 38
Joined: Oct 2008
Reputation:
0
Valpen
Junior Member
Posts: 38
I'm already using fstab to automount them.
I cant add them in XBMC, the only thing that XBMC allowing me to access is my home folder, network share, SMB share and something more that I dont remember now.
Posts: 470
Joined: Jun 2009
Reputation:
0
yeah, that's right. Create a folder in your home directory and use that as the mount point. That's exactly what I did. Or even if you can't, then create a symbolic link. It's lot easier and faster then using the XBMC's buit-in server configuration. Cheers!!
Posts: 470
Joined: Jun 2009
Reputation:
0
a symbolic link will do the job.........
Posts: 38
Joined: Oct 2008
Reputation:
0
Valpen
Junior Member
Posts: 38
That would work to but I would rather solve the problem instead.