{"id":6886,"date":"2021-05-12T17:05:56","date_gmt":"2021-05-12T09:05:56","guid":{"rendered":"http:\/\/jc.a300.cn/luyouwang\/?p=6886"},"modified":"2021-05-12T17:05:56","modified_gmt":"2021-05-12T09:05:56","slug":"%e7%ba%a2%e7%b1%b3ax6%e8%b7%af%e7%94%b1%e5%99%a8%e8%a7%a3%e9%94%81ssh%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/jc.a300.cn/luyouwang\/6886.html","title":{"rendered":"\u7ea2\u7c73AX6\u8def\u7531\u5668\u89e3\u9501SSH\u6559\u7a0b"},"content":{"rendered":"
\u672c\u6587\u5e26\u6765Redmi\u7ea2\u7c73AX6 AX3000\u8def\u7531\u5668\u89e3\u9501SSH\u6559\u7a0b\uff0c\u6211\u4eec\u5728\u5237\u7b2c\u4e09\u65b9\u56fa\u4ef6\u7684\u65f6\u5019\u9700\u8981\u628a\u8def\u7531\u5668\u7684SSH\u89e3\u9501\uff0c\u8fd9\u6837\u624d\u80fd\u8fdb\u884c\u5237\u673a\u3001\u8fd0\u884c\u547d\u4ee4\u64cd\u4f5c\u3002<\/p>\n
<\/a><\/p>\n \u4e00\u53f0\u642d\u8f7d\u4e86 OpenWrt \u7cfb\u7edf\u7684\u65e0\u7ebf\u8def\u7531\u5668\uff08\u4e0b\u79f0\u8def\u7531A\uff09<\/p>\n \u7ea2\u7c73 AX3000 (aka. AX6)\uff08\u4e0b\u79f0\u8def\u7531B\uff09<\/p>\n \u4e00\u53f0\u652f\u6301\u7f51\u7ebf\u8fde\u63a5\u7684\u7535\u8111\uff08\u4e0b\u79f0\u7535\u8111\uff09<\/p>\n \u5b8c\u6574\u7684 shell-script\/unlock-redmi-ax3000 \u6e90\u7801\uff08\u4e0b\u79f0\u6e90\u7801\uff09<\/p>\n \u6e90\u7801\u4e0b\u8f7d\uff1a\u94fe\u63a5: http:\/\/pan.baidu.com\/s\/1vj2BnG4Lv9eV5t-MrmlP3A<\/a> \u63d0\u53d6\u7801: kdn3<\/p>\n 1. \u767b\u5165\u8def\u7531B\u540e\u53f0\uff0c\u68c0\u67e5\u56fa\u4ef6\u7248\u672c\u3002<\/strong> 2. \u5c06\u7535\u8111\u4e0e\u8def\u7531A\u901a\u8fc7\u6709\u7ebf\u8fde\u63a5<\/strong> <\/a><\/p>\n \u7136\u540e\u901a\u8fc7 SSH \u8fde\u63a5\uff0c\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff08\u6309\u56de\u8f66\u786e\u8ba4\uff09\uff1a<\/p>\n \u8b66\u544a\uff1a \u6267\u884c\u672c\u811a\u672c\u4f1a\u66f4\u6539\u60a8\u7684\u7f51\u7edc\u548c\u65e0\u7ebf\u8bbe\u5b9a\uff0c\u6267\u884c\u4e4b\u524d\u8bf7\u52a1\u5fc5\u5907\u4efd\u76f8\u5173\u6570\u636e<\/strong><\/p>\n <\/a><\/p>\n 3. \u5c06\u7535\u8111\u4e0e\u8def\u7531 A \u65ad\u5f00\uff0c\u8f6c\u63a5\u5230\u8def\u7531 B<\/strong><\/p>\n \u767b\u5165\u8def\u7531\u5668\u540e\u53f0\uff0c\u83b7\u53d6 STOK<\/p>\n http:\/\/192.168.31.1\/cgi-bin\/luci\/;stok=xxx<\/span>\uff08\u5176\u4e2d\u7684 xxx \u5373\u4e3a STOK\uff09<\/span><\/p>\n \u7136\u540e\u00a0\u4f9d\u6b21<\/strong> \u8bbf\u95ee\u4e0b\u9762\u7684 URL\uff08STOK \u4e0d\u542b\u5c16\u62ec\u53f7\uff09\uff1a<\/p>\n \u6ce8\u610f\uff1a\u8fd9\u53ef\u80fd\u9700\u8981\u82b1\u8d39\u4e00\u70b9\u65f6\u95f4\uff0c\u5e76\u4e14\u6709\u51e0\u7387\u5931\u8d25\uff0c\u8bf7\u591a\u5c1d\u8bd5\u51e0\u6b21\u3002<\/p>\n \u5982\u51fa\u73b0 connect success<\/span> \u5219\u4ee3\u8868\u8def\u7531 B \u5df2\u6210\u529f\u8fde\u63a5\u5230\u8def\u7531 A\uff0c\u53ef\u4ee5\u7ee7\u7eed\u8bbf\u95ee\u4e0b\u4e00\u4e2a URL\uff1a<\/p>\n <\/a><\/p>\n \u5982\u51fa\u73b0\u4e0b\u56fe\u4e2d\u7684\u5185\u5bb9\uff0c\u5219\u4ee3\u8868 SSH \u5f00\u542f\u6210\u529f\u3002<\/p>\n <\/a><\/p>\n 4. \u5c06\u5fc5\u8981\u6587\u4ef6\u4f20\u8f93\u81f3\u8def\u7531 B<\/strong><\/p>\n \u5237\u65b0\u8def\u7531 B \u540e\u53f0\u754c\u9762\uff0c\u6b64\u65f6 5GHz \u65e0\u7ebf\u8fde\u63a5\u5bc6\u7801\u5df2\u7ecf\u88ab\u81ea\u52a8\u66f4\u6539\u4e3a SSH \u767b\u5f55\u5bc6\u7801\u3002<\/p>\n\u51c6\u5907\u5de5\u4f5c\uff1a<\/h3>\n
\u6b65\u9aa4<\/h3>\n
\u63a8\u8350\u7684\u7248\u672c\u53f7\u4e3a\uff1aMiWiFi \u7a33\u5b9a\u7248 1.0.18\uff08\u70b9\u6b64\u4e0b\u8f7d<\/a>\uff09\uff0c\u672c\u6559\u7a0b\u4ec5\u4fdd\u8bc1\u5728\u8be5\u7248\u672c\u4e0b\u6709\u6548
\u82e5\u7248\u672c\u53f7\u4e0d\u5339\u914d\uff0c\u8bf7\u5148\u5347\u7ea7 \/ \u964d\u7ea7\u56fa\u4ef6\u3002<\/p>\n
\u8fdb\u5165\u6e90\u7801\u76ee\u5f55\uff0c\u5047\u8bbe\u8def\u7531A\u5730\u5740\u4e3a 192.168.1.1\uff0c\u5728\u7535\u8111\u4e0a\u6267\u884c\u547d\u4ee4\uff1a<\/p>\nscp wireless.sh root@192.168.1.1:\/root\/wireless.sh\r\n<\/pre>\n
sh \/root\/wireless.sh\r\n<\/pre>\n
http:\/\/192.168.31.1\/cgi-bin\/luci\/;stok=<STOK>\/api\/misystem\/extendwifi_connect?ssid=MEDIATEK-ARM-IS-GREAT&password=ARE-YOU-OK\r\n<\/pre>\n
http:\/\/192.168.31.1\/cgi-bin\/luci\/;stok=<STOK>\/api\/xqsystem\/oneclick_get_remote_token?username=xxx&password=xxx&nonce=xxx\r\n<\/pre>\n