Taming NetworkManager

I really, really dislike NetworkManager. From the way it's capitalised (doesn't look like a Unix program), the way it writes its configuration files (doesn't look like a Unix program) and the way it works different than all other network services on my system (doesn't feel like a Unix program).

Here are some of my notes on how to tame it.

Stop it the old way

Stop it using good old init.d scripts (example from Debian):

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

Stop it the new way

Stop it using systemd:

# systemctl stop NetworkManager.service

Disable it the new way

Disable it using systemd so that it doesn't start again when you reboot:

# systemctl disable NetworkManager.service

Uninstall it with apt-get

# apt-get remove network-manager

Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐘 @skybert@emacs.ch ~ 🐦 @torsteinkrause