{"id":2551,"date":"2018-06-29T06:26:01","date_gmt":"2018-06-28T21:26:01","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=2551"},"modified":"2020-01-20T21:45:18","modified_gmt":"2020-01-20T12:45:18","slug":"raspi-wi-fi%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/2551","title":{"rendered":"[RasPi] Wi-Fi\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u65b9\u6cd5"},"content":{"rendered":"<p>Raspberry Pi 3 Model B \u306eWi-Fi\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u65b9\u6cd5<\/p>\n<p>Raspbian Lite (2016-05-27-raspbian-jessie-lite.img)<br \/>\n<!--more--><\/p>\n<h3>Wi-Fi\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u306e\u30b9\u30ad\u30e3\u30f3<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \" >$ sudo iwlist wlan0 scan\r\nwlan0     Scan completed :\r\n         Cell 01 - Address: xx:xx:xx:xx:xx:xx\r\n                    Channel:11\r\n                    Frequency:2.462 GHz (Channel 11)\r\n                    Quality=70\/70  Signal level=-13 dBm\r\n                    Encryption key:on\r\n                    ESSID:\"Buffalo-G-1234\"\r\n                    Bit Rates:1 Mb\/s; 2 Mb\/s; 5.5 Mb\/s; 11 Mb\/s; 9 Mb\/s\r\n                              18 Mb\/s; 36 Mb\/s; 54 Mb\/s\r\n                    Bit Rates:6 Mb\/s; 12 Mb\/s; 24 Mb\/s; 48 Mb\/s\r\n                    Mode:Master\r\n...<\/pre>\n<p>Raspberry Pi 3 Model B \u306f 5GHz\u5e2f \u672a\u5bfe\u5fdc<\/p>\n<h3>\u63a5\u7d9a\u60c5\u5831\u306e\u6697\u53f7\u5316<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \" >$ wpa_passphrase  [SSID]  [PASS]<\/pre>\n<h3>wpa_supplicant.conf\u306e\u7de8\u96c6<\/h3>\n<p>\/etc\/wpa_supplicant\/wpa_supplicant.conf<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >country=JP\r\nctrl_interface=DIR=\/var\/run\/wpa_supplicant GROUP=netdev\r\nupdate_config=1\r\nnetwork={\r\n        ssid=\"Buffalo-G-1234\"\r\n        psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<h3>Wi-Fi\u306e\u6709\u52b9\u5316\u3068\u7121\u52b9\u5316 (\u65b0)<\/h3>\n<h4>\u7121\u52b9\u5316<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >$ sudo ifconfig wlan0 down<\/pre>\n<h4>\u6709\u52b9\u5316<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >$ sudo ifconfig wlan0 up<\/pre>\n<p>&nbsp;<\/p>\n<h3>Wi-Fi\u306e\u6709\u52b9\u5316\u3068\u7121\u52b9\u5316 (\u65e7)<\/h3>\n<h4>\u7121\u52b9\u5316<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >$ sudo ifdown wlan0<\/pre>\n<h4>\u6709\u52b9\u5316<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >$ sudo ifup wlan0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi 3 Model B \u306eWi-Fi\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u65b9\u6cd5 Raspbian Lite (2016-05-27-raspbian-jessie-lite.img)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[86],"class_list":["post-2551","post","type-post","status-publish","format-standard","hentry","category-memo","tag-raspi"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/2551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=2551"}],"version-history":[{"count":6,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/2551\/revisions"}],"predecessor-version":[{"id":3505,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/2551\/revisions\/3505"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=2551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=2551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=2551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}