{"id":2229,"date":"2021-09-29T13:56:22","date_gmt":"2021-09-29T05:56:22","guid":{"rendered":"http:\/\/blog.zengqq.com.cn\/?p=2229"},"modified":"2021-10-21T22:13:18","modified_gmt":"2021-10-21T14:13:18","slug":"%e6%9e%84%e5%bb%bagsd-raspi-ftp-web","status":"publish","type":"post","link":"https:\/\/blog.zengqq.com.cn\/?p=2229","title":{"rendered":"\u6784\u5efaGSD-RASPi-FTP-Web"},"content":{"rendered":"\n<p>[\u88ab\u8bc1\u5b9e\u4e0d\u80fd\u5b9e\u73b0\uff0c\u56e0\u4e3aGSD\u7684\u7cfb\u7edf\u81ea\u5e26ip\uff0c\u4e0d\u652f\u6301\u8def\u7531\u5668\u7684\u8bbe\u5b9a\u3011<\/p>\n\n\n\n<p>\u901a\u8fc7\u6811\u8393\u6d3e\u5b89\u88c5DD-wrt\u548cNginx\u642d\u5efa\u5fae\u578bAP\u548c\u4e00\u4e2aFTP\u7f51\u7ad9\uff0c\u6811\u8393\u6d3eip\u5730\u5740\u6539\u6210GSD\u7684Ftp\u767b\u9646ip\uff0c\u5c06\u62f7\u8d1d\u6587\u4ef6\u5730\u5740\u653e\u5728www\/\u4e0b\uff0c\u5e76\u4e14\u5f00\u901a\u81ea\u52a8index\u76ee\u5f55\u3002\u7528\u624b\u673a\u7aefssh\u8fde\u63a5\u6811\u8393\u6d3e\u5b8c\u6210\u4e0b\u8f7d\u7279\u5b9adose_info.xxxxxxx\u6587\u4ef6\uff0c\u7136\u540e\u901a\u8fc7\u624b\u673a\u767b\u9646www\u5b9e\u73b0\u4e0b\u8f7d\uff0c\u518d\u5229\u7528\u624b\u673a\u53d1\u9001\u90ae\u4ef6\u5230\u516c\u53f8\u7535\u8111\u3002<\/p>\n\n\n\n<p>\u540e\u6765\u8bd5\u60f3\u4e86\u4e00\u4e0b\uff1aGSD\u7684LAN\u53e3\u662f\u6709\u7ebf\u7f51\u5361Mac1\u5176IP\u5730\u5740\u662f192.168.8.4\uff0c\u6811\u8393\u6d3e\u4fee\u6539\u6709\u7ebf\u7f51\u5361Mac2\u7684ip\u5730\u5740\u6765\u6ee1\u8db3192.168.8.6\/8\u4e2d\u4efb\u610f\u4e00\u4e2a\uff0c\u8fd9\u6837\u6811\u8393\u6d3e\u5c31\u80fd\u987a\u5229\u8fde\u4e0aGSD\u7684FTP\u670d\u52a1\u3002\u8fd9\u662f\u201c\u80fd\u201d\u8fde\u7684\u95ee\u9898\u88ab\u89e3\u51b3\u4e86\uff0c\u4f46\u662f\u600e\u4e48\u8fde\uff1f\u6811\u8393\u4e0d\u4f1a\u81ea\u52a8\u64cd\u4f5c\uff08\u81ea\u52a8\u5316\u4ee5\u540e\u518d\u8bf4\uff09\u6240\u4ee5\u8981\u4e48\u9700\u8981\u5728CLI\u7ed9\u51fa\u6307\u4ee4\u8ba9\u5176\u8fde\u63a5\uff0c\u8981\u4e48\u8fdc\u7a0b\u684c\u9762\u7aefVNC\u6765\u6253\u5f00IE\u7684\u7f51\u5740\u4ece\u800c\u8fde\u63a5\u3002<\/p>\n\n\n\n<p>\u901a\u8fc7CLi\u6307\u4ee4\u884c\u5b8c\u6210\u662f\u6700\u7701\u4e8b\u7684\uff0c\u4f46\u662f\u754c\u9762\uff08\u5bf9\u975e\u7801\u519c\uff09\u4e0d\u53cb\u597d\u3002\u754c\u9762\u767b\u9646\u9700\u8981VNC\u652f\u6301\uff0c\u4f46\u662f\u516c\u53f8\u7684\u7535\u8111\u4f3c\u4e4e\u6ca1\u6709VNC viewer\u8fd9\u4e2a\u8f6f\u4ef6\u3002<\/p>\n\n\n\n<p>\u5728\u8fd9\u91cc\u6211\u60f3\u8d77\u7528\u90a3\u4e2a\u201c\u53e4\u65e9\u201d\u6811\u8393\u6d3e2B+:<\/p>\n\n\n\n<p>model name : ARMv7 Processor rev 5 (v7l)<br>BogoMIPS : 38.40<br>Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm<br>CPU implementer : 0x41<br>CPU architecture: 7<br>CPU variant : 0x0<br>CPU part : 0xc07<br>CPU revision : 5<\/p>\n\n\n\n<p>processor : 2<br>model name : ARMv7 Processor rev 5 (v7l)<br>BogoMIPS : 38.40<br>Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm<br>CPU implementer : 0x41<br>CPU architecture: 7<br>CPU variant : 0x0<br>CPU part : 0xc07<br>CPU revision : 5<\/p>\n\n\n\n<p>processor : 3<br>model name : ARMv7 Processor rev 5 (v7l)<br>BogoMIPS : 38.40<br>Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm<br>CPU implementer : 0x41<br>CPU architecture: 7<br>CPU variant : 0x0<br>CPU part : 0xc07<br>CPU revision : 5<\/p>\n\n\n\n<p>Hardware : <strong><span class=\"has-inline-color has-highlight-color\">BCM2835<\/span><\/strong><br>Revision : a21041<br>Serial : 00000000390d8ed5<br>Model : <strong><span class=\"has-inline-color has-highlight-color\">Raspberry Pi 2 Model B Rev 1.1<\/span><\/strong><\/p>\n\n\n\n<p>\u597d\u5427\uff0c\u62c9\u5012\u5427\uff0c\u4e8c\u4ee3\u4e0d\u80fd\u652f\u6301\u7b80\u5355\u7684U\u76d8\u542f\u52a8\uff0c\u53ea\u80fd\u7528SD\u5361\u542f\u52a8\uff0c\u6240\u4ee5\u5f00\u53d1\u8fd8\u662f\u79fb\u52303B+\u4e0a\u6765\u5427<\/p>\n\n\n\n<p>=========================================================<\/p>\n\n\n\n<p>\u201c\u4ee5\u540e\u518d\u8bf4\u7684\u81ea\u52a8\u5316\u201d\uff1a<\/p>\n\n\n\n<p>1.\u901a\u8fc7\u5f00\u673a\u81ea\u52a8\u6267\u884csftp\u547d\u4ee4\uff0c\u62f7\u8d1ddose_info.*\u6587\u4ef6\u5230auto index\u7684WWW\/\u4e0b\u9762\uff0c\u7136\u540e\u624b\u673a\u6216\u8005\u7535\u8111\u767b\u9646\u4e3b\u9875\uff0c\u4e0b\u8f7ddose_info\u6587\u4ef6\u3002<\/p>\n\n\n\n<p>2.\u5efa\u7acbecrontab\u4efb\u52a1\uff0c\u6bcf5\u5206\u949f\u904d\u5386\u4e0b\u8f7ddose_info\uff0c\u8fd9\u6837\uff0c\u6bcf\u6b21\u505a\u5b8c\u7684dose_dat\u5728\u4e94\u5206\u949f\u540e\u5c31\u80fd\u88ab\u770b\u5230\u3002<\/p>\n\n\n\n<p>3.\u66ff\u6362Apache\u4f7f\u7528Nginx\u642d\u5efaweb\u670d\u52a1\uff0c\u8fd9\u91cc\u6709\u4e2a\u95ee\u9898\u5c31\u662fopenwrt\u5229\u7528\u7684uhttp\u768480\u7aef\u53e3\uff0c\u800cNginx\u7684www\u4e5f\u8981\u7528\u523080\uff0c\u4e3a\u4e86\u8bbf\u95ee\u65b9\u4fbf\uff0c\u4e0d\u5f97\u5df2\u8981<a href=\"https:\/\/openwrt.org\/docs\/guide-user\/services\/webserver\/nginx\">\u4fee\u6539opernwrt\u7684\u7aef\u53e3<\/a><\/p>\n\n\n\n<p>\u5728\u6811\u8393\u91cc\u9762\u642d\u5efa\u4e86\u4e00\u4e2a\u539f\u7248\u7684openwrt\uff0c\u5c06\u82f9\u679c\u7684USB\u7f51\u5361axis\u52a0\u5165\u4e86openwrt\u652f\u6301\u4e2d\uff0c\u8ba9USB\u53e3\u627f\u62c5WAN\u53e3\uff0c\u5c06\u8fd9\u4e2a\u7f51\u5361\u8bbe\u7f6e\u4e3awan-bridge\uff08\u6865\u63a5\uff09\uff0c\u7136\u540e\u6811\u8393\u539f\u751f\u7684\u7f51\u53e3\u8bbe\u4e3aAP\u5e76\u5173\u95ed\u8def\u7531DHCP\u529f\u80fd\uff0c\u4e5f\u5c31\u662f\u6210\u4e86switch\u4ea4\u6362\u673a\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u6709\u4e86USB\u8def\u7531\u524d\u7aef\uff0c\u4ea4\u6362\u673a\u540e\u7aef\u7684\u67b6\u6784\uff0c\u4e92\u76f8\u5206\u62c5\u4e86\u7f51\u8def\u7684\u5904\u7406\u538b\u529b\uff0c\u8981\u77e5\u9053\u6811\u8393\u7684\u7f51\u5361\u548cUSB\u662f\u5171\u4eab\u603b\u7ebf\u7684\uff0c\u6240\u4ee5\u524d\u540e\u7aef\u5206\u62c5\u6570\u636e\u5904\u7406\u4e0d\u89c1\u5f97\u4f1a\u6709\u5206\u7acb\u5668\u4ef6\u7684\u5206\u62c5\u540e\u7684\u6548\u679c\u660e\u663e\uff0c\u4f46\u4e0d\u59a8\u4e5f\u662f\u4e00\u79cd\u5c1d\u8bd5\uff0c\u800c\u4e14\u6700\u540e\u4e5f\u6210\u529f\u4e86\u3002<\/p>\n\n\n\n<p>\u8fd9\u51e0\u5929\u5728\u6811\u8393openwrt\u4e0a\u5f00\u901a\u4e86FTP\u670d\u52a1\uff0c\u8fd8\u628a\u516c\u53f8\u7535\u8111\u7684\u65e0\u7ebf\u7f51\u5361\u7684IP\u9759\u6001\u4e3a192.168.8.6\u8fd9\u6837\uff0c\u5e0c\u671b\u8fd9\u6837\u80fd\u591f\u4e00\u4e3e\u7834\u5f00Unix\u7684GSD\u4e2dFTP\u670d\u52a1\u7ec8\u7aef\u7684\u9650\u5236\uff0c\u5177\u4f53\u7684GSD\u53ea\u7559\u4e86192.168.8.6\/8\u4e24\u4e2aIP\u6765\u8bbf\u95eeftp:\/\/192.168.8.4 \u540e\u6765\u5728\u6d4b\u8bd5\u7684\u65f6\u5019\uff0c\u7531\u4e8e\u8be5\u6b7b\u7684\u6c34\u8d27MicroUSB\u7ebf\u82af\u63a5\u89e6\u4e0d\u826f\u59cb\u7ec8\u6ca1\u80fd\u7531\u7535\u8111\u6210\u529f\u4f9b\u7535\uff0c\u539f\u5148\u4ee5\u4e3a\u662f\u7535\u8111\u7684\u5145\u7535USB\u7aef\u529f\u7387\u4e0d\u591f\uff0c\u6d4b\u8bd5\u88ab\u4e00\u6839USB\u7535\u6e90\u7ebf\u5ef6\u8fdf\uff0c\u706b\u5927\uff01\uff01\u5047\u8bbe\u4eca\u5929\u80fd\u5728\u73b0\u573a\u6210\u529f\u542f\u52a8openwrt\u90a3\u4e48\u5c31\u80fd\u6d4b\u8bd5\u5229\u7528\u6811\u8393\u5f53AP\u4f7f\u7528FTP\u8bbf\u95ee\u7684\u53ef\u884c\u6027\uff0c\u5982\u679c\u53ef\u884c\u5c31\u80fd\u63a5\u7740\u6d4b\u8bd5ftp\u62f7\u8d1ddose_info.2110113.235959\u6587\u4ef6\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u88ab\u8bc1\u5b9e\u4e0d\u80fd\u5b9e\u73b0\uff0c\u56e0\u4e3aGSD\u7684\u7cfb\u7edf\u81ea\u5e26ip\uff0c\u4e0d\u652f\u6301 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[453,452,454,60],"class_list":["post-2229","post","type-post","status-publish","format-standard","hentry","category-live","tag-dose_dat","tag-gsd","tag-raspi","tag-60"],"_links":{"self":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/2229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2229"}],"version-history":[{"count":11,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/2229\/revisions"}],"predecessor-version":[{"id":2263,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/2229\/revisions\/2263"}],"wp:attachment":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}