Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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'.

share|improve this question
add comment

2 Answers

1)In /etc/ there should be some rc files or an rc.d, search around in them and try to figure out which services (Daemons) are starting up on boot.

2)Try the following: I deleted all pid file in /var/run and all subfolders especially /var/run/dbus I moved all data from /var/run to /run then deleted /var/run folder. I made a symlink /run to /var/run.

3) Follow this article https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/811441 and look at #24. Although the version they are talking of is different from yours, the suggestion might help.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.