There are a lot of tutorials on the web that take laptops as WiFi hotspots (hosting networks), and this article is a chore to use as a backup. These two commands are very useful when traveling to a hotel.
The code is as follows |
Copy Code |
Netsh wlan set hostednetwork mode=allow ssid=111 key=11111111 Netsh wlan start hostednetwork |
Only two commands, the SSID is the network name, key is the password. After you enter the above command, a virtual network card with Microsoft virtual WiFi miniport Adapter is added.
After you enter the command, then find the network card (usually local connection, is usually our wired connection of that net card), right-click the property--> share, in the "Allow other network users through the Internet connection to this computer to link" before tick, and then select the new virtual network card.
Attention matters
1, the network card driver version if too low, or the wireless network card itself does not support the "hosting network", may cause a blue screen.
Netsh wlan show drivers This command allows you to view the wireless card while supporting the hosting network. "Supported Hosting Network: Yes".
2, the host network not only with the wireless card, driver-related, but also involves a number of services, if a service is closed, will also lead to the inability to open.
3, each boot to enter the two commands, you can make a batch processing, to open the load network when the run can be. If used, lose the habit, also don't feel trouble.
If you encounter an inability to start a hosting network
The reason is:
In fact, the principle is very simple, your network card driver does not support the virtual network card, which is why can not start the host network reason
Solution:
But a lot of experts give out the update drive that is absolutely nonsense. Win7 Drive in the system has been installed at the end of the time has been the latest version of the, and, with the 3G network card whole hot spot, to download n more than a few 10 trillion network card driver, pure is blindly toss.
No suspense, here is a download (Intel Intel ProSet/Wireless WiFi driver 15.6.1 version for win7-64 15.6.1 ), 19MB, even with 3G network card is not too distressed it, decompression installation, nothing, The virtual NIC comes out automatically.