Shared Win7 network for WiFi hotspots, allowing laptops to share networks with mobile phones

Source: Internet
Author: User
Turn on the hidden features of Windows7: virtual WiFi and Softap (that is, Virtual wireless APs), you can make your computer into a wireless router.
ASUS notebooks, Acer notebooks, iphone pro-test pass.
A laptop with an operating system win7 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→ carriage return
2, enable and set the virtual WiFi network card:
Run command: netsh wlan set hostednetwork mode=allow ssid=lxypc Key=lxywifi
This command has three parameters, mode: Whether the virtual WiFi card is enabled, and disallow is disabled.
SSID: Wireless network name, preferably in English (for example, LXYPC).
Key: Wireless network password, more than eight characters (take Lxywifi as an example).
The above three parameters can be used alone, such as using only Mode=disallow to disable the virtual WiFi card directly

Once successful, the network connection will have one more card for "Microsoft Virtual WiFi Miniport Adapter" Wireless connection 2, for convenience, rename it to virtual WiFi.

If not, you need to update the wireless network card driver is OK.
3. Set up Internet Connection Sharing:
In the Network Connections window, right-click a network connection that is connected to the Internet (for example, a broadband connection), select Properties → share, and click Allow others. Connect (N) and select "Virtual WiFi".

The "shared" word appears next to the Broadband Connection card icon, indicating that the broadband connection has been shared to virtual WiFi.
4, open the wireless network:
Continue running at the command prompt: netsh wlan start hostednetwork

The virtual WiFi fork disappears after the command runs, the WiFi base station has been set up and the host is finished. Notebook, with WiFi module mobile phone and other LXYPC search to wireless network, input password Lxywifi, you can access the internet!
5, set up automatically start WiFi network
Netsh wlan set hostednetwork mode=allow ssid=lxypc Key=lxywifi
Netsh wlan start hostednetwork
Save the two lines of code as Start-visual-wifi.bat and place it in a folder called Startup in the Start menu, which will automatically start WiFi every time you turn it on, without having to start manually.
Please enjoy it.

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.