{"id":38,"date":"2021-09-28T08:06:08","date_gmt":"2021-09-28T06:06:08","guid":{"rendered":"https:\/\/the-bug.de\/?p=38"},"modified":"2021-09-28T08:06:10","modified_gmt":"2021-09-28T06:06:10","slug":"how-to-recover-after-accidentally-uninstalling-networkmanager-on-ubuntu","status":"publish","type":"post","link":"https:\/\/the-bug.de\/?p=38","title":{"rendered":"How to recover after (accidentally) uninstalling NetworkManager on Ubuntu"},"content":{"rendered":"\n<p>Recently I accidentally uninstalled some packages on my machine which damaged the gnome-control-center and the  NetworkManager\/netplan on my Ubunut 20.04.<br>The solution was quite simply:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>sudo apt-get install --reinstall gnome-control-center<\/code><\/pre><\/div>\n\n\n\n<p>But without a configured network interface it was impossible to do this offline&#8230;<br>But with<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>sudo dhclient &lt;interface&gt;<\/code><\/pre><\/div>\n\n\n\n<p>It was possible to get a configuration (IP address, gateway, &#8230;) and than the fix was quite straight forward.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I accidentally uninstalled some packages on my machine which damaged the gnome-control-center and the NetworkManager\/netplan on my Ubunut 20.04.The solution was quite simply: But without a configured network interface it was impossible to do this offline&#8230;But with It was possible to get a configuration (IP address, gateway, &#8230;) and than the fix was quite [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-uncategorized","post-preview"],"_links":{"self":[{"href":"https:\/\/the-bug.de\/index.php?rest_route=\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the-bug.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the-bug.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the-bug.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/the-bug.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":1,"href":"https:\/\/the-bug.de\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":39,"href":"https:\/\/the-bug.de\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions\/39"}],"wp:attachment":[{"href":"https:\/\/the-bug.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the-bug.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the-bug.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}