Forum

Full Version: Samba: Error 2: Share... Connection timed out
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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
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
Can you acces the share from an other linux computer in the network?
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.
But can you access the 1225c samba server from an other pc in the network?
Sorry, no, although the only test I've used is via my phone, running AndSMB on an Android fork.
Then I think the problem is network/server related.
I'll raise it on the Ubuntu or Linux Mint forums, thanks.
Reference URL's