Ubuntu – How to completely remove NetworkManager


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.

Best Answer

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