{"id":388,"date":"2017-07-16T09:45:10","date_gmt":"2017-07-16T01:45:10","guid":{"rendered":"http:\/\/writingbaby.com\/?p=388"},"modified":"2018-04-08T14:03:43","modified_gmt":"2018-04-08T06:03:43","slug":"win7-win8-and-win10-open-the-wifi-shared-network-via-the-command-line","status":"publish","type":"post","link":"https:\/\/ihongchao.com\/post\/388\/","title":{"rendered":"win7\u3001win8\u3001win10\u901a\u8fc7\u547d\u4ee4\u884c\u5f00\u542fWiFi\u5171\u4eab\u7f51\u7edc"},"content":{"rendered":"

\u8fd9\u4f3c\u4e4e\u662f\u4e00\u4e2a\u5f88\u53e4\u8001\u7684\u5185\u5bb9\u4e86\uff0c\u4ecewin7\u8bde\u751f\u4e4b\u65e5\u8d77\u5c31\u6709\u6587\u7ae0\u4e0d\u65ad\u63d0\u5230\u8be5\u5982\u4f55\u64cd\u4f5c\uff0c\u540e\u6765\u5947\u864e360\u548c\u91d1\u5c71\u730e\u8c79\u90fd\u4e13\u95e8\u63a8\u51fa\u4e86\u76f8\u5173\u8f6f\u4ef6\uff0c\u80fd\u591f\u4e00\u952e\u5f00\u542fWiFi\uff0c\u8fd8\u80fd\u7834\u89e3\u6821\u56ed\u7f51\u5ba2\u6237\u7aef\u9650\u5236\u3002\u4f7f\u7528\u8f6f\u4ef6\u786e\u5b9e\u633a\u65b9\u4fbf\u7684\uff0c\u8fd8\u80fd\u770b\u5230\u6709\u6ca1\u6709\u4eba\u8e6d\u7f51\uff0c\u4f46\u662f\u5e7f\u544a\u4e5f\u633a\u8ba8\u4eba\u538c\uff0c\u7279\u522b\u662f\u6700\u8fd1\u5947\u864e360\u7684\u514d\u8d39WiFi\u9694\u4e00\u4f1a\u53d1\u9001\u4e00\u4e2a\u767b\u5f55\u901a\u77e5\uff0c\u7136\u540e\u6253\u5f00\u767b\u5f55\u9875\u662f\u6ee1\u5c4f\u5e7f\u544a\u3002\u4e24\u4e2a\u8f6f\u4ef6\u90fd\u8fd8\u6709WiFi\u4fe1\u53f7\u4e2d\u65ad\u7684\u95ee\u9898\uff0c\u5c31\u662f\u4e0d\u77e5\u9053\u4ec0\u4e48\u65f6\u5019\u4fe1\u53f7\u5c31\u6ca1\u4e86\uff0c\u8fd8\u8981\u91cd\u542f\u8f6f\u4ef6\u3002\u4e24\u4e2a\u8f6f\u4ef6\u770b\u6765\u90fd\u53d1\u73b0\u4e86\u8fd9\u4e2a\u95ee\u9898\uff0c\u5728\u8f6f\u4ef6\u4e2d\u52a0\u5165\u4e86\u91cd\u542f\u529f\u80fd\u3002<\/p>\n

\u4f46\u662f\uff0c\u81ea\u5df1\u80fd\u624b\u52a8\u5b9e\u73b0\u7684\u529f\u80fd\u51ed\u5565\u8981\u5fcd\u53d7\u4f60\u5e7f\u544a\u7684\u9a9a\u6270\uff1f\u730e\u8c79WiFi\u7684DNS\u7f13\u5b58\u6ca1\u6709\u8fc7\u671f\u65f6\u95f4\uff0c\u5982\u679c\u67d0\u4e2a\u7f51\u7ad9\u4fee\u6539\u4e86\u7ed1\u5b9a\u7684IP\u5730\u5740\uff0c\u901a\u8fc7\u730e\u8c79WiFi\u5c06\u65e0\u6cd5\u8bbf\u95ee\u3002<\/p>\n

\u53d1\u4e86\u8fd9\u4e48\u591a\u7262\u9a9a\uff0c\u8d76\u7d27\u8fdb\u5165\u6b63\u9898\u3002\u6253\u5f00\u8bb0\u4e8b\u672c\uff0c\u590d\u5236\u7c98\u8d34\u4ee5\u4e0b\u5185\u5bb9<\/p>\n

netsh wlan set hostednetwork mode=allow\r\nnetsh wlan set hostednetwork ssid=writingbaby.com key=writingbaby.com\r\nnetsh wlan start hostednetwork\r\n\r\n<\/pre>\n

\u4fdd\u5b58\uff0c\u91cd\u547d\u540d\u4e3a\u201c\u5f00\u542fWiFi.bat\u201d\uff0c\u7136\u540e\u91cd\u65b0\u6253\u5f00\u8bb0\u4e8b\u672c\uff0c\u590d\u5236\u7c98\u8d34\u4ee5\u4e0b\u5185\u5bb9<\/p>\n

netsh wlan stop hostednetwork<\/pre>\n

\u4fdd\u5b58\uff0c\u7136\u540e\u91cd\u547d\u540d\u4e3a\u201c\u5173\u95edWiFi.bat\u201d\u5373\u53ef\u3002\u4f7f\u7528\u65f6\u5728\u5f00\u542f\u6216\u5173\u95edWiFi\u7684\u6587\u4ef6\u4e0a\u5355\u673a\u53f3\u952e\uff0c\u7136\u540e\u9009\u62e9\u201c\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u201d<\/p>\n

\u6ce8\u610f\uff1a<\/p>\n

1\u3001\u4f7f\u7528\u65f6\u7535\u8111\u5fc5\u987b\u5b89\u88c5\u6709\u65e0\u7ebf\u7f51\u5361\uff0c\u6ca1\u6709\u7f51\u5361\u4e0d\u7ba1\u600e\u6837\u90fd\u4e0d\u4f1a\u6709WiFi
\n2\u3001\u5f00\u542f\u547d\u4ee4\u4e2d\uff0c\u201cssid\u201d\u662fWiFi\u540d\u79f0\uff0c\u201ckey\u201d\u4e3aWiFi\u5bc6\u7801\uff0c\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u8981\u8fdb\u884c\u4fee\u6539\uff0c\u53ea\u80fd\u4e3a\u82f1\u6587\u548c\u6570\u5b57\u4ee5\u53ca\u82f1\u6587\u72b6\u6001\u4e0b\u7684\u6807\u70b9\u7b26\u53f7\uff0c\u4fdd\u9669\u8d77\u89c1\u5efa\u8bae\u53ea\u7528\u82f1\u6587\u548c\u6570\u5b57
\n3\u3001\u4e00\u5b9a\u8981\u5b89\u88c5\u6b63\u786e\u7248\u672c\u7684\u7f51\u5361WiFi\uff0c\u53ef\u4ee5\u5230\u7535\u8111\u7535\u8111\u54c1\u724c\u5b98\u7f51\u4e0b\u8f7d\u5bf9\u5e94\u9a71\u52a8\uff0c\u6216\u8005\u4f7f\u7528\u201c\u9a71\u52a8**\u201d\u7c7b\u8f6f\u4ef6\u8fdb\u884c\u5b89\u88c5<\/p>\n

\u53ef\u80fd\u9047\u5230\u7684\u95ee\u9898<\/p>\n

1\u3001\u90e8\u5206\u8001\u578b\u53f7\u65e0\u7ebf\u7f51\u5361\u5728\u5f00\u542fWiFi\u65f6\u53ef\u80fd\u4f1a\u5361\u5728\u7b2c\u4e8c\u6761\u547d\u4ee4\u4e0a\uff0c\u6b64\u65f6\uff0c\u201c\u5f00\u59cb\u2192\u63a7\u5236\u9762\u677f\u2192\u7f51\u7edc\u548c\u5171\u4eab\u4e2d\u5fc3\u2192\u66f4\u6539\u9002\u914d\u5668\u8bbe\u7f6e\u201d\uff0c\u627e\u5230\u65e0\u7ebf\u7f51\u5361\uff0c\u7981\u7528\u540e\u542f\u7528\u5373\u53ef
\n2\u3001\u8fde\u63a5WiFi\u540e\u65e0\u6cd5\u4e0a\u7f51\uff0c\u4e0d\u6e05\u695a\u662f\u4ec0\u4e48\u539f\u56e0\u9020\u6210\u7684\uff0c\u4e0d\u8fc7\u53ef\u4ee5\u901a\u8fc7\u5171\u4eab\u7684\u65b9\u5f0f\u5c06\u4e3b\u7f51\u5361\u7f51\u7edc\u5171\u4eab\u5230WiFi\u7f51\u5361\u3002\u5177\u4f53\u505a\u6cd5\u662f\u5728\u4e3b\u7f51\u5361\uff08\u4e00\u822c\u662f\u672c\u5730\u8fde\u63a5\u6216\u8005\u5bbd\u5e26\u8fde\u63a5\uff09\u4e0a\u5355\u673a\u53f3\u952e\uff0c\u9009\u62e9\u201c\u5171\u4eab\u201d\u9009\u9879\u5361\uff0c\u5373\u53ef\u770b\u5230\u201cInternet\u5171\u4eab\u201d\uff0c\u52fe\u9009\u5171\u4eab\u4e4b\u540e\u9009\u62e9\u53ef\u4ee5\u5171\u4eab\u7684\u7f51\u5361\uff0c\u4e00\u822c\u662f\u201c\u65e0\u7ebf\u7f51\u7edc\u8fde\u63a52\u201d\uff0c\u6216\u80053\uff0c\u6216\u80054\uff0c\u5982\u4e0b\u56fe<\/p>\n

\"\"<\/p>\n

\u5982\u679c\u4e0d\u786e\u5b9a\u54ea\u4e00\u4e2a\u5e94\u8be5\u662f\u5e94\u8be5\u5171\u4eab\u7f51\u7edc\u7684\u7f51\u5361\uff0c\u53ef\u4ee5\u56de\u5230\u201c\u66f4\u6539\u9002\u914d\u5668\u8bbe\u7f6e\u201d\u7a97\u53e3\uff0c\u7136\u540e\u5c06\u89c6\u56fe\u6539\u4e3a\u201c\u8be6\u7ec6\u4fe1\u606f\u201d\uff0c\u6807\u6709\u201cMicrosoft Virtual WiFi Miniport Adapter\u201d\u7684\u7f51\u5361\u5c31\u662f\u5e94\u8be5\u88ab\u5171\u4eab\u7684\u7f51\u5361\uff0c\u5982\u4e0b\u56fe<\/p>\n

\"\"<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

\u8fd9\u4f3c\u4e4e\u662f\u4e00\u4e2a\u5f88\u53e4\u8001\u7684\u5185\u5bb9\u4e86\uff0c\u4ecewin7\u8bde\u751f\u4e4b\u65e5\u8d77\u5c31\u6709\u6587\u7ae0\u4e0d\u65ad\u63d0\u5230\u8be5\u5982\u4f55\u64cd\u4f5c\uff0c\u540e\u6765\u5947\u864e360\u548c\u91d1\u5c71\u730e\u8c79\u90fd\u4e13\u95e8\u63a8\u51fa … \u7ee7\u7eed\u9605\u8bfbwin7\u3001win8\u3001win10\u901a\u8fc7\u547d\u4ee4\u884c\u5f00\u542fWiFi\u5171\u4eab\u7f51\u7edc<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[48,49,72],"_links":{"self":[{"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/posts\/388"}],"collection":[{"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/comments?post=388"}],"version-history":[{"count":1,"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":463,"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/posts\/388\/revisions\/463"}],"wp:attachment":[{"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/media?parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/categories?post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ihongchao.com\/wp-json\/wp\/v2\/tags?post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}