{"id":766,"date":"2017-05-13T18:21:26","date_gmt":"2017-05-13T10:21:26","guid":{"rendered":"http:\/\/192.168.1.20\/?p=766"},"modified":"2017-05-13T18:23:36","modified_gmt":"2017-05-13T10:23:36","slug":"{d4daabd1ba368d9860c36387ddb72bbda14f8f9559d69d60a952800885260c03}e6{d4daabd1ba368d9860c36387ddb72bbda14f8f9559d69d60a952800885260c03}a0{47dd41ec6bdcbd9a214c783a3735392b82ea6d1d918378c5a53e0640702d813","status":"publish","type":"post","link":"http:\/\/alextop.top\/?p=766","title":{"rendered":"\u6811\u8393\u6d3e3wifi\u914d\u7f6e"},"content":{"rendered":"<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u6811\u8393\u6d3e<\/span><span style=\"font-family: Arial;\">3<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5185\u7f6e\u4e86<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u548c\u84dd\u7259\u6a21\u5757\uff0c\u6211\u4eec\u4e0d\u7528\u50cf\u4ee5\u524d\u7684\u7248\u672c\u90a3\u6837\uff0c\u518d\u53bb\u8d2d\u4e70\u4e00\u4e2a\u5916\u63a5\u7684\u6a21\u5757\u7ec3\u5230<\/span><span style=\"font-family: Arial;\">raspberry<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e0a\u3002<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5f53\u6211\u4eec\u7b2c\u4e00\u6b21\u542f\u52a8\u4e86\u6811\u8393\u6d3e\u7684\u65f6\u5019\uff0c\u5fc5\u7136\u4f7f\u7528\u4e86\u7f51\u7ebf\uff0c\u4f46\u662f\u4e4b\u540e\u7684\u6bcf\u4e00\u6b21\u4f7f\u7528\uff0c\u6211\u4eec\u5f53\u7136\u66f4\u5e0c\u671b\u4f7f\u7528<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u8fde\u63a5\u6811\u8393\u6d3e\u548c\u8def\u7531\u5668\uff0c\u800c\u4e14<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6a21\u5757\u5185\u7f6e\u5728\u6811\u8393\u6d3e<\/span><span style=\"font-family: Arial;\">3<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\uff0c\u4f55\u4e50\u800c\u4e0d\u4e3a\uff1f<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u4e0b\u9762\u4ecb\u7ecd\u4e0b\u5982\u4f55\u542f\u52a8<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6a21\u5757\uff0c\u8fd9\u65f6\u8fd8\u662f\u8981\u501f\u52a9\u7f51\u7ebf\u7684\u3002<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53; font-size: 13pt;\"><strong>\u4f7f\u7528\u56fe\u5f62\u754c\u9762\uff1a<\/strong><\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u8fd9\u4e2a\u5f88\u7b80\u5355\u4e86\uff0c\u6211\u4eec\u53ea\u8981\u50cf\u4ee5\u5f80\u7684<\/span><span style=\"color: #8197b0;\"><span style=\"font-family: Arial;\">Linux<\/span><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u7cfb\u7edf\u4e00\u6837\uff0c\u5728\u53f3\u4e0a\u89d2\u7684\u83dc\u5355\u680f\u91cc\u9762\u9009\u62e9<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u8f93\u5165\u5bc6\u7801\u5c31\u53ef\u4ee5\u4e86\u3002<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53; font-size: 13pt;\"><strong>\u4f7f\u7528\u547d\u4ee4\u884c\uff1a<\/strong><\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5f53\u7136\uff0c\u5bf9\u4e8e\u6728\u6709\u663e\u793a\u5668\u7684\u7ae5\u9774\uff0c\u53ea\u80fd\u901a\u8fc7<\/span><span style=\"font-family: Arial;\">ssh<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6765\u5b8c\u6210\u4e86\u3002<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: Arial;\">1.<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u7684\u547d\u4ee4\u67e5\u770b\u6811\u8393\u6d3e\u5df2\u7ecf\u8bc6\u522b\u7684<\/span><span style=\"font-family: Arial;\">wifi<br \/>\n<\/span><\/span><\/p>\n<p style=\"background: #f8f8f8;\">\n<ol>\n<li>\n<div style=\"background: white;\"><span style=\"color: black; font-family: Consolas; font-size: 9pt;\">sudo\u00a0iwlist\u00a0wlan0\u00a0scan\u00a0\u00a0<span style=\"color: #5c5c5c;\"><br \/>\n<\/span><\/span><\/div>\n<\/li>\n<\/ol>\n<p style=\"background: white;\"><span style=\"color: #333333; font-family: Arial;\"><br \/>\n<\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u6bcf\u4e00\u4e2a<\/span><span style=\"font-family: Arial;\">cell<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u662f\u4e00\u4e2a\u7f51\u7edc\uff0c\u5176\u4e2d\u7684<\/span><span style=\"font-family: Arial;\">ESSID<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u662f\u6211\u4eec\u5173\u6ce8\u7684\uff0c\u5b83\u662f<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u540d\u79f0\uff0c\u627e\u5230\u81ea\u5df1\u8def\u7531<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u540d\u5b57\u3002<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: Arial;\">2.<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7528<\/span><span style=\"font-family: Arial;\">nano<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5de5\u5177\u914d\u7f6e<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4fe1\u606f\uff1a<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: #f8f8f8;\">\n<ol>\n<li>\n<div style=\"background: white;\"><span style=\"color: black; font-family: Consolas; font-size: 9pt;\">sudo\u00a0nano\u00a0\/etc\/wpa_supplicant\/wpa_supplicant.conf\u00a0\u00a0<span style=\"color: #5c5c5c;\"><br \/>\n<\/span><\/span><\/div>\n<\/li>\n<\/ol>\n<p><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\u5728\u8fd9\u4e2a\u6587\u4ef6\u6700\u540e\u6dfb\u52a0<\/span><span style=\"font-family: Arial; background-color: white;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\u7684\u540d\u5b57\u548c\u5bc6\u7801<\/span><\/span><span style=\"font-family: \u5b8b\u4f53; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p style=\"background: #f8f8f8;\">\n<ol>\n<li>\n<div style=\"background: white;\"><span style=\"color: red; font-family: Consolas; font-size: 9pt;\">network<span style=\"color: black;\">={\u00a0\u00a0<span style=\"color: #5c5c5c;\"><br \/>\n<\/span><\/span><\/span><\/div>\n<\/li>\n<li>\n<div style=\"background: #f8f8f8;\"><span style=\"color: black; font-family: Consolas; font-size: 9pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: red;\">ssid<span style=\"color: black;\">=<span style=\"color: blue;\">&#8220;XXXX&#8221;<span style=\"color: black;\">\u00a0\u00a0<span style=\"color: #5c5c5c;\"><br \/>\n<\/span><\/span><\/span><\/span><\/span><\/span><\/div>\n<\/li>\n<li>\n<div style=\"background: white;\"><span style=\"color: black; font-family: Consolas; font-size: 9pt;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: red;\">psk<span style=\"color: black;\">=<span style=\"color: blue;\">&#8220;XXXX&#8221;<span style=\"color: black;\">\u00a0\u00a0<span style=\"color: #5c5c5c;\"><br \/>\n<\/span><\/span><\/span><\/span><\/span><\/span><\/div>\n<\/li>\n<li>\n<div style=\"background: #f8f8f8;\"><span style=\"color: black; font-family: Consolas; font-size: 9pt;\">}\u00a0\u00a0<span style=\"color: #5c5c5c;\"><br \/>\n<\/span><\/span><\/div>\n<\/li>\n<\/ol>\n<p><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\u7136\u540e<\/span><span style=\"font-family: Arial; background-color: white;\"> crtl+o<\/span><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\u4fdd\u5b58\uff0c\u8fd9\u65f6\u4f1a\u63d0\u793a\u4fdd\u5b58\u7684\u6587\u4ef6\u540d\uff0c\u5f53\u7136\u4e0d\u53d8\uff0c\u76f4\u63a5<\/span><span style=\"font-family: Arial; background-color: white;\">enter<\/span><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\u5373\u53ef\uff0c\u6700\u540e<\/span><span style=\"font-family: Arial; background-color: white;\">ctrl+x<\/span><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\u9000\u51fa\u3002<\/span><\/span><span style=\"font-family: \u5b8b\u4f53; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u8fd9\u65f6\u6211\u66f4\u6539\u4ee5\u540e\u53c8\u6253\u5f00\u7684\u622a\u56fe\uff1a<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><img decoding=\"async\" src=\"http:\/\/sxfu.tk\/wp-content\/uploads\/2017\/05\/051317_1020_3wifi11.png\" alt=\"\" \/><span style=\"color: #333333; font-family: Arial;\"><br \/>\n<\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: Arial;\">3.<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6700\u540e\u91cd\u542f\u6811\u8393\u6d3e<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: #f8f8f8;\">\n<ol>\n<li>\n<div style=\"background: white;\"><span style=\"color: black; font-family: Consolas; font-size: 9pt;\">sudo\u00a0reboot\u00a0\u00a0<span style=\"color: #5c5c5c;\"><br \/>\n<\/span><\/span><\/div>\n<\/li>\n<\/ol>\n<p><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\u7136\u540e\u6211\u4eec\u5c31\u53ef\u4ee5\u62d4\u4e0b\u7f51\u7ebf\u4e86\u3002\u7a0d\u7b49\u4e00\u4f1a\uff0c\u518d\u767b\u9646\u8def\u7531\u5668\u7684\u7ba1\u7406\u754c\u9762\uff0c\u67e5\u770b\u65b0\u7684\u6811\u8393\u6d3e\u7684<\/span><span style=\"font-family: Arial; background-color: white;\">IP<\/span><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\uff0c\u91cd\u65b0<\/span><span style=\"font-family: Arial; background-color: white;\">ssh<\/span><span style=\"font-family: \u5b8b\u4f53; background-color: white;\">\u5373\u53ef\u3002<\/span><\/span><span style=\"font-family: \u5b8b\u4f53; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u90a3\u5982\u679c\u6211\u8981\u914d\u7f6e\u591a\u4e2a<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5462\uff1f<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u53ea\u9700\u8981\u4e3a\u6bcf\u4e00\u4e2a<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u914d\u7f6e\u4e00\u4e2a<\/span><span style=\"font-family: Arial;\">network{}<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u53d8\u91cf\u5373\u53ef\u3002<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u53c2\u8003\uff1a<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5355<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff1a<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333; font-family: Arial;\">\u00a0<a href=\"https:\/\/www.raspberrypi.org\/documentation\/configuration\/wireless\/wireless-cli.md\" target=\"_blank\"><span style=\"color: #8197b0; text-decoration: underline;\">https:\/\/www.raspberrypi.org\/documentation\/configuration\/wireless\/wireless-cli.md<\/span><\/a><br \/>\n<\/span><\/p>\n<p style=\"background: white;\"><span style=\"color: #333333;\"><span style=\"font-family: \u5b8b\u4f53;\">\u591a<\/span><span style=\"font-family: Arial;\">wifi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff1a<\/span><span style=\"font-family: Arial;\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"background: white;\"><a href=\"http:\/\/raspberrypi.stackexchange.com\/questions\/11631\/how-to-setup-multiple-wifi-networks\" target=\"_blank\"><span style=\"color: #8197b0; font-family: Arial;\">http:\/\/raspberrypi.stackexchange.com\/questions\/11631\/how-to-setup-multiple-wifi-networks<\/span><\/a><span style=\"color: #333333; font-family: Arial;\"><br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6811\u8393\u6d3e3\u5185\u7f6e\u4e86wifi\u548c\u84dd\u7259\u6a21&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,15],"tags":[],"class_list":["post-766","post","type-post","status-publish","format-standard","hentry","category-jishu","category-reapberry"],"_links":{"self":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts\/766"}],"collection":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=766"}],"version-history":[{"count":0,"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts\/766\/revisions"}],"wp:attachment":[{"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=766"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}