Disabling Network Manager
- Verify Network Manager is currently enabled using the
chkconfigcommand.#chkconfig --list NetworkManagerThe output displayed by thechkconfigcommand inicates whether or not the Network Manager service is enabled.- The system displays an error if the Network Manager service is not currently installed:
error reading information on service NetworkManager: No such file or directory
If this error is displayed then no further action is required to disable the Network Manager service. - The system displays a list of numerical run levels along with a value of
onoroffindicating whether the Network Manager service is enabled when the system is operating in the given run level.NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
If the value displayed for all run levels isoffthen the Network Manager service is disabled and no further action is required. If the value displayed for any of the run levels isonthen the Network Manager service is enabled and further action is required.
- Ensure that the Network Manager service is stopped using the
servicecommand.#service NetworkManager stop - Ensure that the Network Manager service is disabled using the
chkconfigcommand.#chkconfig NetworkManager off - Open each interface configuration file on the system in a text editor. Interface configuration files are found in the
/etc/sysconfig/network-scripts/directory and have names of the formifcfg-whereXXis replaced by the name of the interface. Valid interface names includeeth0,p1p5, andem1.In each file ensure that theNM_CONTROLLEDconfiguration key is set tonoand theON_BOOTconfiguration key is set toyes.NM_CONTROLLED=no ONBOOT=yes
This action ensures that the standard network service will take control of the interfaces and automatically activate them on boot. - Ensure that the network service is started using the
servicecommand.#service network start - Ensure that the network service is enabled using the
chkconfigcommand.#chkconfig network on
The Network Manager service has been disabled. The standard network service has been enabled and configured to control the required network interfaces.
No comments:
Post a Comment