Enable the hidden function of Windows 7: Virtual WiFi and softap (Virtual Wireless AP), you can turn your computer into a wireless router to achieve Internet sharing.
Step 1:
Click Start, search for cmd, run cmd.exe on the right-click administrator ID, and run the command: netsh WLAN set hostednetwork mode = allow SSID = markmin key = 87654321
This command has three parameters: Mode: whether to enable the virtual Wi-Fi network card. If it is changed to disallow, It is disabled. SSID: the name of the wireless network. It is best to use English (take wuminpc as an example ). Key: wireless network password, which consists of more than eight characters (wuminwifi is used as an example ). You can set these three parameters by yourself. For example, you can disable a virtual Wi-Fi network card by using mode = disallow only.
After it is enabled, a wireless connection 2 with the network adapter "Microsoft Virtual WiFi miniport adapter" will be displayed in the network connection. For convenience, rename it "virtual WiFi ". Some win7 may not be able to find network connections. On the Control Panel \ network and Internet \ Network and sharing center, change the adapter settings on the left is the network connection.
Step 2:
Click the network connection icon in the lower-right corner."Network and sharing center ",Click"Change adapter Settings", There will be an additional wireless connection 2 with the "Microsoft Virtual WiFi miniport adapter" Nic In the network connection. For convenience,Rename it "virtual WiFi ".
In the network connection window,Right-click the network connected to the Internet(For example, broadband connection), select"Property" -- "" sharing "," allow others to connect (n) ", and select" virtual WiFi"(Created just now ). After confirmation, "shared" will appear next to the shared Nic icon, indicating that "Broadband connection" has been shared to "virtual WiFi ".
Step 3:
Continue to run: netsh WLAN start hostednetwork in the command prompt(Change start to stop to disable the wireless network. You only need to run this command again to enable the wireless network after the system is started.) Now, the Red Cross forks of the virtual WiFi have been set up, host settings are complete. For laptops and mobile phones with WiFi modules, you can find the wireless network markmin and enter the password 87654321 to share the internet!
Copy the netsh WLAN start hostednetwork to the TXT text and save it as "Start hotspot wifi. Bat". Then run this bat file to enable wifi.