{"id":1261,"date":"2023-03-31T09:37:34","date_gmt":"2023-03-31T01:37:34","guid":{"rendered":"https:\/\/aichh.com\/?p=1261"},"modified":"2023-03-31T09:37:34","modified_gmt":"2023-03-31T01:37:34","slug":"%e7%be%a4%e6%99%96%e7%8b%ac%e7%ab%8b%e5%ae%89%e8%a3%85entware%e5%a2%9e%e5%8a%a0opkg%e5%8a%9f%e8%83%bd-%e6%94%af%e6%8c%81dsm6%e3%80%817","status":"publish","type":"post","link":"https:\/\/aichh.com\/1261.html","title":{"rendered":"\u7fa4\u6656\u72ec\u7acb\u5b89\u88c5Entware\u589e\u52a0opkg\u529f\u80fd \u652f\u6301DSM6\u30017"},"content":{"rendered":"<!--wp-compress-html--><!--wp-compress-html no compression--><h1>\u4ecb\u7ecd<\/h1>\n<p>\u672c\u7bc7\u8bf4\u660e\u9002\u7528\u4e8eARM\u548cX64\u6784\u67b6\uff0cDSM\u7248\u672c\u4e0d\u80fd\u4f4e\u4e8e3.2\u3002armv5\u7248\u672c\u9002\u7528\u4e8eMarvell Kirkwood mv6282 cpu\uff0c\u4f60\u53ef\u4ee5\u5728\u66f4\u65b0\u7248\u672c\u7684ARMCPU\u4e0a\u5b89\u88c5armv7\u7248\u672c\u3002\u5c3d\u7ba1armv7 repo\u662f\u57fa\u4e8ecortex-a9\u9002\u914d\u7684\uff0c\u5b83\u4e5f\u53ef\u4ee5\u6210\u529f\u7684\u8fd0\u884c\u5728Marvell Armada XP\u6784\u67b6\u7684\u7fa4\u8f89\u4e0a\u3002\u8bf7\u5728Realtek RTD129x CPU (64 bit arm)\u6784\u67b6\u7684\u673a\u5668\u4e0a\u4f7f\u7528aarch64\u7248\u672c\u3002<\/p>\n<p>\u6d4b\u8bd5\u652f\u6301 Synology DS1618+ w\/ DSM 6.2-23739 Update 1<br \/>\n\u6d4b\u8bd5\u652f\u6301 Synology DS920+ w\/ DSM 7.0-41890<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"3340130486.png1_\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2023\/03\/3340130486.png1_.jpg\" width=\"352\" height=\"176\"><\/p>\n<h6>\u9879\u76ee\u539f\u6587\u5730\u5740\uff1a<a href=\"https:\/\/imnks.com\/go\/aHR0cHM6Ly9naXRodWIuY29tL0VudHdhcmUvRW50d2FyZS93aWtpL0luc3RhbGwtb24tU3lub2xvZ3ktTkFT\" target=\"_blank\" rel=\"external noopener\">\u70b9\u51fb\u8bbf\u95ee<\/a>\u00a0\u7ffb\u8bd1 by \u608d\u532a.bat<\/h6>\n<h1>\u90e8\u7f72Entware<\/h1>\n<h3>1\u3001\u5728\u6839\u6587\u4ef6\u76ee\u5f55\u4e4b\u5916\u521b\u5efaEntware\u76ee\u5f55<\/h3>\n<pre>mkdir -p \/volume1\/@Entware\/opt<\/pre>\n<h3>2\u3001\u79fb\u9664\/opt\u5e76\u6302\u8f7doptware \u6587\u4ef6\u5939<\/h3>\n<p>\u8bf7\u786e\u5b9a \/opt\u6587\u4ef6\u5939\u662f\u7a7a\u7684\uff08Optware \u672a\u5b89\u88c5\uff09\uff0c\u5728\u8fd9\u4e2a\u6b65\u9aa4\u4e2d\u6211\u4eec\u4f1a\u8fde\u5e26\u8be5\u76ee\u5f55\u5185\u7684\u6587\u4ef6\u4e00\u8d77\u5220\u9664\u3002<\/p>\n<pre>rm -rf \/opt\r\nmkdir \/opt\r\nmount -o bind \"\/volume1\/@Entware\/opt\" \/opt<\/pre>\n<h3>3\u3001\u6839\u636e\u5904\u7406\u5668\u578b\u53f7\u8fd0\u884c\u811a\u672c<\/h3>\n<p>aarch64\uff08armv8\uff09\u6bd4\u5982\uff1a\u732b\u76d8\u9ed1\u7fa4\u6656\u3001DS220j<\/p>\n<pre>wget -O - https:\/\/bin.entware.net\/aarch64-k3.10\/installer\/generic.sh | \/bin\/sh<\/pre>\n<p>x86_64 \u6bd4\u5982\uff1a\u8717\u725b\u661f\u9645\u9ed1\u7fa4\u6656\u3001DS918+<\/p>\n<pre>wget -O - https:\/\/bin.entware.net\/x64-k3.2\/installer\/generic.sh | \/bin\/sh<\/pre>\n<h3>4\u3001\u521b\u5efa\u5f00\u673a\u8ba1\u5212\u4efb\u52a1<\/h3>\n<p>\u5728\u8ba1\u5212\u4efb\u52a1\u4e2d\u521b\u5efa\u4e00\u4e2a\u89e6\u53d1\u7684\u4efb\u52a1<\/p>\n<p>\u8fdb\u5165DSM\u9875\u9762&gt; \u63a7\u5236\u9762\u677f &gt; \u8ba1\u5212\u4efb\u52a1<\/p>\n<p>\u65b0\u589e &gt; \u89e6\u53d1\u7684\u4efb\u52a1 &gt;\u7528\u6237\u81ea\u5b9a\u4e49\u811a\u672c<\/p>\n<p>\u5e38\u89c4<\/p>\n<p>\u4efb\u52a1: Entware<\/p>\n<p>\u7528\u6237\u8d26\u53f7: root<\/p>\n<p>\u4e8b\u4ef6: \u5f00\u673a<\/p>\n<p>\u5148\u884c\u4efb\u52a1: \u65e0<\/p>\n<p>\u4efb\u52a1\u8bbe\u7f6e<\/p>\n<p>\u8fd0\u884c\u547d\u4ee4: (\u586b\u5199\u4ee5\u4e0b\u5185\u5bb9)<\/p>\n<pre>#!\/bin\/sh\r\n\r\n# Mount\/Start Entware\r\nmkdir -p \/opt\r\nmount -o bind \"\/volume1\/@Entware\/opt\" \/opt\r\n\/opt\/etc\/init.d\/rc.unslung start\r\n\r\n# Add Entware Profile in Global Profile\r\nif grep  -qF  '\/opt\/etc\/profile' \/etc\/profile; then\r\n    echo \"Confirmed: Entware Profile in Global Profile\"\r\nelse\r\n    echo \"Adding: Entware Profile in Global Profile\"\r\ncat &gt;&gt; \/etc\/profile &lt;&lt;\"EOF\"\r\n\r\n# Load Entware Profile\r\n. \/opt\/etc\/profile\r\nEOF\r\nfi\r\n\r\n# Update Entware List\r\n\/opt\/bin\/opkg update<\/pre>\n<h3>5\u3001\u91cd\u542f\u4f60\u7684\u7fa4\u8f89<\/h3>\n<p>\u91cd\u542f\u4f60\u7684\u7fa4\u8f89<br \/>\n\u91cd\u542f\u4f60\u7684\u7fa4\u8f89<br \/>\n\u91cd\u542f\u4f60\u7684\u7fa4\u8f89<\/p>\n<p>\u6d4b\u8bd5\uff1aopkg update<\/p>\n<h1>\u6ce8\u610f\u4e8b\u9879\uff08\u4e00\u822c\u4e0d\u7528\u770b\uff09<\/h1>\n<p>\u56fa\u4ef6\u5347\u7ea7\u4f1a\u64e6\u9664 \/opt \u6587\u4ef6\u5939. \u4f60\u5e94\u5f53\u5c06Entware \u90e8\u7f72\u5728rootfs\u76ee\u5f55\u4e4b\u5916 \u5e76\u4e14\u5411\/opt\u5efa\u7acb\u7b26\u53f7\u8fde\u63a5\uff0c\u6216\u8005\u4f7f\u7528mount -o bind.\u5f53\u56fa\u4ef6\u5347\u7ea7\u540e\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u518d\u6b21 \/etc\/rc.local\u548c\/root\/.profile \u6587\u4ef6\u3002<\/p>\n<p>\u4f60\u5982\u679c\u9700\u8981\u5efa\u7acb\u4e00\u4e2a\u57fa\u4e8eEntware\u7684\u81ea\u542f\u52a8\u7a0b\u5e8f\uff0c\u4f60\u9700\u8981\u786e\u4fdd\u5b83\u5728Entware\u542f\u52a8\u540e\u518d\u8fdb\u884c\u52a0\u8f7d\uff0c\u6b64\u5904\u4ee5iperf3\u670d\u52a1\u5668\u7aef\u4e3a\u4f8b\u3002<\/p>\n<p>\u65b0\u589e &gt; \u89e6\u53d1\u7684\u4efb\u52a1 &gt;\u7528\u6237\u81ea\u5b9a\u4e49\u811a\u672c<\/p>\n<p>\u5e38\u89c4<\/p>\n<p>\u4efb\u52a1: Entware \u2013 iperf3 Server<\/p>\n<p>\u7528\u6237: root<\/p>\n<p>\u4e8b\u4ef6: \u5f00\u673a<\/p>\n<p>\u5148\u884c\u4efb\u52a1: Entware \uff08\u9009\u62e9\u4f60\u547d\u540d\u7684Entware\u81ea\u542f\u52a8\u4e8b\u4ef6\uff09<\/p>\n<p>\u4efb\u52a1\u8bbe\u7f6e<\/p>\n<p>\u8fd0\u884c\u547d\u4ee4:<\/p>\n<pre># Run ( \/opt\/bin\/iperf3 -s -D -p 5201 ) as GUEST user.\r\nsudo -H -u guest bash -c \u2018echo \u201cI am $USER, with uid $UID\u201d; \/opt\/bin\/iperf3 -s -D -p 5201\u2019<\/pre>\n<h1>\u5173\u4e8eIPKG<\/h1>\n<p>optware\u91cc\u9762\u8f6f\u4ef6\u5305\u5f88\u591a\u5e74\u4e0d\u66f4\u65b0\u4e86\uff0c\u51e0\u4e4e\u5168\u90e8\u5305\u5728Entware\u91cc\u9762\u90fd\u6709\u7684\uff0c\u4e0d\u5efa\u8bae\u518d\u6298\u817e<\/p>\n<p>\u6bd4\u5982 ipkg install gcc \u6362\u4e3a opkg install gcc\u5c31\u884c\u4e86\uff0c\u800c\u4e14\u662f\u6700\u65b0\u7248\u672c\uff01\uff01\uff01<\/p>\n<p>VIA:\u4f5c\u8005\uff1a\u6211\u4e0d\u662f\u77ff\u795e\uff0chttps:\/\/imnks.com\/335.html<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<!--wp-compress-html no compression--><!--wp-compress-html-->","protected":false},"excerpt":{"rendered":"\u4ecb\u7ecd \u672c\u7bc7\u8bf4\u660e\u9002\u7528\u4e8eARM\u548cX64\u6784\u67b6\uff0cDSM\u7248\u672c\u4e0d\u80fd\u4f4e\u4e8e3.2\u3002armv5\u7248\u672c\u9002\u7528\u4e8eMarvell Kirkwood mv6282 cpu\uff0c\u4f60\u53ef\u4ee5\u5728\u66f4\u65b0\u7248\u672c\u7684ARMCPU\u4e0a\u5b89\u88c5armv7\u7248\u672c\u3002\u5c3d\u7ba1a \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[43,335,334],"class_list":["post-1261","post","type-post","status-publish","format-standard","hentry","category-dsm","tag-dsm","tag-335","tag-334"],"views":638,"_links":{"self":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/1261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/comments?post=1261"}],"version-history":[{"count":1,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/1261\/revisions"}],"predecessor-version":[{"id":1263,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/1261\/revisions\/1263"}],"wp:attachment":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/media?parent=1261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/categories?post=1261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/tags?post=1261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}