Create a TXT file and enter the following content:
Netsh WLAN set hostednetwork mode = allow SSID = wifiname key = 12345678
Netsh WLAN start hostednetwork
Echo. & pause
Save the above TXT file and rename it: the name can be started at will, and the extension is. BAT (batch file ).
After saving the file, double-click it to run it. Check that the network connection has a wireless connection 2 (the SSID is set to wifiname and the password is 12345678; The SSID and key values can be set as needed, when searching, you can identify the SSID name you set. The password cannot remember to edit the BAT file and check the key value)
The key step is to set the properties of your connected wired network (local connection), select the Advanced tab, and select the check boxes under Internet Connection Sharing, there is a drop-down list in the middle of the two check boxes, in which select the set wireless connection 2.
At this point, the Wireless WiFi hotspot connection has been set up on the win7 notebook.
Note that if of wireless connection 2 is automatically obtained. After the phone finds the Wi-Fi hotspot and enters the password, the connection automatically gets the IP address ..