{"id":787,"date":"2019-07-31T11:50:42","date_gmt":"2019-07-31T03:50:42","guid":{"rendered":"http:\/\/jc.a300.cn/luyouwang\/?p=787"},"modified":"2019-07-31T11:50:42","modified_gmt":"2019-07-31T03:50:42","slug":"%e6%96%90%e8%ae%af%e8%b7%af%e7%94%b1%e5%99%a8%e5%88%b7%e6%9c%ba%e5%9b%ba%e4%bb%b6-%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98%e8%a7%a3%e7%ad%94","status":"publish","type":"post","link":"http:\/\/jc.a300.cn/luyouwang\/787.html","title":{"rendered":"\u6590\u8baf\u8def\u7531\u5668\u5237(\u673a)\u56fa\u4ef6 \u5e38\u89c1\u95ee\u9898\u89e3\u7b54"},"content":{"rendered":"
\u6574\u7406\u4e86\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\uff08\u4e0d\u770b\u767d\u4e0d\u770b\uff09\uff1a<\/span><\/strong><\/p>\n A\uff1a\u4e0d\u4f1a\uff1f\u6709\u4e24\u4e2a\u9009\u62e9\uff1a\u9009\u62e9\u2460\uff1a\u53ef\u4ee5\u5173\u95ed\u6b64\u7f51\u9875\uff0c\u6ca1\u5fc5\u8981\u4e3a\u96be\u81ea\u5df1\u3002 A\uff1aSSH\u7528\u6237\u540d\u662fadmin\uff0c\u5bc6\u7801\u662f\u4f60\u7684\u7f51\u9875\u7ba1\u7406\u5bc6\u7801<\/span>\u3002(\u7f51\u9875\u7ba1\u7406\u5bc6\u7801\u548cSSH\u5bc6\u7801\u662f\u5206\u5f00\u4fdd\u5b58\u7684\uff0c\u5982\u679c\u4f60\u5f00\u673a\u540e\u6539\u8fc7\u7f51\u9875\u5bc6\u7801(\u6bd4\u5982\u6267\u884c\u6062\u590d\u51fa\u5382\u8bbe\u7f6e\u76f8\u5f53\u4e8e\u6539\u6210\u9884\u7f6e\u7684admin)\uff0cssh\u5bc6\u7801\u4e0d\u4f1a\u7acb\u5373\u540c\u6b65\uff0c\u8fd8\u662f\u4e0a\u4e00\u6b21\u7684\uff0c\u91cd\u542f\u624d\u4f1a\u540c\u6b65<\/span><\/b>\u6210\u7f51\u9875\u7684\u7ba1\u7406\u5bc6\u7801)\uff0c\u5982\u679c\u4f60\u4e0d\u8bb0\u5f97\u4f60\u7684\u5bc6\u7801\u4e86\u5c31\u957f\u6309\u590d\u4f4d\u952e\u6062\u590d\u51fa\u5382\u8bbe\u7f6e\uff0c\u5982\u679c\u7528WinSCP\u767b\u9646\u534f\u8bae\u8981\u9009\u62e9SCP\u3002<\/p>\n A\uff1a\u8fd9\u4e9b\u662f\u65e0\u6cd5\u4e8c\u6b21\u4fee\u6539\u3001\u4f18\u5316\u6216\u8d1f\u4f18\u5316\u7684\uff0c\u539f\u7248\u4ec0\u4e48\u6837\u8fd9\u4e2a\u4e5f\u4ec0\u4e48\u6837\uff0c\u539f\u6c41\u539f\u5473\u7684\u5b98\u65b9\u56fa\u4ef6\uff0c\u6ca1\u6709\u4fee\u6539\u5199\u5165\u4efb\u4f55nvram\u53c2\u6570\uff0c\u5982\u679c\u4f60\u4e0d\u7528SSH\uff0c\u6548\u679c\u662f\u7b49\u540c\u4e8e\u5b98\u65b9\u7684\uff01(\u6709\u4e9b\u5b98\u65b9\u56fa\u4ef6\u7684\u95ee\u9898\u8bf7\u7b49\u5f85\u5b98\u65b9\u56fa\u4ef6\u7248\u672c\u5347\u7ea7\u6765\u89e3\u51b3\uff0c\u8bf7\u4e0d\u8981\u628a\u9ed1\u9505\u7529\u7ed9\u6211)\u3002\uff08\u8fd8\u6709\u4e0d\u8981\u4e00\u6709\u95ee\u9898\u5c31\u628a\u9505\u7529\u7ed9\u56fa\u4ef6\uff0c\u56fa\u4ef6\u51fa\u5382\u6709\u4e25\u683c\u7684\u6d4b\u8bd5\u6d41\u7a0b\uff0c\u4e0d\u4f1a\u4e13\u95e8\u9488\u5bf9\u4e3a\u96be\u4f60\u4e00\u4e2a\u4eba\u3002\uff09<\/span><\/p>\n A\uff1a\u89c1\u5237\u5165\u65b9\u6cd52\uff0c\u673a\u5668\u901a\u7535\u521d\u59cb\u5316\u8bbe\u5907\u540eCFE\u4f1a\u6839\u636e\u9884\u8bbe\u7684\u65f6\u95f4\u7b49\u5f85\u51e0\u79d2\uff0c\u8fd9\u65f6\u5019\u5982\u679c\u6309\u4e0b\u4e86\u590d\u4f4d\u952e\uff0cCFE\u68c0\u6d4b\u5230\u5c31\u4f1a\u4e2d\u65ad\u6682\u505c\u5f15\u5bfc\u7cfb\u7edf\uff0c\u5982\u679c\u6ca1\u6709\u6309\u4e0b\u6309\u952e\u5c31\u4f1a\u6b63\u5e38\u5f15\u5bfc\u542f\u52a8\u7cfb\u7edf\uff0cCFE\u7684IP\u8bfb\u53d6\u5f53\u524d\u7684NVRAM\u503c\uff0c\u662f\u52a8\u6001\u7684\uff0c\u5982\u679c\u5b98\u65b9\u56fa\u4ef6\u4fee\u6539\u8fc7IP\u6216\u8005\u5237\u4e86\u6885\u6797\u56fa\u4ef6\uff0cIP\u4e5f\u968f\u4e4b\u66f4\u6539\uff0c\u5982\u679c\u4e0d\u8bb0\u5f97\u4e86IP\u4e5f\u53ef\u4ee5\u4f7f\u7528\u00a0ASUS Device Discovery<\/a>\u00a0\u6765\u67e5\u627eIP \u3002<\/p>\n A\uff1a\u6709\u95ee\u9898\uff0c\u6345\u590d\u4f4d A\uff1a\u8fd9\u4e2a\u56fa\u4ef6\u57fa\u672c\u7b49\u4e8e\u539f\u7248\u56fa\u4ef6\uff0c\u7528\u4e0a\u9762\u8bf4\u7684CFE web\u65b9\u5f0f\uff0c\u6216\u8005 nvram\u628a\u7248\u672c\u53f7\u6539\u5c0f\u7136\u540e\u81ea\u52a8\u5347\u7ea7\uff0c\u6216\u8005SSH\u5de5\u5177\u7bb1 \u5237\u673a&\u8fd8\u539f \u6062\u590d\u539f\u5382 \u3002<\/p>\n A\uff1a\u7cfb\u7edfdev_info\u5206\u533a\u4e22\u5931 \u6216\u8005 dg_ver\u7248\u672c\u592a\u9ad8\uff0c\u53ef\u4ee5\u81ea\u884c\u6062\u590d\u5907\u4efd \u6216\u8005\u5230 SSH\u5de5\u5177\u7bb1\u2013\u2192\u7cfb\u7edf&\u5176\u5b83\u2013\u2192\u5176\u5b83\u2013\u2192\u6062\u590d\u964d\u7ea7 dev_info \u3002<\/p>\n A\uff1a\u770b\u697c\u4e0b\uff0c\u56fa\u4ef6\u4f20\u5230\u8def\u7531\/tmp\u76ee\u5f55\uff0c\u7136\u540edd\u547d\u4ee4\u5237 \u6216\u8005 \u7528\u4e0a\u9762\u8bf4\u7684CFE web\u65b9\u5f0f\u3002(SSH\u5de5\u5177\u7bb1\u5df2\u7ecf\u96c6\u6210\uff0c\u4e00\u952e\u5728\u7ebf\u5347\u7ea7\uff0c\u4e00\u952e\u8f6c\u5237lede)<\/span><\/p>\n A\uff1a\u89c1\u4e0a\u9762\u5237\u673a\u65b9\u6cd51\u540e\u534a\u90e8\u5206\uff0c\u76f4\u63a5lede\u7684web\u5347\u7ea7\uff0c\u6216\u8005\u770b\u697c\u4e0b\uff0c\u56fa\u4ef6\u4f20\u5230\u8def\u7531\/tmp\u76ee\u5f55\uff0c\u7136\u540e\u7528mtd\u547d\u4ee4\u5237 \u6216\u8005 \u7528\u4e0a\u9762\u8bf4\u7684CFE web\u65b9\u5f0f\u3002<\/p>\n A\uff1a\u901a\u8fc7opkg\u5b89\u88c5\u7684\u6587\u4ef6\u4fdd\u5b58\u5728\/root\/opt\u76ee\u5f55\uff0c\u5176\u5b83\u5728\/root\u76ee\u5f55\uff0c\u770b\u8c01\u4e0d\u987a\u773c\u5c31\u5220\u8c01(\u8ba4\u771f\u7684)\u3002\uff08\u53ef\u4ee5\u770bopkg\u7684\u5e2e\u52a9 \u6216\u8005 opt install local\u91cd\u88c5entware\u53ef\u4ee5\u5220\u9664\u5168\u90e8\u901a\u8fc7opkg\u5b89\u88c5\u7684\u6e90\u91cc\u7684\u8f6f\u4ef6\uff0c\/root\u76ee\u5f55\u7684\u4e0d\u4f1a\u5220\u9664\uff09\u6216\u8005SSH\u5de5\u5177\u7bb1 \u6e05\u7406&\u5220\u9664<\/p>\n A\uff1a\u770b\u539f\u8d34\uff0c\/etc\/firewall.user\u91cc\u9762\u52a0\uff0c\u6bd4\u5982SSH\u662f22\u7aef\u53e3\uff0c\u624b\u52a8\u8fd0\u884c\u6216\u76f8\u5173\u670d\u52a1\u91cd\u542f\u65f6\u6216\u91cd\u542f\u8def\u7531\u751f\u6548\u3002(SSH\u5de5\u5177\u7bb1\u7cfb\u7edf&\u5176\u5b83)<\/p>\n A\uff1a\u770b\u539f\u8d34\uff0c\u5b9a\u65f6wifi\uff0c\u5b9a\u65f6\u53d1\u9001\u5fae\u4fe1\u4fe1\u606f\u7b49\u547d\u4ee4 \u6309\u683c\u5f0f\u52a0\u5230\/etc\/crontabs\/admin\u91cc\u9762\u3002<\/p>\nQ\uff1aSSH\u57fa\u672c\u547d\u4ee4\u4e0d\u7406\u89e3\u3001\u4e0d\u4f1a\u3001\u5728\u54ea\u91cc\u8fd0\u884c\uff1f<\/h3>\n
\u9009\u62e9\u2461\uff1a\u53ef\u4ee5\u5728 \u8bba\u575b \u6216 \u767e\u5ea6\u641c\u7d22 linux \u6216\u8005openwrt \u76f8\u5173\u6559\u7a0b\uff0c\u53ea\u8981\u613f\u610f\u5b66\u6ca1\u6709\u5b66\u4e0d\u4f1a\u7684\uff0c\u81ea\u5df1\u61d2\u5c31\u4e0d\u8981\u62ff\u5c0f\u767d\u8fd9\u4e2a\u8bcd\u5f53\u6321\u7bad\u724c\u4e86\u3002
\u4e00\u4e9b\u547d\u4ee4\u5927\u90fd\u662f\u547d\u4ee4+\u53c2\u6570\u7684\u5f62\u5f0f\uff0c\u5927\u591a\u6570\u547d\u4ee4\u53ef\u4ee5\u7528\u547d\u4ee4+\u2013help\u663e\u793a\u76f8\u5173\u7528\u6cd5\uff0c\u6216\u8005\u00a0http:\/\/www.baidu.com\/<\/a>\u00a0\u641c\u7d22linux\u4e0b\u7684\u7528\u6cd5\uff0c\u770b\u4e0d\u61c2\uff1fhttp:\/\/www.baidu.com\/s?wd=\u7ffb\u8bd1<\/a>
\u57fa\u672c\u64cd\u4f5c\u4e5f\u4e0d\u4f1a\uff1fhttp:\/\/www.baidu.com\/s?wd=linux+\u5173\u952e\u8bcd<\/a>
\u5927\u90e8\u5206\u547d\u4ee4\u662f\u8981\u5728 \u7535\u8111\u6216\u624b\u673a\u4f7f\u7528ssh\u8f6f\u4ef6\u767b\u9646\u8def\u7531\u4ee5\u540e\u5728\u7ec8\u7aef\u6267\u884c\u7684\u3002<\/p>\nQ\uff1aSSH\u7528\u6237\u540d\u3001\u5bc6\u7801<\/span>\uff1f<\/h3>\n
Q\uff1a\u6709\u7ebf\u600e\u4e48\u6837\uff1f\u65e0\u7ebf\u600e\u4e48\u6837\uff1f\u7a33\u5b9a\u6027\u600e\u4e48\u6837\uff1fXXX\u600e\u4e48\u6837\uff1f<\/h3>\n
Q\uff1a\u600e\u4e48\u8fdb\u5165CFE\uff1f<\/h3>\n
Q\uff1a\u600e\u4e48\u6062\u590d\u51fa\u5382\u8bbe\u7f6e\uff1f\u91cd\u7f6envram\uff1f<\/h3>\n
\u65b9\u6cd51\uff1a\u8fdb\u5165CFE\u7f51\u9875\uff0c\u70b9\u51fb Restore NVRAM \u91cd\u7f6eNVRAM (lede\u56fa\u4ef6\u6ca1\u6709\u4f7f\u7528nvram\uff0c\u4e0d\u9002\u7528)
\u65b9\u6cd52\uff1a\u7cfb\u7edf\u5b8c\u5168\u542f\u52a8\u4ee5\u540e(\u901a\u75355\u5206\u949f\u4ee5\u540e)\u957f\u6309\u590d\u4f4d\u952e10\u79d2\u8fdb\u884c\u590d\u4f4d(\u4e2a\u522b\u6885\u6797\u56fa\u4ef6\u6ca1\u6709\u9002\u914d\u4e0d\u884c) (\u7cfb\u7edf\u542f\u52a8\u540e\u4f1a\u8fd0\u884c\u6309\u94ae\u68c0\u67e5\u7a0b\u5e8f\uff0c\u68c0\u6d4b\u5230\u957f\u6309\u6309\u952e\u540e\u5c31\u89e6\u53d1\u6267\u884c\u91cd\u7f6e\u64cd\u4f5c\uff0c\u6ca1\u542f\u52a8\u5b8c\u4f60\u5c31\u6309\u662f\u6ca1\u7528\u7684)(lede\u56fa\u4ef6\u6709\u65f6\u5019\u957f\u6309\u65e0\u6548\uff0c\u65ad\u7535\u91cd\u542f\u91cd\u8bd5\u51e0\u6b21\u5c31\u53ef\u4ee5\u4e86)<\/p>\nQ\uff1a\u600e\u4e48\u5237\u56de\u539f\u7248\uff1f<\/h3>\n
Q\uff1a\u624b\u52a8\u5347\u7ea7\u6216\u8005CFE\u9875\u9762\u65e0\u6cd5\u5237\u5165\u5b98\u65b9\u56fa\u4ef6\uff1f<\/h3>\n
Q\uff1a\u600e\u4e48\u5728\u6b64\u7248\u672c\u57fa\u7840\u4e0a \u66f4\u65b0\u5347\u7ea7 \u6216\u8005 \u8f6c\u5237LEDE\uff1f<\/h3>\n
Q\uff1a\u5df2\u7ecf\u662fLEDE\u600e\u4e48\u5237\u8fd9\u4e2a\uff1f<\/h3>\n
Q\uff1a\u600e\u4e48\u6e05\u7406\u5df2\u7ecf\u5b89\u88c5\u7684\u8f6f\u4ef6\uff1f<\/h3>\n
Q\uff1a\u600e\u4e48\u9632\u706b\u5899\u5f00\u542f\u989d\u5916\u7aef\u53e3(\u6bd4\u5982\u8fdc\u7a0b\u8bbf\u95eetransmission\u3001Aria2\u3001SSH\u3001FTP\u7b49)\u3001\u81ea\u5b9a\u4e49iptable\u89c4\u5219\uff1f<\/h3>\n
Q\uff1a\u600e\u4e48\u81ea\u5b9a\u4e49\u5b9a\u65f6\u4efb\u52a1\uff0c\u8ba1\u5212\u4efb\u52a1\uff1f<\/h3>\n
Q\uff1a\u600e\u4e48\u67e5\u770b\u3001\u66f4\u6539wifi\u53d1\u5c04\u529f\u7387\uff1f<\/h3>\n