Share Win7 networks as wifi hotspots, so that laptops and mobile phones can share the network

Source: Internet
Author: User

This article will introduce you to share the Win7 network as a wifi hotspot, so that your laptop and mobile phone can share the network. For more information, see. Enable the hide function of Windows 7: Virtual WiFi and SoftAP (Virtual Wireless AP), you can turn the computer into a wireless router.
Asus Notebook, Acer notebook, and iphone passed the test.
Use a laptop with Windows 7 OS or a desktop with a wireless network card as the host.
The host settings are as follows:1. Run the command prompt as an administrator:
Shortcut Key win + R → Enter cmd → press ENTER2. Enable and set the virtual WiFi NIC:
Run the command: netsh wlan set hostednetwork mode = allow ssid = LXYPC key = lxywifi
This command has three parameters: mode: whether to enable the virtual Wi-Fi network card. If it is changed to disallow, It is disabled.
Ssid: wireless network name. It is recommended to use English (take LXYPC as an example ).
Key: wireless network password, more than eight characters (take lxywifi as an example ).
The preceding three parameters can be used independently. For example, you can disable a virtual Wi-Fi network card by using mode = disallow only.

After it is enabled, a wireless connection 2 with the network Adapter "Microsoft Virtual WiFi Miniport Adapter" will be displayed in the network connection. For convenience, rename it Virtual WiFi.

If no, 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 (for example, a broadband connection), and select "properties"> "share ", check "allow others... connection (N)" and select "virtual WiFi ".

"Shared" appears next to the icon of the broadband connection Nic, indicating that "Broadband connection" has been shared to "virtual WiFi ".
4. Enable the wireless network:
Continue to run: netsh wlan start hostednetwork in the command prompt

After the command is run, the Red Cross of the virtual WiFi disappears, the Wi-Fi base station is set up, and the host is set up. Laptops, mobile phones with WiFi modules, and other sub-computers can find the wireless network LXYPC. Enter the password lxywifi to access the Internet!5. set to automatically start the wifi network at startup
Netsh wlan set hostednetwork mode = allow ssid = LXYPC key = lxywifi
Netsh wlan start hostednetwork
Save the above two lines of code as a start-visual-wifi.bat and put it into a folder named start in the Start menu so that wifi is automatically started every time you boot, without manual start.
Please enjoy it.

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.