Windows7 system Virtual NIC variable wireless router function is a lot of Windows7 system notebook users want to learn a technical point, today's small series of the system has deliberately made this "Win7 wireless network card to wireless router" tutorial to everyone.
The traditional temporary wireless network (ad hoc mode) is a point-to-point network, similar to the "dual-computer interconnection" in the wired network, although it can also achieve Internet sharing, but mainly for the temporary interconnection of two devices, and some devices (such as the use of Android devices) are not supported to connect to the temporary wireless network. There is also a serious problem, because a wireless network card can only be connected to a wireless networks, so if you connect to the Internet through the wireless card, you can no longer use this wireless network card to establish a temporary networks, share the Internet. The virtual WiFi in Windows7 can be a real wireless network card on the basis of a virtual network card, the wireless router to achieve the AP function, solve all the problems of the temporary network.
Let's take a quick look at how to get the Win7 system's notebook programming wireless router:
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, and select the network connection that allows it to share the internet here is our virtual WiFi card:
Once identified, a shared flag appears next to the shared network card icon, indicating 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. Small knitting has the saying:
"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.