• Linux SAMBA help
    2 replies, posted
So, being the total Linux newbie I am, I decided to install Linux on an old PC (Really really old) It works (Just) but I would like it to function as a file server for our windows network. I read I need samba, so I installed it. However, whenever I try to start it using sudo /etc/init.d/samba start It simply says "Unknown command" which probably means I've installed it wrong (Or I'm trying to start it incorrectly) I first off tried to install smaba by doing: sudo apt-get install samba That didn't work, it suggested I install samba4, so I did. That appeared to do something, but I still could not start it! I then tried this guide: [url]https://help.ubuntu.com/8.04/serverguide/C/windows-networking-introduction.html[/url] At the end of all that, it still says "Unknown console command" So annoying, what am I doing wrong? :saddowns: Thanks for any help! Edited: Solved, thanks for the help. After hours of trying to fix this (Among a pile of other problems) I finally setup my file server (Which I will probably never use anyway, its just to learn from)
Try: sudo samba start
According to the [url=http://packages.ubuntu.com/maverick/samba4]package page for samba4[/url], it's an experimental snapshot, not yet ready for general use. You should probably stick with the "samba" package. For samba, the scripts are /etc/init.d/smbd and /etc/init.d/nmbd. For samba4, it's /etc/init.d/samba4. You shouldn't need to start it manually, though: it'll have been started automatically when it was installed, and should also start automatically during boot.
Sorry, you need to Log In to post a reply to this thread.