Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.