Forum
Samba: Error 2: Share... Connection timed out - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Network (/forum-25.html)
+--- Thread: Samba: Error 2: Share... Connection timed out (/thread-589.html)



Samba: Error 2: Share... Connection timed out - damianoloan - 8th Mar, 2013 01:09 AM

Basic Info:
XBian 1.0a5
Not overclocked
1.0A power supply
OEM wired keyboard (functions correctly)
Wired connection
Sandisk 16GB SD card
Log file: http://pastebin.com/22dMCVPR
smb.conf: http://pastebin.com/tpsWLJs9
Unresolved XBMC forum discussion: forum.xbmc.org/showthread.php?tid=157621

Hi, I've been having problems with Samba for weeks. Almost always, browsing through SMB gives an Error 2: Share Not Available message. Sometimes, I can see the R.Pi almost never my Samba server, an Asus 1225C running Linux Mint 13 (same problem with Ubuntu 12.04 before), and I can never access the share. Using Add Network Location gives a Connection timed out message, see log file. Using Raspbmc, I added the share files to sources.xml, still no connection. I've also tried OpenElec, and I'm now back to XBian, the first I tried incidentally - nice to see the progress.

But still no Samba shares - any ideas?


RE: Samba: Error 2: Share... Connection timed out - Koenkk - 8th Mar, 2013 11:42 PM

Can you try adding directory and guest masks to the share. So for example Videos will look like this:

Code:
[Videos]
        path = /home/damian/Videos
        writeable = no
        create mask = 777
        directory mask = 777
        browseable = yes
        guest ok = yes



RE: Samba: Error 2: Share... Connection timed out - damianoloan - 9th Mar, 2013 02:58 AM

Done, restarted both systems with same response.

Log file just in case: http://pastebin.com/rk3njpvx

Quite the honour to have to chance to thank you for your work, excuse the delayed response.

For verification, if in doubt, the relevant section of smb.conf: http://pastebin.com/WZAkW3eV


Samba: Error 2: Share... Connection timed out - Koenkk - 9th Mar, 2013 06:43 AM

Can you acces the share from an other linux computer in the network?


RE: Samba: Error 2: Share... Connection timed out - damianoloan - 9th Mar, 2013 09:24 AM

No, haven't been able to since this problem occurred. I was fine on both devices for some months, but now I can only access the Pi from the 1225C via ssh.


Samba: Error 2: Share... Connection timed out - Koenkk - 9th Mar, 2013 09:54 AM

But can you access the 1225c samba server from an other pc in the network?


RE: Samba: Error 2: Share... Connection timed out - damianoloan - 9th Mar, 2013 09:58 AM

Sorry, no, although the only test I've used is via my phone, running AndSMB on an Android fork.


Samba: Error 2: Share... Connection timed out - Koenkk - 9th Mar, 2013 03:34 PM

Then I think the problem is network/server related.


RE: Samba: Error 2: Share... Connection timed out - damianoloan - 9th Mar, 2013 09:48 PM

I'll raise it on the Ubuntu or Linux Mint forums, thanks.