Windows 7 virtual Wifi wireless routing tips

  

In the usual online process, it is inevitable to encounter some network problems, this time we need to check the status of the network connection, find the source 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 in the Control Panel “ Network connection & rdquo; can not find it. 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 “change adapter settings> task, oh, & ldquo;network connection& rdquo; window originally hidden here, this time we can view the network card in the same computer as XP The settings and status: but careful people may find that one of these cards is called "Microsoft Virtual WiFi Miniport Adapter", which seems to be Microsoft's virtual Wifi card by name. How can there be such a thing in the computer for no reason? Is another hidden feature of Windows 7 found? That's right, this is indeed a new feature in Windows 7 ——“virtual Wifi", I’m sorry to have sold a lot of money in front of you. 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 friends 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 the virtual Wifi network card? The traditional temporary wireless network (Ad Hoc mode) is a peer-to-peer network, similar to the "dual-machine interconnection" in the wired network. Although it can also achieve Internet sharing, it is mainly used for temporary interconnection of two devices, and Devices (such as devices with Android) do 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 implement the AP function of the wireless router and solve all problems of the temporary network. So enticing features, now teach everyone:

1. Run the command prompt as an administrator

Because the following steps must be run under administrator privileges, so we start from The menu finds “Command Prompt”, or type cmd to search quickly, right click on it, select “Run as administrator”, and click ““ is ” 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, or disable to disallow, The virtual network card 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)"

In order 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 NIC:

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

Before you open Set up a good wireless network (equivalent to open the wireless function of the router. Similarly, turn start to stop to turn off the wireless network).

It can be seen that the virtual wireless network card has already opened the wireless network we specified, 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: you need to say a little more, "Virtual Wifi NIC", you need a real NIC driver. Designed for Windows7. 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, students You can download it on its official website. In short, today, this feature is very suitable for home or student residences. As long as the shared computer does not sleep and does not shut down, it 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?

Copyright © Windows knowledge All Rights Reserved