Professional Documents
Culture Documents
CrownCloud Wiki - How To Disable Networkmanager in RockyLinux 8
CrownCloud Wiki - How To Disable Networkmanager in RockyLinux 8
In this guide,
How to disable NetworkManager in Rocky Linux 8
Installing
network-scripts
Installing network-scripts
To disable NetworkManager on Rocky Linux 8, we need to install the network-scripts package which provides legacy support
to the network service,
nano /etc/sysconfig/network-scripts/ifcfg-<interface>
Replace with the interface name from ifcon g -a (or) ipaddr, for example in our case the interface is ens3
nano /etc/sysconfig/network-scripts/ifcfg-ens3
Add the following line to the last line of the ifcfg-ens3 con g le,
NM_CONTROLLED="no"
You may reboot your VPS to test if the network comes alive on it's own via the Network service automatically onboot.
Done!