{"id":24,"date":"2021-09-08T20:54:54","date_gmt":"2021-09-08T12:54:54","guid":{"rendered":"https:\/\/www.weiqs.cn\/blog\/?p=24"},"modified":"2022-04-30T09:47:54","modified_gmt":"2022-04-30T01:47:54","slug":"a","status":"publish","type":"post","link":"https:\/\/www.weiqs.cn\/blog\/index.php\/2021\/09\/08\/a\/","title":{"rendered":"\u6811\u8393\u6d3e3\u7b80\u5355\u8bbe\u7f6e\u65e0\u7ebfAP"},"content":{"rendered":"\n<p>1.git clone https:\/\/github.com\/oblique\/create_ap.git<br>2.cd create_ap<br>\u5e76\u4fee\u6539\u914d\u7f6e\u6587\u4ef6create_ap.conf\uff0cSSID\u548c\u7f51\u5173<br>3.sudo make install<br>4.\u5b89\u88c5\u4f9d\u8d56\u5e93<br>sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq<\/p>\n\n\n\n<p>5.\u63a5\u4e0b\u6765\u4fdd\u8bc1\u4f60\u7684\u7f51\u7ebf\u63d2\u5728RaspberryPi\u4e0a\u5e76\u4e14\u80fd\u4e0a\u7f51\u5c31\u884c\u4e86\u3002\u8f93\u5165\u4e0b\u9762\u7684\u547d\u4ee4\u542f\u52a8\u65e0\u7ebfAP\uff1a<br>sudo create_ap wlan0 eth0 \u70ed\u70b9\u540d \u5bc6\u7801<\/p>\n\n\n\n<p>sudo create_ap wlan0 wlan0 MyAccessPoint MyPassPhrase<br>sudo create_ap &#8211;config \/etc\/create_ap.conf<\/p>\n\n\n\n<p>6.<br>sudo systemctl start create_ap.service #\u542f\u52a8AP\u670d\u52a1<br>sudo systemctl enable create_ap.service #\u6dfb\u52a0\u5230\u5f00\u673a\u542f\u52a8<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.git clone https:\/\/github.com\/oblique\/create_ap.git2.c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[8],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-technology-share","tag-raspberry"],"_links":{"self":[{"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":3,"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":27,"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/posts\/24\/revisions\/27"}],"wp:attachment":[{"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weiqs.cn\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}