Ubuntu – Network-manager do not start automatically

network-manager

How to auto start network-manager?

I installed ubuntu mini iso and ubuntu-gnome-desktop (without the install recommendations). So, I have the system working fine, except that the network manager do not automatically start. I even tried adding it to the gnome-session-properties (startup applications), but no luck.

I am using the following command to manually start it through terminal: sudo service network-manager start

I also get the message while booting saying that 'waiting for netwrok configuration' and then 'booting without full network configuration'.

Best Answer

In my case, I had a left over entry for eth0 in /etc/network/interfaces which was configured to use DHCP, but since there was no ethernet plugged into eth0 DHCP could never succeed.

Check /etc/network/interfaces, comment out everything other than:

auto lo iface lo inet loopback

Then reboot and hopefully network-manager will start as expected.