How to stop NetworkManager?
Is there any way to stop NetworkManager applet and switch to manual configuration of /etc/network/interfaces?
Solution 1:
If you manually configure an interface in /etc/network/interfaces, NetworkManager will not manage it. For example, add the following to interfaces file:
iface eth0 inet dhcp
Then restart NM service (sudo service network-manager restart
), now NM appplet will say that device is not managed.
Solution 2:
to stop network manager
sudo /etc/init.d/network-manager stop
To stop it from managing eth0
on next reboot, edit /etc/network/interfaces
like so, changing the addresses to suit your needs
auto eth0
iface eth0 inet static
address 10.0.1.69
netmask 255.255.255.0
gateway 10.0.1.1
dns-search example.com
dns-nameservers 10.0.1.8 10.0.1.9