參考自 http://lifehacker.com/turn-your-windows-10-computer-into-a-wi-fi-hotspot-1724762931
右鍵 Windows 圖標(biāo),打開命令提示符(管理員)
設(shè)置 Wi-Fi 熱點(diǎn)的名稱(ssid)和密碼(key):
netsh wlan set hostednetwork mode=allow ssid=YourWiFiName key=YourPassword
- 開啟熱點(diǎn)
netsh wlan start hostednetwork
- 然后設(shè)置以太網(wǎng)
設(shè)置
需要注意的是,每次睡眠或者重啟之后都需要重新使用 netsh wlan start hostednetwork
這條命令把熱點(diǎn)打開。
可以把這條命令寫成 .bat
文件保存在桌面,每次雙擊就可以打開了。
錯誤提示
如果開啟熱點(diǎn)的時候,出現(xiàn)
The hosted network couldn't be started.
The group or resource is not in the correct state to perform the requested operation.
你可以需要使用命令 netsh wlan show driver
查看你的無線網(wǎng)卡是否支持 hostednetwork:
Hosted network supported : Yes
如果是 No,則不能創(chuàng)建熱點(diǎn)。