use “netsh wlan set hostednetwork …” to create a wifi hotspot and the authentication can't work correctly

后端 未结 7 551
暗喜
暗喜 2021-01-30 03:22

I run netsh wlan show drivers and get the output containing Hosted network supported : Yes:

Interface name: Wireless Network Connectio         


        
7条回答
  •  被撕碎了的回忆
    2021-01-30 03:49

    Use these commands on a windows command prompt(cmd) with administrator privilege (run as administrator):

    netsh wlan set hostednetwork mode=allow ssid=tests key=tests123
    
    netsh wlan start hostednetwork
    

    Then you go to Network and sharing center and click on "change adapter settings" (I'm using windows 7, it can be a little different on windows 8)

    Then right click on the lan connection (internet connection that you are using), properties.

    Click on sharing tab, select the wireless connection tests (the name tests you can change on the command line) and check "Allow other network users to connect through this network connection"

    This done, your connection is ready to use!

提交回复
热议问题