{"id":171,"date":"2016-09-23T18:37:29","date_gmt":"2016-09-23T10:37:29","guid":{"rendered":"http:\/\/127.0.0.1\/wordpress\/?p=6"},"modified":"2016-09-23T18:37:29","modified_gmt":"2016-09-23T10:37:29","slug":"raspberry-pi-no-ip-duc%e5%ae%89%e8%a3%9d%e6%95%99%e5%ad%b8","status":"publish","type":"post","link":"https:\/\/no-rule.tw\/?p=171","title":{"rendered":"[raspberry pi]  no-ip DUC\u5b89\u88dd\u6559\u5b78"},"content":{"rendered":"<p><a href=\"https:\/\/zh.wikipedia.org\/wiki\/%E5%8B%95%E6%85%8BDNS\">DDNS<\/a>(Dynamic DNS)\u52d5\u614b\u7db2\u57df\u540d\u7a31\u4f3a\u670d\u5668\uff0c\u4f60\u60f3\u8981\u67b6\u4e00\u500b\u4f3a\u670d\u5668\u8b93\u5225\u4eba\u53ef\u4ee5\u9023\u9032\u4f86\uff0c\u5fc5\u9700\u8981\u6709IP\uff0c\u6709IP\u5225\u4eba\u5c31\u5c31\u53ef\u4ee5\u9023\u9032\u4f86\u4e86\u3002<br \/>\n\u53ef\u662f\u5982\u679c\u4f60\u7684IP\u6703\u6539\u8b8a\u7684\u8a71\uff0c\u90a3\u6bcf\u6b21\u5225\u4eba\u8981\u9023\u53bb\u4f86\u6642\u5c31\u8981\u53bb\u67e5\u8a62\u4f60&#8221;\u73fe\u5728&#8221;\u7684IP\u3002<br \/>\n\u800cDDNS\u7684\u6280\u8853\u5c31\u662f\u4f60\u8a2d\u5b9a\u4e00\u500b\u56fa\u5b9a\u7db2\u5740\uff0c\u800c\u4f60\u53bb\u8a2d\u5b9a&#8221;\u73fe\u5728&#8221;\u7684IP\uff0c\u5225\u4eba\u53ea\u9700\u8981\u8f38\u5165\u7db2\u5740\u5c31\u53ef\u4ee5\u3002<br \/>\n\u90a3\u6211\u5011\u4e0d\u5c31\u8981\u4e00\u76f4\u53bb\u66f4\u65b0IP\u55ce?? \u4e0d!\u9019\u7a2e\u4e8b\u4ea4\u7d66\u7a0b\u5f0f\u5c31\u53ef\u4ee5\u4e86\uff0c\u6211\u5011\u9084\u8981\u505a\u66f4\u91cd\u8981\u7684\u4e8b(?<br \/>\n\u800cno-ip\u63d0\u4f9b\u7684DUC\u7a0b\u5f0f\u4f86\u81ea\u52d5\u56de\u5831IP\u3002<br \/>\n<!--more--><br \/>\n\u9996\u5148\u5fc5\u9700\u8981\u53bb\u6ce8\u518ano-ip\uff0c\u53ef\u4ee5\u53c3\u8003\u9019\u88e1\u3002<\/p>\n<blockquote><p>\u540d\u7a31\uff1ano-ip<br \/>\n\u5b98\u65b9\u7db2\u7ad9\uff1ahttp:\/\/www.noip.com<\/p><\/blockquote>\n<p>&nbsp;<br \/>\n\u9996\u5148\u6211\u5011\u5207\u5230root\u8eab\u4efd<\/p>\n<blockquote>\n<pre class=\"\">sudo su<\/pre>\n<\/blockquote>\n<p>&nbsp;<br \/>\n\u7136\u5f8c\u9032\u5230 <strong><span style=\"color: #ff0000;\">\/usr\/\u00a0local\/src<\/span><\/strong>\u76ee\u9304\uff0c\u9019\u500b\u5f88\u91cd\u8981!! \u7db2\u8def\u4e0a\u4e5f\u6709\u4e9b\u6559\u5b78\u653e\u5728 \/home\/pi \u5e95\u4e0b\uff0c\u4f46\u9019\u6a23\u5728\u4e0b\u6b21\u958b\u6a5f\u5f8c\u7cfb\u7d71\u6703\u6293\u4e0d\u5230\u5b83\u3002<\/p>\n<blockquote>\n<pre>cd \/usr\/local\/src<\/pre>\n<\/blockquote>\n<p>&nbsp;<br \/>\n\u53d6\u5f97no-ip\u539f\u59cb\u78bc<\/p>\n<blockquote>\n<pre>wget http:\/\/www.no-ip.com\/client\/linux\/noip-duc-linux.tar.gz<\/pre>\n<\/blockquote>\n<p>&nbsp;<br \/>\n\u9032\u884c\u89e3\u58d3\u5bbf<\/p>\n<blockquote>\n<pre>tar xf noip-duc-linux.tar.gz<\/pre>\n<\/blockquote>\n<p>&nbsp;<br \/>\n\u9032\u5230\u00a0noip-2.1.9-1 \u76ee\u9304<\/p>\n<blockquote>\n<pre>cd noip-2.1.9-1<\/pre>\n<\/blockquote>\n<p>&nbsp;<br \/>\n\u9032\u884c\u5b89\u88dd\uff0c\u5b89\u88dd\u904e\u7a0b\u6703\u8981\u6c42\u8f38\u5165no-ip\u7684\u5e33\u865f\u5bc6\u78bc\uff0c\u9084\u6709\u591a\u4e45\u66f4\u65b0\u4e00\u6b21\u3002<\/p>\n<blockquote>\n<pre>make install<\/pre>\n<\/blockquote>\n<h4><strong><span style=\"color: #ff0000;\">\u5b8c\u6210!!<\/span><\/strong><\/h4>\n<p>&nbsp;<\/p>\n<h2>\u958b\u6a5f\u81ea\u52d5\u555f\u52d5 no-ip<\/h2>\n<p>\u958b\u555f\u8a2d\u5b9a\u6a94<\/p>\n<blockquote>\n<pre>nano \/etc\/rc.local<\/pre>\n<\/blockquote>\n<p>&nbsp;<br \/>\n\u5728 fi \u8207 exit0 \u4e4b\u9593\u52a0\u5165<\/p>\n<blockquote>\n<pre>\/usr\/local\/bin\/noip2<\/pre>\n<\/blockquote>\n<p>ctrl+o \u00a0&#8211;&gt;\u5b58\u6a94\uff0cctrl+x \u00a0&#8211;&gt;\u96e2\u958b\u3002<\/p>\n<h3>\u555f\u52d5 no-ip \u6307\u4ee4<\/h3>\n<blockquote>\n<pre>\/usr\/local\/bin\/noip2<\/pre>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<h3>\u67e5\u8a62 no-ip \u72c0\u614b<\/h3>\n<blockquote>\n<pre>\/usr\/local\/bin\/noip2 -S<\/pre>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<h3>\u91cd\u8a2d\u4f7f\u7528\u8005\u8cc7\u6599<\/h3>\n<blockquote>\n<pre>\/usr\/local\/bin\/noip2 -C<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>DDNS(Dynamic DNS)\u52d5\u614b\u7db2\u57df\u540d\u7a31\u4f3a\u670d\u5668\uff0c\u4f60\u60f3\u8981\u67b6\u4e00\u500b\u4f3a\u670d\u5668\u8b93\u5225\u4eba\u53ef\u4ee5\u9023\u9032\u4f86\uff0c\u5fc5\u9700\u8981\u6709IP\uff0c\u6709IP&#8230; &raquo; <a class=\"read-more-link\" href=\"https:\/\/no-rule.tw\/?p=171\">\u95b1\u8b80\u5168\u6587<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[7],"tags":[28,38,55],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/no-rule.tw\/index.php?rest_route=\/wp\/v2\/posts\/171"}],"collection":[{"href":"https:\/\/no-rule.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/no-rule.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/no-rule.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/no-rule.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=171"}],"version-history":[{"count":0,"href":"https:\/\/no-rule.tw\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/no-rule.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/no-rule.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/no-rule.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}