Background.
Note 1: To enable the hidden function of Windows 7: Virtual WiFi and softap (Virtual Wireless AP), you can turn the computer into a wireless router to achieve Internet sharing, Saving network fees and router purchase fees.
NOTE 2: it is easier and more stable than connectify, apwifi, and other software by using the built-in functions of the system.
Not to mention nonsense. Let's start:
1. Run the command prompt as an administrator:
"Start" --- enter "cmd" in the search bar ---- right-click and run as "Administrator"
2. Enable and set the virtual WiFi NIC:
Run the command: netsh WLAN set hostednetwork mode = allow SSID = wuminpc key = wuminwifi
(Note: After the above command "SSID", the red letter is the network name and you can name it as needed. For example, you can change wuminpc to mywifi. you can name it as you like.
The red letter behind "key" is the password. you can name it by yourself. For example, you can change wuminwifi to 12345678. In short, you can name it by yourself. You don't have to use this network name. This password, the password must be more than 8 characters)
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 recommended to use English (wuminpc as an example), that is, the name of the Wi-Fi network to be set.
Key: wireless network password. It can contain more than eight characters (wuminwifi is used as an example), that is, the Wi-Fi password you want to set.
The preceding three parameters can be used independently. For example, you can disable a virtual Wi-Fi network card by using mode = disallow only.
I believe anyone who has used dos knows how to run the command. That is, press ENTER netsh WLAN set hostednetwork mode = allow SSID = wuminpc key = wuminwifi.
After running, you can see the following:
Then open "network and sharing center" -- "Change adapter Settings" to see if there is one more item. If there is one more "Microsoft Virtual WiFi miniport adapter ", it means that the settings on the front are true.
If the connection is enabled successfully, a wireless IP address with the "Microsoft Virtual WiFi miniport adapter" is displayed in the network connection.
For convenience, rename it virtual wifi. If no, you only need to update the wireless NIC Driver.
3. Set Internet Connection Sharing:
In the "Network Connection" window, right-click a network connection that has been connected to the Internet, select "properties"> "share", and check "allow others... connection (n) "and select" virtual WiFi ".
After confirmation, "shared" will appear next to the shared Nic icon, indicating that "Broadband connection" has been shared to "virtual WiFi.
4. Enable the wireless network:
Continue to run: netsh WLAN start hostednetwork in the command prompt
Of course, you can create a new notepad file copy: netsh WLAN start hostednetwork and save it as: Start WiFi hotspot. bat
The next time you start the instance, you only need to run it as an administrator. (Note: It must be run as an administrator before it can be started)
Now, the Red Cross of virtual WiFi disappears, the Wi-Fi base station has been set up, and the host has been set up ., IPhone, touch, laptop, mobile phone with WiFi module, and other sub-machines can search for wireless network wuminpc, and enter the password wuminwifi to share the internet.
You can write the network name and password as you like.
The wireless network established in this way is more stable, simple, and fast than the connected network.
========================================================== ========================================================== ==========
If you want to disable the WiFi sharing function, you only need one command: netsh WLAN stop hostednetwork.
, Copy this command to the TXT file, and change the TXT suffix to bat. To disable WiFi, you only need to run it as an administrator.
If you need it, try it. If it is easy to use, don't forget to stick to it!
========================================================== ========================================================== ================================
Appendix: Command for displaying Wireless Network Information: netsh WLAN show hostednetwork
========================================================== =====
In September 22, TX recently said that the iPhone could be connected, but the iPhone could not be connected to the Internet. In other words, the iPhone could only be connected to QQ. I think some of them may be! I don't think there is a correct sharing network connection. It's not necessarily a local network. It's about sharing the connection you used to access the Internet to the virtual network.
Taking me as an example, if I am on a mobile WLAN wireless network, I will share it with the wireless network I just virtualized, so now I will share "wireless network connection 2" with "wireless network connection 3" (the virtual network connection just now ).
Do not necessarily refer to local connections. It is the person connecting you to the Internet who makes "local connections" and some who are "broadband connections ", some people use "Wireless Network Connections" (for example, if I use mobile CMCC, I will share it with the virtual connection ), in short, just share the connection you are surfing the Internet with the virtual network.
The latest update on March 13, October 13 solves the problem that some netizens can connect normally but cannot access the Internet.
Pay attention to the changes in the red circle. Now test your wireless device. If not, use the following settings.
Set your wireless device. Set the IP address to 192.168.137.x (X to any value of 2-254)
Subnet Mask 255.255.255.0
Default vro192.168.192.168.137.1
Then modify the DNS address. The DNS address search method is as follows. Start, Enter cmd in the search box, and Type ipconfig/all
Find the DNS and enter OK. Take my PSP as an example. manually enter the address as follows:
192.168.137.20
255.255.255.0
192.168.137.1
The DNS address is the same as the obtained DNS address.
Address: http://bbs.weiphone.com/read-htm-tid-2167498.html