Use Windows7 shared WiFi access

Source: Internet
Author: User

How do I share WiFi access? In fact, there are a lot of software online such as Lenovo's Flash-link, Intel's my WiFi, and so on, but usually this kind of software has many limitations on the hardware, not very convenient to use, Win7 as a successful system of Microsoft model, now used is very common, The main function is very powerful, there are many unexpected intrinsic things in the WIN7 system, for example, easy to set WIN7 wireless network card routing settings, to achieve shared WiFi access, the following share the setup process:

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 to click the shortcut directly, simpler.

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

Run the following command to enable the virtual wireless network card: netsh wlan set hostednetwork mode=allow ssid= (here is the wireless network name) key= (here is the password)

After the execution, we will see a "Wireless network Connection 2" Virtual NIC inside the network adapter.

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, which 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 to open the wireless network that we have previously set up, which is equivalent to opening a router's wireless function. 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 designated, and its IP address and other properties are assigned by the Internet Connection Sharing service, so it is more special.

Here is not far from success, you can pick up your mobile phone, Wi-Fi function of the search, you will see a wireless network connection! But not online, but almost. We change 137 to 2 network segment (this network segment can be arbitrarily changed this is not and you share the network card the same net segment can) I set to ip:192.168.2.1 subnet mask: 255.255.255.0

The first step: computer-side settings (directly above)

Open Network card Properties Double-click the wireless network card and configure the IPv4 property Press my above configuration, IP address to configure and virtual network card of the same network segment on the line, can not be 192.168.2.1 only 192.168.2.X subnet mask default is 255.255.255.0 The default gateway is set to the virtual network adapter IP address!!! The preferred DNS is also the virtual network card IP address, after the configuration of the link wireless network will be able to surf the internet!

Step two: Mobile phone-side settings

Generally speaking, the location of the specific settings to find, is to set up the mobile phone wireless network IP address settings, as well as subnet mask, gateway and DNSIP address set method is 192.168.2.X but X can not be used with other wireless devices the same! Subnet mask or 255.255.255.0 gateway is 192.168.2.1 The first standby DNS collection is 192.168.2.1!! After the configuration is OK, other wireless devices connected to this virtual network can share the internet!

Friendly tips:

When we restart the computer after the wireless network will automatically shut down, reboot the wireless network need to restart, is it very troublesome? Don't be afraid ~ ~ we create a new text document Enter "netsh wlan start hostednetwork" and save it in bat format. Renamed to open WiFi, put on the desktop on the OK! Of course, if you want him to boot up, it's easy to copy this file to the Startup folder in the Start menu!

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.