Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a samba share on my Fedora 13 machine. The problem is that on my system if I try to mount the share it failed every time, on all other windows and Linux machines there is no problem.

I used the following command to mount the share:

mount -t cifs //192.168.1.200/myconfig /tmp/ -o guest

share configurations in /etc/samba/smb.conf are:

[myconfig]
 comment = Configuration Files
 path = /var/lib/config
 browseable = yes
 guest ok = yes
 writable = no
 printable = no

security level in /etc/samba/smb.conf is:

security = share

error returned by mount command is:

mount error(110): Connection timed out

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

kernel log message is:

kernel: CIFS VFS: Error connecting to
socket. Aborting operation

kernel: CIFS VFS: cifs_mount failed
w/return code = -110

what is the issue?

Any idea/suggestion?

share|improve this question

2 Answers 2

Connection timed out

means that connection to the CIFS service on 192.168.1.200 failed.

Make sure that you have smbd running, and that it is listening for TCP port 445 on the apropriate interfaces (use netstat -ltn | grep :445).

share|improve this answer
    
mount -t cifs //192.168.1.200/myconfig /tmp/ -o guest works perfectly on all other linux and windows systems except on the system( 192.168.1.200) which contains the shared folder –  MA1 Sep 30 '10 at 13:44
    
True, on lots of machines, the smb.conf is present, yet samba itself is not. –  BloodPhilia Sep 30 '10 at 13:44

Do you have a hosts allow line in smb.conf that allows a local connection as well as a LAN one - eg:

hosts allow = 127. 192.168.1.
share|improve this answer
    
no –  MA1 Sep 30 '10 at 14:22
    
Ok, try adding one either in the global section (mine's below the 'workgroup = ' line) or as part of your [myconfig] definition block –  Linker3000 Sep 30 '10 at 14:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.