{"id":114,"date":"2019-06-20T19:47:52","date_gmt":"2019-06-20T11:47:52","guid":{"rendered":"http:\/\/www.sanburs.xyz\/?p=114"},"modified":"2019-06-20T19:47:52","modified_gmt":"2019-06-20T11:47:52","slug":"raspberry-openwrt-ap-mode","status":"publish","type":"post","link":"https:\/\/www.sanburs.xyz\/index.php\/2019\/06\/20\/raspberry-openwrt-ap-mode\/","title":{"rendered":"\u6811\u8393\u6d3e\u914d\u7f6eOpenWrt\u4e4bAP\u6a21\u5f0f"},"content":{"rendered":"<blockquote><p>\n  \u73b0\u573a\u62e5\u6709\u7684\u5de5\u5177\uff1a\u8def\u7531\u5668\u4e00\u53f0\uff0c\u7f51\u7ebf\u4e00\u6839\uff0c\u6811\u8393\u6d3e3B+\u4e00\u53f0\uff0c\u7b14\u8bb0\u672c\u4e00\u53f0\n<\/p><\/blockquote>\n<hr \/>\n<blockquote><p>\n  \u5907\u6ce8\uff1a\u622a\u6b62\u52302018\u5e7411\u6708\uff0cOpenWrt\u5b98\u7f51\u4e0b\u7684\u6587\u4ef6\u5728\u6811\u8393\u6d3e3B+\u4e0a\u662f\u4e0d\u652f\u6301\u7684\uff0c\u5f53\u65f6\u6298\u817e\u4e86\u597d\u4e45\uff0c\u6709\u4e24\u4e2a\u95ee\u9898\uff1a<\/p>\n<ol>\n<li>\u70e7\u5f55\u8fdb\u53bb\u540e\uff0c\u7cfb\u7edf\u542f\u52a8\u4e0d\u8d77\u6765\u3002<\/li>\n<li>\u7b2c\u4e00\u4e2a\u95ee\u9898\u66f4\u6362\u4e2a\u6587\u4ef6\u5373\u53ef,\u4f46\u7cfb\u7edf\u542f\u52a8\u8d77\u6765\u4e5f\u4e0d\u884c\uff0c\u7cfb\u7edf\u627e\u4e0d\u5230WiFI<\/li>\n<\/ol>\n<p>  \u6700\u540e\uff0c\u5728\u7f51\u4e0a\u627e\u4e86\u4e2a\u5206\u652f <code>bcm2710-r8233<\/code>,\u4eb2\u6d4b\u53ef\u884c\n<\/p><\/blockquote>\n<ol>\n<li>\u5c06<code>openwrt-18.06.1-brcm2708-bcm2710-rpi-3-ext4-sysupgrade.img.gz<\/code>\u70e7\u5f55\u8fdbSD\u5361<\/li>\n<li>\u542f\u52a8\u7cfb\u7edf\uff0c\u7f51\u7ebf\u76f4\u8fde\u7535\u8111<\/li>\n<li>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cIP\u4e3a<code>192.168.1.1<\/code>,\u5728\u6d4f\u89c8\u5668\u8f93\u5165ip\u767b\u9646\uff0c\u8bbe\u7f6e\u5bc6\u7801<\/li>\n<li>\u91cd\u542f\uff0c\u901a\u8fc7ssh\u767b\u9646<\/li>\n<li>\u66f4\u6539<code>\/etc\/config\/network<\/code><\/li>\n<\/ol>\n<pre><code class=\"\">config interface lan\n        option ifname eth0\n        option type bridge\n        option proto static\n        option ipaddr 192.168.1.106\n        option netmask 255.255.255.0\n        option gateway 192.168.1.1\n        option dns 192.168.1.1 \n<\/code><\/pre>\n<ol start=\"6\">\n<li>\u66f4\u6539<code>\/etc\/config\/wireless<\/code><\/li>\n<\/ol>\n<pre><code class=\"\">config wifi-iface  default_radio0\n        option device  radio0\n        option network  lan\n        option mode  ap\n        option ssid  MyWiFi\n        option encryption  none\n\n<\/code><\/pre>\n<ol start=\"7\">\n<li>\n<p>\u6267\u884c<code>\/etc\/init.d\/dnsmasq disable<\/code><\/p>\n<\/li>\n<li>\n<p>\u91cd\u542f\uff0c\u5c06\u7f51\u7ebf\u63d2\u5230\u8def\u7531\u5668lan\u53e3\u4e0a<\/p>\n<\/li>\n<li>\u6d4f\u89c8\u5668\u8f93\u5165<code>192.168.1.106<\/code><\/li>\n<li>\u5728<code>Network-&gt;Wireless<\/code>\u754c\u9762\u8bbe\u7f6e\u65e0\u7ebf\uff0c\u6ce8\u610f<code>Channel<\/code>\u8981\u4e0e<code>wifi-device<\/code>\u7684\u76f8\u540c<\/li>\n<li>OK\uff0c\u8bbe\u7f6e\u5b8c\u6bd5<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u73b0\u573a\u62e5\u6709\u7684\u5de5\u5177\uff1a\u8def\u7531\u5668\u4e00\u53f0\uff0c\u7f51\u7ebf\u4e00\u6839\uff0c\u6811\u8393\u6d3e3B+\u4e00\u53f0\uff0c\u7b14\u8bb0\u672c\u4e00\u53f0 \u5907\u6ce8\uff1a\u622a\u6b62\u52302018\u5e7411\u6708\uff0cOpenWrt\u5b98\u7f51\u4e0b\u7684\u6587\u4ef6\u5728\u6811\u8393 &#8230;<\/p>","protected":false},"author":1,"featured_media":116,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/posts\/114"}],"collection":[{"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":1,"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/posts\/114\/revisions\/115"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/media\/116"}],"wp:attachment":[{"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sanburs.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}