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

Source: Internet
Author: User


If you only have a network cable and a laptop and no wireless router, will your iPad and 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 router to allow the iPad to access the Internet through the computer. First, find "command prompt" in the Start menu, or directly Type cmd to quickly search, right-click it, and select "Run as administrator ".


Run the command prompt as administrator and run the following command in the command prompt to enable the virtual wireless network adapter: netsh wlan set hostednetwork mode = allow ssid = "win7 ap wow! "Key = wifimima

Enter the command to enable the virtual wireless network card. The command contains three parameters: 1. Mode: whether to enable the virtual Wifi network card. If it is changed to disallow, the virtual network card disappears. 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 enable the iPad 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 ".
Vcg "src =" http://www.bkjia.com/uploads/allimg/131204/0351431I5-2.jpg "/>
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 and 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 wireless network we set up previously has been enabled. Return to the network connection and we can see that the virtual wireless network card has enabled the specified wireless network.

After you enable the Win7 virtual wireless network card and complete 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.