Run cmd, open the command script, Win7 need to run under the administrator, you can search for "cmd" in the Start menu, and then right-click in Cmd.exe, select Administrator status to run.
Enter the contents of quotation marks
The code is as follows |
Copy Code |
"Netsh wlan set hostednetwork mode=allow ssid=??????? key=????????? ", |
And then enter it??? The content can be set by itself, the SSID is the WiFi name, and key is the password you need to connect to WiFi.
Make sure that the wireless card is turned on, and then open Control Panel---Network and internet---Network and Sharing Center---Change the adapter settings (on the left), select your current broadband connection and right-click the properties---share---Allow other users to connect through the Internet of this computer to tick , the sharing network choose Wireless here to choose the computer network, that is, if you are using broadband connection, then choose Broadband Connection, if you are using the router local connection, then select the local connection, set up after your broadband connection or local connection will appear the words shared.
Back to the command specifier, enter the contents of the quotation marks.
The code is as follows |
Copy Code |
Netsh wlan start hostednetwork |
"Enter, show hosted network, wireless network share open successfully." This shared network after each shutdown and then turn on the command to open, if trouble can be a netsh wlan start hostednetwork copy into TXT and then save the txt extension to bat, the file can be renamed to open Wireless sharing, such as a clear name. When you want to open, double-click the bat file directly, you do not need to open command instructions to enter the command. At this time, the wireless network Connection 2 of the Red Fork is gone, become a normal network next you can use other devices to search your set of SSID network, and enter the password you set up to connect Wi-Fi can be connected to the Internet.
If you suddenly forget the password after a period of time, you can enter
The code is as follows |
Copy Code |
Netsh wlan set hostednetwork mode=allow ssid=??????? key=?????????, |
And then the carriage return reset