1. Because the steps in this tutorial must run under Administrator privileges, you need to run the command prompt as an administrator
The first method: we find the "command Prompt" from the Start menu-> The order of all Programs-> attachments, or type cmd Quick Search, right-click it, select "Run as Administrator", and click "Yes" in the pop-up User Control window.
The second approach: there is another way to simply click the shortcut by holding down the CTRL and SHIFT keys.
2. Next we need to: enable and set the "virtual WiFi card" mode
Run the following command to enable the virtual wireless network card (equivalent to opening the router):
Netsh wlan set hostednetwork mode=allow ssid= "xp510" key=xp510.com
There are three parameters in this command:
Mode: If the virtual WiFi card is enabled, the disallow is disabled and the virtual NIC disappears.
Ssid: Specifies the name of the wireless network, preferably in English.
Key: Specifies the password for the wireless network. The password is used for secure WPA2 encryption of the wireless network, which can prevent the net from being rubbed well.
The above three parameters can actually be used alone, such as using only Mode=disallow to disable the virtual WiFi card directly.
3. Enabling the Internet Connection Sharing (ICS) feature is primarily to share connected Internet with other computers or devices
A, from the Start Menu-> Control Panel to play-> Network and internet-> Network and shared center-> more open adapter settings to open the Network Connections window
b, right-click a network connection that is connected to the Internet, select Properties, switch to the Sharing tab, select the check box in it, and select the network connection that allows it to share the internet here is our virtual WiFi card: After that, the shared network card icon appears next to the shared Flag, which means that Internet Connection Sharing is open to the virtual wireless card:
4. Open the Wireless network
Continue to run the following command at the command prompt:
Netsh wlan start hostednetwork
You can turn on the wireless network that we have set up previously (equivalent to the wireless function of opening the router). Similarly, you can turn off the wireless network by changing start to stop.
As you can see, the virtual wireless network card has opened the wireless networks we have specified, and its IP address and other properties are assigned by the Internet Connection Sharing service, and are therefore more specific:
Everything is ready, and finally you can surf the internet just by connecting the wireless network to a computer or mobile phone that needs to be networked.
Heaven Small weave after feeling:
"Virtual WiFi card" requires a real NIC driver specifically designed for WINDOWS7. Fortunately, as long as through the "Windows7 logo certification" Wireless network card driver Support this mode, we choose the wireless network card directly to find whether the logo can be. If the virtual wireless network card does not appear in the network connection after the Mode=allow command is run, the feature is not supported by the real NIC. You can upgrade the NIC driver to the latest Windows7 version to try.
In addition to using the command to set up virtual WiFi, Microsoft has also exposed its programming interface to the development of graphical setup programs, such as free small software connectify to visually set up virtual WiFi capabilities.
Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer group: 189034526 welcome you to join