The Network Manager Service
Last modified: 2025 February 18
Overview
This document describes how to disable the Network Manager service on supported operating systems. The Network Manager service automates the system’s network settings and disrupts connections to the IP addresses that reside in the ipaliases
module.
When you disable the Network Manager service, you disable this automation. You must manually address any changes to the system’s network settings. For example, if you disable the Network Manager, then reboot the system, the system will not automatically reconnect any preexisting connections.
WebPros International, LLC, which includes cPanel & WHM and cPanel Technical Support, does not provide support related to the Network Manager service.
When should I disable Network Manager?
You must disable the Network Manager service and enable the network.service
service before you install cPanel & WHM on CloudLinux™ 7 systems.
network.service
package by default.
Disable the Network Manager service
Exercise extreme caution when you disable the Network Manager service. Your server may lose its network services if you do not disable Network Manager correctly.
To disable the Network Manager service, perform the following steps:
- Disable Network Manager with the following commands:
1 2
systemctl stop NetworkManager systemctl disable NetworkManager
- Change to the
/etc/sysconfig/network-scripts
directory. - Open the
ifcfg-eth0
andifcfg-lo
files with your preferred text editor and, if they exist, set the following keys’ values:1 2
NM_CONTROLLED=no ONBOOT=yes
Important:If either of these keys does not exist in yourifcfg-eth0
andifcfg-lo
files, do not add it. Instead, proceed to Step 4. - Run the following commands to restart the network:
1 2
systemctl enable network.service systemctl start network.service
For more information about how to disable the Network Manager service, read RedHat’s Disabling Network Manager documentation.
When will cPanel & WHM disable the Network Manager?
On systems that run the AlmaLinux OS 8 or Rocky Linux™ 8 operating systems, the cPanel & WHM installer will automatically disable the Network Manager service and enable the network.service
service.