Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I want to disable NetworkManager entirely, and have my eth0 and wifi connections unmanaged. My eth0 on my main linux box is unmanaged and I have no issues with it, I want to do the same to my other linux boxes all running Ubuntu 12.04 LTS, basically I want to kill Network Manager and never see any trace of it again.

share|improve this question
1  
"I want to kill Network Manager and never see any trace of it again." I feel you. – meawoppl Apr 16 '14 at 19:34
    
+1 merely for the frustration expressed here, and shared whole-heartedly even two years later. I swear NetworkManager was some evil incarnation from Microsoft designed to torpedo Ubuntu. – David W Mar 21 '15 at 14:10
    
Again a +1 for the frustration. We need an alternative! – Babbzzz May 14 '15 at 13:14
1  
Nicely said... Thought I was the only one frustrated at it... +1 – Sam Jul 1 '15 at 19:17
up vote 13 down vote accepted

First edit /etc/network/interfaces so that the ifup utility can be used to configure eth0 once NetworkManager is gone.

Remove NetworkManager from the system

sudo apt-get purge network-manager

Configure eth0 using ifup.

sudo ifup eth0
share|improve this answer
1  
ifup was what I was looking for, thanks that helps simplify things greatly. – Drassx15 Jan 31 '13 at 20:01

I did through it may be it will help some one to remove safely Network Manger:

sudo apt-get remove network-manager network-manager-gnome network-manager-pptp network-manager-pptp-gnome

Or

sudo apt-get remove --purge network-manager network-manager-gnome network-manager-pptp network-manager-pptp-gnome
share|improve this answer

I don't have 50 rep points to comment, so I'll add some info as an answer that may be helpful. On a Surface Pro 3 with Ubuntu 14.04 installed, Giving this command:

killall -STOP NetworkManager

made a dramatic improvement in RTP-over-wireless streaming applications. NM can be restarted with -CONT parameter. More details here:

Disable / Enable Periodic Wireless Scans

For the SP3 there are other settings required, including net.core.xxx items, and to maintain optimum performance it should remain plugged in. Likely this info applies to other tablets with Ubuntu also.

share|improve this answer
sudo apt-get purge network-manager

/etc/resolv.conf and /etc/network/interfaces must both be edited for a manual connection otherwise you will be left without full network capability.

share|improve this answer

It might be worth it to disable it, configure your alternate setup, and then uninstall it.

https://help.ubuntu.com/community/NetworkManager#Disabling_NetworkManager

share|improve this answer

Gnome:

sudo apt-get remove --purge network-manager-gnome network-manager

KDE:

sudo apt-get remove --purge knetworkmanager network-manager

Unity : lol, Unity.

share|improve this answer
1  
+1 for lol unity – Matyas Jun 21 '15 at 11:40

protected by Community Jan 20 at 21:13

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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