In the normal online process, it will inevitably encounter some network problems. At this time, we need to check the status of the network connection and find the root cause of the problem.
In Windows XP, everyone will open the "Network Connections" window from the Start menu or Control Panel to check for network problems, but for a new Windows 7 newcomer, it seems a bit difficult to find this window. Search for <quo;network connection" in the control panel. At this time, everyone should think of the "Network and Sharing Center" that was introduced last time. Because it concentrates on the network-related general configuration, can you find clues here?
Try clicking on the top left &ldquo Change the adapter settings & rdquo; task bar, oh, & ldquo; network connection rdquo; window originally hidden here, this time we can see the settings and status of the network card in the computer as in XP:
Some students may find that one of these NICs is called "Microsoft Virtual WiFi Miniport Adapter", which seems to be Microsoft's virtual Wifi NIC by name. How can there be such a thing in the computer for no reason? Is another hidden feature of Windows7 found?
Yes, this is indeed a new feature in Windows7 ——“Virtual Wifi&rdquo Sorry, I sold a lot of money to everyone in front. To put it simply, Windows 7 can virtualize a wireless network card based on the existing wireless network card, support network sharing, and let our computer become a wireless router! It seems that nowadays, "virtual" is really everywhere.
Some students may know that before this, in fact, you can also establish a temporary network to share the Internet with other Wifi devices. What are the new advantages of virtual Wifi NIC?
Traditional temporary wireless network (ie Ad Hoc mode) is a peer-to-peer network, similar to the “dual-machine interconnection” in the wired network. Although it can also realize Internet sharing, it is mainly used for temporary interconnection of two devices, and some devices (such as Android system). The device does not support connecting to a temporary wireless network. There is also a serious problem. Since a wireless network card can only be connected to a wireless network, if you connect to the Internet through a wireless network card, you can no longer use this wireless network card to establish a temporary network and share the Internet.
The virtual Wifi function in Windows7 can virtualize a network card based on a real wireless network card to realize the AP function of the wireless router and solve all problems of the temporary network.
This tempting feature is now taught to everyone:
1. Run the command prompt as an administrator
Because the following steps must be run under administrator privileges, we find it from the start menu ; command prompt & rdquo;, or directly type cmd quick search, right click on it, select “ run as administrator & rdquo;, click “ is & rdquo; in the pop-up user control window. Another way is to hold down the Ctrl and Shift keys and click the shortcut directly, which is even simpler.
2. Enable and set the "Virtual Wifi NIC" mode
Run the following command to enable the virtual wireless network card (equivalent to open the router):
netsh wlan set hostednetwork mode=allow ssid=”Win7 AP WOW!” key=wifimima
There are three parameters in this command:
Mode: Whether to enable the virtual Wifi NIC, disable to disallow, the virtual NIC will disappear.
Ssid: Specify the name of the wireless network, preferably in English.
Key: Specify the password for the wireless network. This password is used for secure WPA2 encryption of the wireless network, which can prevent the network from being blocked.
The above three parameters can be used separately. For example, only mode=disallow can be used to directly disable the virtual Wifi NIC.
3. Enable <;Internet Connection Sharing (ICS)"
To share a connected Internet with other computers or devices, we need to enable the "Internet Connection Sharing" feature. Open the “Network Connections” window, right-click on the network connection that is connected to the Internet, select “Properties”, switch to the “Share” tab, select the checkbox in it, and select Allow it to share the Internet. The network connection is here our virtual Wifi network card:
After the confirmation, the shared NIC icon will appear next to the "Shared" flag, indicating "Internet connection sharing" to the virtual wireless network card :
4. Turn on the wireless network
Continue to run the following command at the command prompt:
netsh wlan start hostednetwork
to open our previously set up wireless network (equivalent to open The wireless function of the router. Similarly, you can turn off the wireless network by changing start to stop.
It can be seen that the virtual wireless network card has already opened the wireless network we have designated, and its IP address and other attributes are allocated by the "Internet Connection Sharing" service, so it is special:
Everything is ready, and finally you can directly access the Internet by connecting to the wireless network on a computer or mobile phone that needs to be connected to the Internet:
Need to say a little more, "Virtual Wifi NIC" needs The real network card driver is specifically designed for Windows 7 design development. Fortunately, as long as the wireless network card driver of the "Windows7 Logo Certification" is supported by this mode, we can directly find whether to bring the logo when purchasing the wireless network card. If the virtual wireless network card does not appear in the network connection after running the mode=allow command, the real network card does not support this function. You can upgrade your NIC driver to the latest Windows 7 version.
In addition to using the command to set the virtual WIFI function, Microsoft has also revealed its programming interface, which provides the possibility to develop a graphical setup program. For example, the free small software Connectify can intuitively set the virtual Wifi function, and the students can Download the official website: www.connectify.me
In short, today's introduction of this feature is very suitable for home or student dormitory use, as long as the shared computer does not sleep and does not shut down, you can provide network sharing like a router. Using Windows 7 can also save the overhead of the purchased wireless router. Think about it, it is very cost-effective?