Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Is there any way to stop NetworkManager applet and switch to manual configuration of /etc/network/interfaces?

share|improve this question
up vote 6 down vote accepted

If you manually configure an interface in /etc/network/interfaces, NetworkManager will not manage it. For example, add the following to interfaces file:

iface eth0 inet dhcp

Then restart NM service (sudo service network-manager restart), now NM appplet will say that device is not managed.

share|improve this answer
But NetworkManager will feel perfectly free to rewrite the interfaces file, throwing away all your additions, so be sure and have a backup handy. – ubfan1 Mar 12 '13 at 4:00
@ubfan1 Not, really. NetworkManager doesn't write config to the interfaces file. I added iface eth0 inet dhcp to my interfaces and after sudo service network-manager restart NM says the wired network interface is unmanaged and I'm not allowed to interact with it via NM. – Eric Carvalho Mar 12 '13 at 13:45
On 13.10 I get service network-manager restart stop: Unbekannter Auftrag: network-manager – rubo77 Feb 26 '14 at 0:28
This worked for me. I just commented out the line. Thank you, Eric! – BruceW Dec 31 '15 at 7:47

to stop network manager

sudo /etc/init.d/network-manager stop

To stop it from managing eth0 on next reboot, edit /etc/network/interfaces like so, changing the addresses to suit your needs

auto eth0
iface eth0 inet static
share|improve this answer
sudo /etc/init.d/network-manager stop

This is the command to stop network-manager applet in both Gnome3 and Unity. hope that helps

share|improve this answer
what happens after a reboot – David Mar 12 '13 at 2:45
Upon reboot, NM will start again. If you really want it to go away forever, remove it and reboot. – chili555 Mar 12 '13 at 14:02
This is not working anymore on 13.10 – rubo77 Feb 26 '14 at 0:29
For 13.10+: sudo service network-manager stop – Arne de Bruijn Apr 7 '15 at 13:08

Your Answer


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.