"Other" win7 create WiFi hotspot share to phone use

Source: Internet
Author: User
Tags hosting

Outside, sometimes the network has a lot of inconvenience, need to use a laptop to create a WiFi hotspot for mobile phones; I test how XP is not configured to work, but Win7 has a viable solution, not relying on third-party software.

Details are as follows:

Note: The following command requires administrator privileges;

0. Verify that the local physical network is set up for sharing, and if set, cancel the share first
Physical network-right-properties-Share, Cancel "Allow other network users to connect through the computer's Internet"

1. Configure the virtual WiFi network card, enter the command (the account password is recommended lowercase, key not less than 8-bit) after the connection of "Wireless network Connection 2" usually appears
Netsh wlan set hostednetwork mode=allow ssid=xxxx key=xxxxxxxx
The hosted network mode is set to allow.
The SSID hosting the network has been successfully changed.
The user key password for the managed network has been successfully changed.

2. Configure a shared physical network to a virtual WiFi network card
Physical network-right-properties-share, set tick "Allow other network users to connect through the computer", share to Network Select "Wireless network Connection 2", "XX control or disable XX" can be canceled

3. Enable shared WiFi, then your phone will be able to search for the hotspot you created
Netsh wlan start hostednetwork
The hosting network has been started.

Other--Deactivate and delete operations:
A) If you want to stop sharing WiFi, enter the command:
Netsh wlan stop hostednetwork
The host network has been stopped.

b) If you also want to delete the "Wireless network Connection 2" connection in the "Control Panel \ Network and internet\ network Connection", enter the command:
Netsh wlan set hostednetwork mode=disallow
The hosted network mode is set to disabled.

See also: http://jingyan.baidu.com/article/92255446e95947851648f4f6.html

--

Attachment: (The following two scripts do not need to run with Administrator privileges)

Start WiFi sharing. bat

@echo is starting WiFi sharing ... @echo. @netsh WLAN Start Hostednetwork@pause

Stop WiFi sharing. bat

@echo stopping WiFi sharing ... @echo. @netsh WLAN Stop Hostednetwork@pause

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.