{"id":110,"date":"2015-02-10T14:44:44","date_gmt":"2015-02-10T14:44:44","guid":{"rendered":"https:\/\/edulab.unitn.it\/tecnici\/?p=110"},"modified":"2015-02-10T14:44:44","modified_gmt":"2015-02-10T14:44:44","slug":"how-to-disableremove-network-manager-in-ubuntu-or-debian","status":"publish","type":"post","link":"https:\/\/edulab.unitn.it\/tecnici\/how-to-disableremove-network-manager-in-ubuntu-or-debian\/","title":{"rendered":"How to Disable\/Remove Network-manager in Ubuntu or Debian"},"content":{"rendered":"<p><a href=\"http:\/\/xmodulo.com\/how-to-reload-etc-network-interfaces-in-ubuntu-debian.html\">Fonte<\/a><\/p>\n<p>In Ubuntu or Debian, information on network interface configuration is stored in \/etc\/network\/interfaces.<\/p>\n<p>If you modify \/etc\/network\/interfaces to reconfigure any interface, you need to reload it so that the new configuration can take effect.<\/p>\n<p>Edit\u00a0\u00a0\/etc\/network\/interfaces<\/p>\n<pre># This file describes the network interfaces available on your system\r\n# and how to activate them. For more information, see interfaces(5).\r\n\r\n# The loopback network interface\r\nauto lo\r\niface lo inet loopback\r\n \r\nauto eth0\r\niface eth0 inet static\r\n  address 192.168.2.7\r\n  netmask 255.255.255.0\r\n  network 192.168.2.0\r\n  broadcast 192.168.2.255\r\n  gateway 192.168.2.1\r\n  dns-nameservers 193.205.194.23 192.168.193.20\r\n  dns-search unitn.it<\/pre>\n<p>&nbsp;<\/p>\n<p>Here is how you can reload \/etc\/network\/interfaces.<\/p>\n<pre class=\"console\">sudo service networking restart<\/pre>\n<p><strong>One caveat:<\/strong> If NetworkManager is installed and enabled on your system, it will interfere with you reloading \/etc\/network\/interfaces. On <a href=\"http:\/\/xmodulo.com\/recommend\/ubuntubook\" target=\"_blank\" rel=\"nofollow\">Ubuntu<\/a> Desktop, for example, NetworkManager is enabled by default. Thus you first need to disable NetworkManager before attempting to reload \/etc\/network\/interfaces.<\/p>\n<p>To disable NetworkManager, do the following.<\/p>\n<pre class=\"console\">$ sudo service network-manager stop\r\n$ sudo update-rc.d NetworkManager remove<\/pre>\n<p>If you don&#8217;t want to disable NetworkManager, another option is to edit NetworkManager configuration, and add &#8220;managed=false&#8221; as follows. Then, restart NetworkManager.<\/p>\n<div class=\"console\">Editi \/etc\/NetworkManager\/NetworkManager.conf<\/div>\n<pre>[ifupdown]\r\n<strong>managed=false<\/strong>\r\n<\/pre>\n<pre class=\"console\">$ sudo service network-manager restart<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fonte In Ubuntu or Debian, information on network interface configuration is stored in \/etc\/network\/interfaces. If you modify \/etc\/network\/interfaces to reconfigure any interface, you need to reload it so that the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,9],"tags":[],"class_list":["post-110","post","type-post","status-publish","format-standard","hentry","category-how-to","category-linux"],"_links":{"self":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/comments?post=110"}],"version-history":[{"count":2,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/110\/revisions"}],"predecessor-version":[{"id":112,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/110\/revisions\/112"}],"wp:attachment":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/media?parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/categories?post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/tags?post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}