{"id":185935,"date":"2020-10-26T08:41:17","date_gmt":"2020-10-26T00:41:17","guid":{"rendered":"http:\/\/4563.org\/?p=185935"},"modified":"2020-10-26T08:41:17","modified_gmt":"2020-10-26T00:41:17","slug":"macos-%e6%80%8e%e4%b9%88%e8%83%bd%e5%83%8f%e6%89%8b%e6%9c%ba%e9%82%a3%e6%a0%b7%ef%bc%8c%e4%b8%ba%e6%9f%90%e4%b8%aa-wifi-%e5%8d%95%e7%8b%ac%e8%ae%be%e7%bd%ae%e6%98%af%e5%90%a6%e6%89%8b%e5%8a%a8","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=185935","title":{"rendered":"MacOS \u600e\u4e48\u80fd\u50cf\u624b\u673a\u90a3\u6837\uff0c\u4e3a\u67d0\u4e2a wifi \u5355\u72ec\u8bbe\u7f6e\u662f\u5426\u624b\u52a8\/\u81ea\u52a8\u83b7\u53d6 IP \u5462"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  MacOS \u600e\u4e48\u80fd\u50cf\u624b\u673a\u90a3\u6837\uff0c\u4e3a\u67d0\u4e2a wifi \u5355\u72ec\u8bbe\u7f6e\u662f\u5426\u624b\u52a8\/\u81ea\u52a8\u83b7\u53d6 IP \u5462               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hfl1995 <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5bb6\u91cc\u8def\u7531\u5668\u652f\u6301\u51fa\u56fd\u7559\u5b66\uff0c\u6240\u4ee5\u6240\u6709\u8bbe\u5907\u90fd\u662f DHCP \u81ea\u52a8\u3002 \u5230\u4e86\u516c\u53f8\uff0c\u5728\u516c\u53f8\u8def\u7531\u5668\u4e0b\u9762\u6302\u4e86\u4e00\u4e2a N1 \u76d2\u5b50\uff0c\u8dd1 openwrt \u5e15\u65af\u7a9d\u51fa\u56fd\u7559\u5b66\uff0c\u8fd9\u65f6\u5019\u9700\u8981\u624b\u52a8\u6307\u5b9a\u7f51\u5173\u5230\u6211\u7684 N1 \u76d2\u5b50\u4e0a\u53bb\uff0c\u624b\u673a\u90fd\u662f\u53ef\u4ee5\u4e3a\u6bcf\u4e2a wifi \u540d\u5355\u72ec\u8bbe\u7f6e\u7684\uff0cMac \u597d\u50cf\u662f\u7edf\u4e00\u8bbe\u7f6e\u7684\uff0c\u4e0d\u77e5\u9053\u6709\u6ca1\u6709\u89e3\u51b3\u529e\u6cd5\uff0c\u6bcf\u6b21\u5468\u672b\u628a\u7535\u8111\u5e26\u56de\u5bb6\u8fd8\u5f97\u624b\u673a\u8c03\u56de\u6765\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4013040\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gqbre <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7f51\u7edc\uff0c\u4f4d\u7f6e\u3002\u6bcf\u4e2a\u4f4d\u7f6e\u53ef\u4ee5\u5355\u72ec\u914d\u7f6e wifi \u89c4\u5219\u3002\u914d\u5408 https:\/\/github.com\/rimar\/wifi-location-changer \u81ea\u52a8\u5207\u6362                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4013041\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hfl1995 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @gqbre get                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4013042\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ElmerZhang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u81ea\u5df1\u5199\u4e86\u4e2a\u811a\u672c\u6765\u4e00\u952e\u8bbe\u7f6e\uff0c\u65b9\u4fbf\u591a\u4e86<br \/>&#8220;`<br \/>#!\/bin\/sh<\/p>\n<p>if [ &#8220;$1&#8221; == &#8220;on&#8221; ]<br \/>then<br \/> networksetup -setmanual Wi-Fi 192.168.0.90 255.255.255.0 192.168.0.6<br \/> networksetup -setdnsservers Wi-Fi 192.168.0.6<br \/>else<br \/> networksetup -setdhcp Wi-Fi<br \/> networksetup -setdnsservers Wi-Fi Empty<br \/>fi<br \/>&#8220;`                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>MacOS \u600e\u4e48\u80fd\u50cf\u624b\u673a\u90a3\u6837\uff0c\u4e3a\u67d0&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/185935"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=185935"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/185935\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=185935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=185935"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=185935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}