How to set up a wireless router under Windows 7

Source: Internet
Author: User

1. Run the command prompt as an administrator

Because the following steps must run under administrator privileges, we find the command prompt from the Start menu, or type cmd Quick Search, right-click it, select Run as Administrator, and click Yes in the pop-up User Control window. Another way to do this is to hold down the CTRL and SHIFT keys and click the shortcut directly, even simpler.

 2. Enable and set the "Virtual WiFi network card" mode

Run the following command to enable the virtual wireless network card (equivalent to opening the router):

Netshwlansethostednetworkmode=allowssid= "win7apwow!" Key=wifimima

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. Enable Internet Connection Sharing (ICS)

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 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:

Netshwlanstarthostednetwork

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 simply by connecting the wireless network to a computer or mobile phone that needs to be networked:

What needs to say is, "virtual WiFi card", the driver that needs the real network card is designed and developed specifically 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 also exposes its programming interface, providing the possibility for developing graphical setup programs, such as free software connectify to visually set up virtual WiFi, and students can download and use them on their official website.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.