Two laptops share the Internet without a router.

Source: Internet
Author: User

Windows 7 is applicable to computers with wireless NICs.Mobile phone WiFi and laptop shared Internet access.

The main settings are as follows:

1. Run the command prompt as an administrator:

Press win + R->, Enter cmd-, and press Enter.

2. Enable and set the virtual WiFi NIC:

Run the command: "netsh WLAN set hostednetwork mode = allow SSID = mypc key = mywifi"

This command has three parameters: Mode: whether to enable the virtual network card, and disallow is disabled.

SSID: wireless network name. It is recommended to use English (take mypc as an example)

Key: wireless network password, more than eight characters (mywifi)

The preceding three parameters can be used independently. For example, you can disable virtual WiFi Nic only by using mode = disallow.

After the network connection is enabled, a wireless network with the "Microsoft Virtual WiFi miniport adapter" is displayed. For convenience, rename it virtual wifi. If not. You only need to update the wireless NIC Driver.

3. Set Internet Connection Sharing.

In the "Network Connection" window, right-click a network connection that has been connected to the Internet, select "properties"-"share"-"allow other network users to connect (n)" and select "virtual WiFi ".

After confirmation, "shared" will appear next to the shared Nic icon, indicating that "Broadband connection" has been shared to "virtual WiFi ".

4. Enable the wireless network:

Run "netsh WLAN start hostednetwork" in the command prompt"

5. the wireless network virtual WiFi can be started properly. You can find the network mypc in another notebook.

 

 

 

 

Related Article

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.