Http://bbs.xiaomi.cn/thread-5307169-1-1.html
I believe many of my friends know that the win7 system already has self-built systems.
The wifi hotspot function is implemented through several commands. Although it is simple, many people think this is very troublesome. After each restart, they must repeat the above steps to enable this Wi-Fi access point, for the convenience of everyone, at the end of the article, we will provide you with a batch processing to implement the several commands. Each time you start the system, you just need to right-click and run it as the administrator. The detailed tutorial is as follows:
1. Open the win7 Start Menu, Enter cmd in the lower-left box, right-click cmd. EXE, and select "Run as administrator ".
2. (1)
Netsh WLAN set hostednetwork mode = allow bearer network mode is set to allow 8
Y8 O "s E6 \; F; w % v
(2) netsh WLAN set hostednetwork SSID = open key = 1234567890 set a wireless access point named open with the Access Point password 1234567890:
I * n: V, X8 \
(3) netsh WLAN start hostednetwork start Bearer Network
Figure:
3. log on to the "Network and sharing center" and set both networks to the home network.
4. Set the IP address of "wireless network connection" and DNS. y * r) C9 I "\ 2 I $ \ 'l & H. Q
Method: Take my example
Click "Local Connection" on the right, select "details", do not close, then click "wireless network connection 4", and select "properties ", double-click the Internet Protocol version.
4 (TCP/IPv4 )"
Enter the IP address and subnet mask. The DNS is based on the IP v4 DNS server entered in the "local connection" details.
5. click "Local Connection", select "properties", and then select "share" to check the two connection sharing settings, the font above the "home network connection" box should be the name of the "open" network connection. For example, my name is "wireless network connection 4"
In the phone (millet phone as an example) standby desktop press the menu key-system settings-system-WLAN-press and hold open-set-enable use static IP-IP address (192.168.2.2)-Gateway (192.168.2.1) -network mask (255.255.255.0)-Domain Name Server 1 (the first DNS on your computer)-Domain Name Server 2 (the second DNS on your computer)-Return key
7. Now, you can connect to a Wi-Fi Access Point named "Open password" 1234567890.
Other devices can share this WiFi hotspot:
Shared WiFi
Written below:
To sum up, you only need to set step 3 to step 5, and start each time later, as long as you right-click Open batch processing-run as Administrator (the only drawback is that you need to run it every time you restart the system, however, with this batch processing, It is very convenient to enter the commands in step 2 every time, and everything is so easy ).
Note: If you do not want to use this network, or change the user name and password, disable the bearer network and continue with the above steps.
Netsh WLAN set hostednetwork mode = disallow // disable the Bearer Network