How to disable Network Manager in Ubuntu 12.04 (Precise)

This brief tutorial shows you how to disable (not remove) Network Manager in Ubuntu 12.04 and use the traditional method to configure your network interfaces. Network Manager comes installed by default in Ubuntu and its job is to help you easily configure your network adapters.

Now, if you know how to configure your interfaces or you are using software that need static configurations (i.e. virtualisation tools like I do), go ahead and disable Network Manager.

If you’re new to Ubuntu, it’s not recommended to disable it!

To get started, open a terminal window (press Ctrl-Alt-T to open a terminal from Unity). When it opens, run the commands below:

sudo nano /etc/NetworkManager/NetworkManager.conf

Now make sure the “managed” line contains:


Press Ctrl-Alt-X, choose yes and press enter to save the new settings

Since Network Manager is not managing your network interfaces anymore, you must manually enter that information. To do that, run the commands below

sudo nano /etc/network/interfaces

and make it look like

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static

Press-X, choose yes and press enter to save the new settings.

That’s it, restart and enjoy

Based on this post from Liberian Geek

About these ads

8 Responses to How to disable Network Manager in Ubuntu 12.04 (Precise)

  1. David says:

    I think you flipped the “managed” variable.
    managed=false | true
    Controls whether interfaces listed in the ‘interfaces’ file are managed by NetworkManager. If set to TRUE, then interfaces listed in /etc/network/interfaces are MANAGED by NetworkManager.
    If set to FALSE, then any interface listed in /etc/network/interfaces will be IGNORED by NetworkManager.

  2. Heber Dijks says:

    Thanks David, you’re right. I’ve updated the text.

  3. Strange, so far my experience lined up with your original post, and not this edit for the “managed” variable. I thought it sounded strange, but following your original suggestion worked for me.

  4. Paul D Pearl says:

    I used this method several months ago and now I would like to revert back to NetworkManager, however, reversing the process seems to only leed to bricked PC. Same problem as but all solutions listed have no effect. I’m reinstalling from scratch which is very annoying but I have 4 other systems which I would like to REVERT back to using Network-Manager…

    How do you revert back to Network-Manager safely?

  5. IDAllen says:

    To revert back to NetworkManager, undo the edits to /etc/network/interfaces, removing mention of the interfaces so that NetworkManager takes them on.

  6. zalluth says:

    Network manager can handle static ip address…

  7. Apparently I do not have the file /etc/NetworkManager/NetworkManager.conf is it something you just created or it’s there?

    I am 12.04LTS

  8. ***
    Just created it… works fine… but interestingly … this’ how the file looks like




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: