How to share WIFI Internet? In fact, there are many software online for this function, such as Lenovo's IGRS, MY WIFI, etc., but usually this kind of software has many limitations on hardware, it is not very convenient to use, win7 as a successful system of Microsoft Model, now used is very common, mainly the function is very powerful, there are many unexpected internal things in the WIN7 system, for example, convenient to set up the wireless network card routing settings of WIN7, to achieve shared WIFI Internet access, the following share the process of setting: < BR>
1. Run the command prompt as an administrator
Since the following steps must be run under administrator privileges, we can find the "command prompt" from the start menu, or type cmd quickly Search, right click on it, select "Run as administrator", click "Yes" in the pop-up user control window. Another way is to hold down the Ctrl and Shift keys and click the shortcut directly, which is much simpler.
2. Enable and set the "Virtual Wifi NIC" mode
Run the following command to enable the virtual wireless network card: netsh wlan set hostednetwork mode=allow ssid=(write the wireless network name here) key= (here is the password) after the figure below
execution finished we will see a virtual network card
Mode "wireless network connection 2" in the network adapter inside: whether to enable Virtual Wifi NIC, disabled to disallow, the virtual NIC will disappear.
Ssid: Specify the name of the wireless network, preferably in English.
Key: Specify the password for the wireless network. This password is used for secure WPA2 encryption of the wireless network, which can prevent the network from being blocked.
The above three parameters can be used separately. For example, only use mode=disallow to disable the virtual Wifi card directly.
3. Enable "Internet Connection Sharing (ICS)"
In order to share the connected Internet with other computers or devices, we need to enable the "Internet Connection Sharing" feature. Open the "Network Connections" window, right click on the network connection that is connected to the Internet, select "Properties", switch to the "Share" tab, select the check box in it, and select the network connection that allows it to share the Internet here. Our virtual Wifi NIC.
After confirmation, the “Shared” flag will appear next to the shared network card icon, indicating that “Internet Connection Sharing” is activated to the virtual wireless network card.
4. Wireless network
Continue to run the following command at the command prompt: netsh wlan start hostednetwork, you can open the wireless network we set up before (equivalent to open the wireless function of the router. Similarly, change start to stop You can turn off the wireless network).
It can be seen that the virtual wireless network card has opened the wireless network we specified, and its IP address and other attributes are allocated by the "Internet Connection Sharing" service, so it is special.
It’s not far from success, you can pick up your phone, search with WIFI function, you will see a wireless network connection! But still can't access the Internet , still a little bit. We changed 137 to 2 network segments (the network segment here can be changed if it is not the same network segment as the network card shared with you) I set it to IP: 192.168.2.1 Subnet mask: 255.255.255.0
Step 1: Computer settings (directly above)
Open the network card properties, double-click the wireless network card and configure the IPv4 properties. According to my above configuration, the ip address should be configured into The same network segment as the virtual network card, can not be 192.168.2.1 can only be 192.168.2.X subnet mask default is 255.255.255.0 default gateway is set to virtual network card IP address!!! Preferred DNS is also virtual network card IP address, after configuration over wireless networks will be able to access the link
Step two:! set the phone side
general talk about specific settings position themselves look for, it is to set the IP address of the mobile wireless network On the settings, there is also a subnet mask. The gateway and DNSIP address setting method is 192.168.2.X but X cannot be used the same as other wireless devices! The subnet mask is still 255.255.255.0 The gateway is 192.168.2.1 Preferred alternate DNS The receipt is 192.168.2.1!! After the other wireless devices are connected to the virtual network, they can share the Internet!
Friendly Tips:
When our computer restarts, the wireless network will automatically shut down, and it needs to be turned on again. Restarting the wireless network, is it cumbersome? Don't be afraid~~ We create a new text file and type "netsh wlan start hostednetwork", then save it as BAT format, rename it to wifi, put it on the desktop and it will be OK! Of course, if If you want him to boot up, it's as simple as copying this file into the startup folder in the Start menu!