{"id":797,"date":"2021-08-11T11:06:31","date_gmt":"2021-08-11T11:06:31","guid":{"rendered":"https:\/\/hkc.nasclub.vip\/wordpress\/?p=797"},"modified":"2021-08-11T11:06:31","modified_gmt":"2021-08-11T11:06:31","slug":"%e7%9b%b4%e6%8e%a5%e5%9c%a8%e7%be%a4%e6%99%96ssh%e9%87%8c%e4%bf%ae%e6%94%b9%e9%bb%91%e7%be%a4%e5%90%af%e5%8a%a8%e7%9b%98%e7%9a%84sn%e5%92%8cmac%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/hkc.nasclub.vip\/?p=797","title":{"rendered":"\u76f4\u63a5\u5728\u7fa4\u6656SSH\u91cc\u4fee\u6539\u9ed1\u7fa4\u542f\u52a8\u76d8\u7684SN\u548cMAC\u65b9\u6cd5"},"content":{"rendered":"<p><!--more--><\/p>\n<p>SSH\u767b\u5f55\u7fa4\u6656\uff08root\u767b\u5f55\uff09\uff0c\u8f93\u5165\u4e0b\u9762\u7684\u547d\u4ee4<\/p>\n<p>mkdir -p \/tmp\/boot<br \/>\ncd \/dev<br \/>\nmount -t vfat synoboot1 \/tmp\/boot\/<br \/>\ncd \/tmp\/boot\/grub<br \/>\nvi grub.cfg<\/p>\n<p>\u6b64\u65f6\u8fd8\u662f\u547d\u4ee4\u6a21\u5f0f\uff0c\u6309\u952e\u76d8\u4e0a\u7684 i \u952e\uff08\u5c0f\u5199\u72b6\u6001\uff09\u6216\u8005Ins\u952e\u76d8\uff0c\u8fdb\u5165\u6587\u6863\u7f16\u8f91\u6a21\u5f0f\uff0c\u6b64\u65f6\u5c31\u53ef\u4ee5\u8f93\u5165\u65b0\u7684SN\uff0cMAC1\u7684\u65b0\u503c\uff0c\u5220\u9664\u65e7\u503c\u3002<br \/>\n\u4fee\u6539\u5b8c\u6210\u540e\uff0c\u6309\u952e\u76d8\u4e0a\u7684Esc\u952e\uff0c\u8fd4\u56de\u5230\u547d\u4ee4\u6a21\u5f0f\uff0c\u8f93\u5165 :wq \uff08\u6ce8\uff1a\u662f\u82f1\u6587\u72b6\u6001\u7684:wq\uff09\uff0c\u4fdd\u5b58\u5e76\u9000\u51fa\u3002\u5982\u679c\u4fee\u6539\u4e71\u4e86\uff0c\u60f3\u4e0d\u4fdd\u5b58\u5e76\u9000\u51fa\uff0c\u5219\u662f\u8f93\u5165 :q!<\/p>\n<p>\u4e4b\u540e\u91cd\u542f\u7fa4\u6656\u5373\u53ef\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[],"class_list":["post-797","post","type-post","status-publish","format-standard","hentry","category-hkc","category-synology"],"_links":{"self":[{"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/posts\/797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=797"}],"version-history":[{"count":0,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/posts\/797\/revisions"}],"wp:attachment":[{"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}