[Bug 125687] Re: Samba does not start on boot.
BikeHelmet at gmail.com
Thu Sep 24 05:11:17 BST 2009
Hi. I experienced this exact problem in Ubuntu 9.04, today.
While attempting to try to fix it I killed my network connection somehow
and had to remove & purge package network-manager.
All is well now, though. For anyone that's a newbie like me, here's how
I fixed it.
These three terminal commands were necessary:
sudo /etc/init.d/networking restart
sudo gedit /etc/resolv.conf
sudo gedit /etc/network/interfaces
1) Restarts networking. Saves you a reboot after changing settings and trying to get it to work. Also spat out helpful debug messages - helpful in the sense I could google them, and ended up here. ;)
2) Opens config file, where you can enter your router IP. I entered this:
3) Opens a config file, where you can set up static IP stuff. Note that
I have two gigabit ethernet ports. Internet won't work unless you add
"auto eth#" for the port you have plugged in. Also, according to an
article I read, if your connection ever breaks after a kernel update,
the kernel may have flipped how it orders interfaces, so you should try
plugging the cable into the other port. I entered this:
iface lo inet loopback
iface eth0 inet static
iface eth1 inet static
Works like a charm now, and Samba starts correctly at boot.
Samba does not start on boot.
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs