Turn Windows 7 into a wireless router

  

A lot of mobile phones now support WLAN wireless Internet access, so you can't use WLAN without a wireless router? The answer is no, then Kevin will teach you how to make WIndows 7 a wireless router, and think about the wireless high-speed mobile Internet experience.

1. Run the command prompt as an administrator

Because the following steps must be run under administrator privileges, we can find the “command prompt” from the Start menu, or directly Type cmd to quickly search, right click on it, select “run as administrator", click “yes" 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 NIC (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 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 disable the virtual Wifi card.

3. Enable <;Internet Connection Sharing (ICS)"

In order to share the 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” is opened 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

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 connect to the Internet directly 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. 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