Prerequisite conditions
The wireless card supports the hosting network.
How to check whether the network card supports hosting networks
Command prompt, enter the command: Netsh wlan show drive, as shown in the following example:
Ways to create hotspots
Step One:
Windows key (the one between CTRL and ALT) + x, then select command Prompt (Administrator), which is to execute the CMD command with administrator privileges.
Step Two:
Create a virtual network adapter, as in the following command, SSID=PX heavy PX Sets the network connection name for you, and 55667788 of key= 55667788 sets the password for you, where you define the name and password.
Netsh wlan set hostednetwork mode =allow ssid=px key=55667788
Then start the virtual network adapter: netsh wlan start hostednetwork
The execution effect is as follows (successful example):
Step Three:
Set network share-related properties.
Two cases:
1, if you do not need to dial the computer, direct access to the Internet, please set the new network adapter share properties, the name of the new adapter needs your own judgment, the following figure shows the new network connection name is Siencetian, need to check " Allow other network users to connect through this computer's Internet connection, and select Siencetian in the list under the Home network connection. , other defaults, click OK to save the changes.
2, if your computer needs dial-up Internet, then need to set up a broadband connection (also may be another name) of the shared properties, as shown in the following figure (My computer's new adapter name is something else, I renamed Mywifi), the modified method ibid.
Common problems and their solutions
Problem One: Choose the home network connection is wrong, save, how to modify it?
Workaround: Not modified, but you can disable and reconfigure this virtual network adapter.
Question two: The configuration is good, the mobile phone, pad also connected, but after reboot has to reset, too troublesome
Workaround: Create a batch file, reboot and execute it with administrator privileges. For example, create a Mywifi.bat file with the following contents:
Netsh wlan set hostednetwork mode =allow ssid=px key=55667788
Netsh wlan start hostednetwork
Pause
How to do this: Right-click to select the file and tap "Run as Administrator" menu, as shown below
Review execution results to ensure successful execution
Question three: Perform netsh wlan start hostednetwork times wrong "Unable to start the hosting network, the group or resource status is not the correct state to perform the request operation"
Workaround: Reboot the computer, right-click the--> network adapter in Device Manager--> the Microsoft managed network virtual adapter, select Enable, and enable the successful and rerun of the netsh command.
Problem four: Broadband dial-up Environment set up a share, changed the network environment, resulting in network
Workaround: Cancel the sharing of the broadband connection.