{"id":4213,"date":"2020-09-30T16:42:14","date_gmt":"2020-09-30T08:42:14","guid":{"rendered":"https:\/\/www.webteach.tw\/?p=4213"},"modified":"2020-09-30T16:42:14","modified_gmt":"2020-09-30T08:42:14","slug":"pci-ethernet-unmanaged","status":"publish","type":"post","link":"https:\/\/www.webteach.tw\/?p=4213","title":{"rendered":"[ Linux ] &#8211; How to fix PCI Ethernet Unmanaged on ubuntu 18.04"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u9019\u6b21\u56e0\u70ba\u8981\u4f7f\u7528usb\u7db2\u5361\u6642\u767c\u73fe\u600e\u9ebc\u4e5f\u6293\u4e0d\u5230\u7db2\u5361\u4e00\u76f4\u51fa\u73fe PCI Ethernet Unmanaged \uff0c\u539f\u4f86\u662f ubuntu \u6293\u53d6\u7db2\u5361\u7684\u65b9\u5f0f\u6709\u7570\u52d5\uff0c\u4f46\u795e\u5947\u7684\u662f\u4e0d\u662f\u6bcf\u53f0ubuntu\u90fd\u6703\u6293\u4e0d\u5230\uff0c\u6700\u5f8c\u5728\u7db2\u8def\u4e0a\u627e\u5230\u89e3\u6cd5\uff0c\u7279\u6b64\u7b46\u8a18\u514d\u5f97\u65e5\u5f8c\u53c8\u6d6a\u8cbb\u6642\u9593\u627e\u89e3\u7b54\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u7b2c\u4e00\u6b65\u662f\u8abf\u6574\u7db2\u8def\u7ba1\u7406\u7684\u65b9\u5f0f<br \/>\u6307\u4ee4\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/NetworkManager\/NetworkManager.conf<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u539f\u6587\u4ef6\u5167\u5bb9<\/p>\n\n\n<pre class=\"wp-block-code\"><code>&#91;main]\nplugins=ifupdown,keyfile\n&#91;ifupdown]\nmanaged=false\n&#91;device]\nwifi.scan-rand-mac-address=no<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u6539\u5f8c\u5167\u5bb9<\/p>\n\n\n<pre class=\"wp-block-code\"><code>&#91;main]\nplugins=ifupdown,keyfile\n&#91;ifupdown]\nmanaged=true\n&#91;device]\nwifi.scan-rand-mac-address=no<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u6539\u7684\u53c3\u6578\u8207\u503c<br \/>managed=true<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u91cd\u555f NetworkManager<br \/>\u6307\u4ee4\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>sudo service network-manager restart<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4e0a\u8ff0\u4fee\u6539\u5b8c\u5f8c\u9084\u662f\u6293\u4e0d\u5230\u7db2\u5361 \u6216\u662f \u6539\u5b8c\u80fd\u6293\u5230\u4f46\u91cd\u958b\u6a5f\u5f8c\u53c8\u6293\u4e0d\u5230\u6642\u518d\u57f7\u884c\u4ee5\u4e0b\u4fee\u6539<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u505c\u7528\u8a2d\u5b9a\u6a94<br \/>\u6307\u4ee4\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>nano \/usr\/lib\/NetworkManager\/conf.d\/10-globally-managed-devices.conf<\/code><\/pre>\n\n\n<pre class=\"wp-block-code\"><code>&#91;keyfile]\nunmanaged-devices=*,except:type:wifi,except:type:wwan<\/code><\/pre>\n\n\n<pre class=\"wp-block-code\"><code>&#91;keyfile]\n#unmanaged-devices=*,except:type:wifi,except:type:wwan<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u6539\u7684\u5730\u65b9 \u4f7f\u7528 &#8216;#&#8217; \u8a3b\u89e3\u6389\u6240\u6709\u8a2d\u5b9a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9019\u6b21\u56e0\u70ba\u8981\u4f7f\u7528usb\u7db2\u5361\u6642\u767c\u73fe\u600e\u9ebc\u4e5f\u6293\u4e0d\u5230\u7db2\u5361\u4e00\u76f4\u51fa\u73fe PCI Ethernet Unmanaged \uff0c\u539f\u4f86\u662f ubuntu \u6293\u53d6\u7db2\u5361\u7684\u65b9\u5f0f\u6709\u7570\u52d5\uff0c\u4f46\u795e\u5947\u7684\u662f\u4e0d\u662f\u6bcf\u53f0ubuntu\u90fd\u6703\u6293\u4e0d\u5230\uff0c\u6700\u5f8c\u5728\u7db2\u8def\u4e0a\u627e\u5230\u89e3\u6cd5\uff0c\u7279\u6b64\u7b46\u8a18\u514d\u5f97\u65e5\u5f8c\u53c8\u6d6a\u8cbb\u6642\u9593\u627e\u89e3\u7b54\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[370,443,577],"class_list":["post-4213","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-pci-ethernet-unmanaged","tag-ubuntu-18-04"],"_links":{"self":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/4213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4213"}],"version-history":[{"count":0,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/4213\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}