You'll have to turn on the wireless switch first. Then enter "cmd" on the "Start" menu, right-click cmd, and select "Run as Administrator". (or shortcut key win+r→ enter "cmd" → carriage return operation)
Computer knowledge
The pop-up Command Prompt window enters the netsh wlan sethostednetwork mode=allow ssid=smalolo key=smalolo123 in the window.
This command has three parameters,
Mode: Enable virtual WiFi network card (disallow) and disable it instead.
SSID: Wireless network name, preferably in English (for example, Smalolo). This name is random.
Key: Wireless network password, more than eight characters (take smalolo123 as an example). I tested password creation failed for less than 8 characters
The above three parameters can be used alone, such as using only Mode=disallow to disable the virtual WiFi card directly.
Then go to the Control Panel----Network and internet----Network Sharing Center----Change the adapter, you will find a number of network cards for "Microsoftvirtualwifi miniportadapter" wireless connection 2, Here I have renamed it Smalolowifi. The following figure:
Set up Internet Connection Sharing: In Network connections, right-click Local Area Connection, and then select Properties → share → to allow other ... Connection (N) "→" Smalolowifi "can be. When you click OK, the word "shared" appears next to the Local Area Connection icon.
The shared access error code cannot be enabled: 0x80004005: Error not specified, when you encounter this situation, right-click Computer on the desktop, select Manage → in the left menu bar, double-click to open the services and Applications menu → select "Service" → find it on the right and select " WindowsFirewall "→ Click" Enable this service ", and then do one more of the above section of the operation can be.
Finally, in the command prompt, enter: netsh wlan starthostednetwork press ENTER to open the wireless network. To enable the wireless network after the boot, you only need to run this command again. When you change "start" to "Stop", you can turn off the wireless network.
This method creates WiFi, supports WP7 systems, Android systems, and laptops, and other systems have not been tested. The disadvantage is that every time you turn on, if you want to share the network, run the Netsh wlan starthostednetwork