{"id":2219,"date":"2020-12-17T11:33:40","date_gmt":"2020-12-17T03:33:40","guid":{"rendered":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/?p=2219"},"modified":"2020-12-17T11:43:14","modified_gmt":"2020-12-17T03:43:14","slug":"networkmanager-state-is-now-asleep","status":"publish","type":"post","link":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/2020\/12\/17\/networkmanager-state-is-now-asleep\/","title":{"rendered":"NetworkManager state is now ASLEEP"},"content":{"rendered":"\n<p>\u6700\u8fd1\u6709\u4e00\u53f0 HP ELite \u7b14\u8bb0\u672c\u9000\u5f79\u4e86\uff0c\u5176\u5b9e\u914d\u7f6e\u8fd8\u4e0d\u9519\uff0c500GB SSD \u786c\u76d8\u300116GB\u5185\u5b58\uff0c\u770b\u7740\u633a\u8f7b\u8584\uff0c\u672c\u6765\u8fd8\u6253\u7b97\u7528\u6765\u66ff\u6362\u81ea\u5df1\u5e73\u65f6\u4f7f\u7528\u7684\u7b14\u8bb0\u672c\uff0c\u540e\u6765\u53d1\u73b0\u6709\u4e9b\u4e0d\u723d\uff1a\uff081\uff09\u89e6\u63a7\u677f\u6709\u70b9\u98d8 \uff082\uff09\u6709\u4e2a\u952e\u88ab\u6211\u4e0d\u5c0f\u5fc3\u6309\u574f\u4e86\uff0c\u4e5f\u8bb8\u672c\u6765\u5c31\u574f\u4e86 \uff083\uff09\u5c4f\u5e55\u65f6\u4e0d\u65f6\u51fa\u73b0\u6a2a\u7ebf\u3001\u751a\u81f3\u51fa\u73b0\u95ea\u70c1\uff0c\u5f88\u4e0d\u8212\u670d\u3002<\/p>\n\n\n\n<p>\u98df\u4e4b\u65e0\u5473\u3001\u5f03\u4e4b\u53ef\u60dc\u3002\u5ffd\u7136\u60f3\u5230\u53ef\u4ee5\u5b89\u88c5 Debian \u505a\u5bb6\u5ead\u670d\u52a1\u5668\u7528\uff0c\u4e0a\u8ff0\u7f3a\u70b9\u5c31\u65e0\u5173\u7d27\u8981\u4e86\u3002\u5b89\u88c5\u4e86\u6700\u65b0\u7684 Debian 10\uff0c \u7136\u540e\u4fee\u6539\u6210 Debian\uff08sid\uff09\uff0c\u8fc7\u7a0b\u5f88\u987a\u5229\u3002\u975e\u5e38\u68d2\uff01\u4ee5\u81f3\u4e8e\u6211\u751a\u81f3\u6253\u7b97\u76f4\u63a5 VNC\uff0c \u6216\u8005\u7528 VSCode \u767b\u5f55\u4e0a\u53bb\u505a\u4e00\u4e9b\u5f00\u53d1\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p>\u56e0\u4e3a\u662f\u5f53\u670d\u52a1\u5668\u7528\uff0c\u56e0\u6b64\u4e00\u76f4\u90fd\u662f\u5408\u76d6\uff0c\u7136\u540e\u6254\u89d2\u843d\u91cc\u9ed8\u9ed8\u5de5\u4f5c\u3002\u63a5\u7740\u53c8\u53d1\u73b0\u4e00\u4e2a\u95ee\u9898\uff1a\u8fc7\u4e00\u6bb5\u65f6\u95f4\u540e\uff0cWiFi \u7f51\u7edc\u8001\u662f\u65ad\u5f00\uff0c\u65e0\u6cd5\u8fdc\u7a0b\u767b\u5f55\uff0c\u9700\u8981\u91cd\u65b0\u5f00\u76d6\u7136\u540e\u767b\u5f55\u3002\u7422\u78e8\u7740\u5927\u6982\u662f\u7cfb\u7edf\u4f11\u7720\u4e86\uff0c\u68c0\u67e5 syslog \u4fe1\u606f\uff0c\u53d1\u73b0\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">NetworkManager: sleep: wake requested (sleeping: yes  enabled: yes)\nNetworkManager: state change: unavailable -&gt; unmanaged (reason 'sleeping', sys-iface-state: 'managed')\nNetworkManager: NetworkManager state is now ASLEEP<\/pre>\n\n\n\n<p>\u770b\u6765\u786e\u5b9e\u4f11\u7720\u4e86\u3002\u641c\u7d22\u7f51\u7edc\uff0c\u67e5\u5230\u4e00\u7bc7 Ubuntu \u505c\u6b62\u4f11\u7720\u7684\u6587\u7ae0\uff08\u8bf7<a rel=\"noreferrer noopener\" href=\"https:\/\/www.unixtutorial.org\/disable-sleep-on-ubuntu-server\/\" target=\"_blank\">\u70b9\u51fb\u6b64\u5904<\/a>\uff09\uff0c\u8003\u8651\u5230 Ubuntu \u548c Debian \u672c\u8d28\u6ca1\u4ec0\u4e48\u533a\u522b\uff0c\u64cd\u4f5c\u4e5f\u662f\u6709\u6548\u7684\u3002<\/p>\n\n\n\n<p>\u5173\u95ed\u4f11\u7720\u529f\u80fd\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target<\/pre>\n\n\n\n<p>\u5f53\u7136\uff0c\u5982\u679c\u540e\u6094\u4e86\uff0c\u9700\u8981\u91cd\u65b0\u6253\u5f00\u4f11\u7720\u529f\u80fd\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff08\u672a\u9a8c\u8bc1\uff09\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6709\u4e00\u53f0 HP ELite \u7b14\u8bb0\u672c\u9000\u5f79\u4e86\uff0c\u5176\u5b9e\u914d\u7f6e\u8fd8\u4e0d\u9519\uff0c500GB SSD \u786c\u76d8\u300116GB\u5185\u5b58\uff0c\u770b\u7740\u633a\u8f7b\u8584\uff0c\u672c\u6765\u8fd8\u6253\u7b97\u7528\u6765\u66ff\u6362\u81ea\u5df1\u5e73\u65f6\u4f7f\u7528\u7684\u7b14\u8bb0\u672c\uff0c\u540e\u6765\u53d1\u73b0&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.myvoipapp.com\/blogs\/yxh\/2020\/12\/17\/networkmanager-state-is-now-asleep\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[78,11,344,789,358,790],"class_list":["post-2219","post","type-post","status-publish","format-standard","hentry","category-53","tag-debian","tag-linux","tag-network","tag-sleep","tag-wifi","tag-790"],"_links":{"self":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/2219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/comments?post=2219"}],"version-history":[{"count":3,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/2219\/revisions"}],"predecessor-version":[{"id":2222,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/2219\/revisions\/2222"}],"wp:attachment":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/media?parent=2219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/categories?post=2219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/tags?post=2219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}