Win7 wireless Internet sharing

Source: Internet
Author: User

Win7Wireless Internet sharing

1. Question proposal

In this situation, only network cables and laptops are used and there are no wireless routers. However, if your mobile device or another laptop needs to access the Internet, how can this problem be solved?

2. Solution

The solution is very simple. As long as your laptop is pre-installed with Windows 7, you can create a wireless router by sharing the wireless Internet access function of Windows 7, allow your mobile devices to access the Internet. It sounds complicated, but it is not difficult to use it. You only need to follow the steps below.

3. Procedure

(1) first, find "command prompt" in the Start menu, or directly Type CMD to quickly search, right-click it, and select "Run as administrator ".


Run Command Prompt as Administrator

(2) run the following command in the command prompt to enable the virtual wireless network card:

Netsh WLAN set hostednetwork mode = "allow" SSID = "xupc" Key = "1234567890"


Enter the command to enable the virtual wireless network card

This command contains three parameters:

1. Mode: whether to enable the virtual Wi-Fi network card. If it is changed to disallow, the virtual network card will disappear.

2. SSID: specify the name of the wireless network, preferably in English.

3. Key: Specify the password of the wireless network. This password is used to encrypt wpa2 securely on the wireless network, which can prevent network attacks.

These three parameters can also be used independently as needed. For example, if you only want to disable the virtual WiFi Nic, you only need to use the mode = disallow command.

After the command is completed, a wireless connection 2 with the NIC "Microsoft Virtual WiFi miniport adapter" will be displayed in the network connection. (the local machine name is "virtual WiFi". If no, you only need to update the wireless NIC Driver ).

(3) Next, to allow another notebook or mobile phone to use the network that has been connected to the laptop, you need to enable the "Internet Connection Sharing" function. Open the "Network and sharing center" window, click the connected network, and click "properties" in the "Network Status" dialog box ". (Note: If you are using a telecommunications line in a hotel, select the "Broadband dial-up connection" established in each room ". Click Properties)


Open Network Connection


Open Connection Properties

Switch to the "share" tab in the Properties dialog box, and select "allow other network users to connect through the Internet connection of this computer ", and select the network connection that allows them to share the Internet here, that is, our virtual Wi-Fi network card.

Enable win7Connection Sharing

Continue to run the following command at the command prompt:

Netsh WLAN start hostednetwork


Enter the command to enable win7Virtual wireless network card

After the prompt "started bearer network" is displayed, it indicates that the previously set wireless network has been enabled. Return to the network connection and we can see that the virtual wireless network card has enabled the specified wireless network.


Enable win7Virtual wireless network card

(4) After completing all the above settings, you can see the wireless route we enabled in win7 in the network connection of another notebook or mobile phone, the name is the "xupc" character after the SSID = entered in the command prompt for the first time, and the password is the key = character "1234567890" (excluding double quotation marks ).

4. Description

If virtual WiFi is disabled by default after the computer is restarted, continue to run the following command at the command prompt:

Netsh WLAN start hostednetwork

You can enable the previously set Wireless Network (equivalent to enabling the wireless function of the router. Similarly, change start to stop to disable the wireless network ). Of course, you can also make the command to process files in batches and run it directly.

 

OK. Changyou network.

 

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.