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 one drive that automatically mounts on boot, I have shared it and that works, but after restart the share no longer works, but the drive mounts. Ubuntu thinks it shared with the share icon showing, but in its network places it doesn't show and i cant see it on computers anymore.

UPDATE:It will work if i manually start it with sudo /etc/init.d/samba start

share|improve this question
    
Please can you attach your smb.conf (or at least, globals and properties of relevant share) and the line in fstab with your mount command? Especially interested in the security= line in smb.conf (user? share?) –  RJFalconer Jan 2 '10 at 0:29

1 Answer 1

This command should make samba start by default.

sudo update-rc.d samba defaults
share|improve this answer
    
Hey thanks for the reply, I just get a reply saying samba is allready there. And still doesnt work after restart –  anders Dec 3 '09 at 2:04
    
If the share works after "sudo /etc/init.d/samba start", then the problem is that samba wasn't running, and this answer should work. :S –  RJFalconer Jan 2 '10 at 0:35

Your Answer

 
discard

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