Two-line commands allow your win7 to be used as a wireless route

Source: Internet
Author: User

if you only have a network cable or laptop and no wireless router, can your iPad or mobile phone be unable to access the Internet? Of course not! As long as you have installed Windows 7 in this book, you can build it into a wireless vro allows the iPad to use Computer surfing the Internet.

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

Run the following command in the command prompt to enable virtualWireless Network Card:

Netsh WLAN Set Hostednetwork mode = allow SSID ="  Win7 AP wow!  " Key = wifimima

 


Enter the command to enable virtual WirelessNic

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.

Next, to make the iPad availableNotebookTo enable the "Internet Connection Sharing" function for a network connected to your computer. Open the "Network and sharing center" window, click the connected network, and click "properties" in the "Network Status" dialog box ".


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 win7 Connection Sharing

Continue to run the following command at the command prompt:

 
Netsh WLAN start hostednetwork

 


Enter the command to enable the win7 virtual 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 win7 virtual wireless network card

After completing all the above settings, you can see the wireless route we enabled in win7 in the network connection of the iPad, the name is the first time the SSID = character "win7 AP wow!" entered in the command prompt! ", The password is the character "wifimima" after key = ".

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.