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

后端 未结 7 547
暗喜
暗喜 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:43

    For me, running the ad-hoc network on Windows 8.1, it was two things:

    • I had to set a static IP on my Android (under Advanced Options under where you type the Wifi password)
    • I had to use a password 8 characters long

    Any IP will allow you to connect, but if you want internet access the static IP should match the subnet from the shared internet connection.

    I'm not sure why I couldn't get a longer password to work, but it's worth a try. Maybe a more knowledgeable person could fill us in.

    0 讨论(0)
  • 2021-01-30 03:43

    Problem solved.

    Just drop down status bar, touch Choose input method, then change to another input method, type the password again. And everything is OK.

    So weird...

    Solution from a Chinese BBS. Thanks for the answer's author and all above who try to provide a solution, thanks!

    0 讨论(0)
  • 2021-01-30 03:44

    It's a bit of a guess but could the quotes around happy be the problem? There have been some problems in the past where Android would either add or not recognize quotes around an SSID. Try setting up the hosted network connection again, but without the quotes that we see in the output for netsh wlan show hostednetwork.

    0 讨论(0)
  • 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!

    0 讨论(0)
  • 2021-01-30 03:51

    Type

    netsh wlan set hostednetwork mode=allow ssid=hotspotname key=123456789
    

    perform all steps in proper order.. for more detail with image ,have a look..this might help to setup hotspot correctly.

    http://www.infogeekers.com/turn-windows-8-into-wifi-hotspot/

    0 讨论(0)
  • 2021-01-30 03:55

    I had a similar problem and I solved it by setting a static IP on the Android device.

    When you add the network on Android, first you enter the SSID and password, then underneath you can open advanced options and set a static IP.

    0 讨论(0)
提交回复
热议问题