There are some routers do not have WiFi function, we can only use the computer network cable, and the phone can not connect the network cable, then the computer will be connected with the network to establish a WiFi hotspot, so that mobile phone can use WiFi internet
1. Execute this command with administrator privileges
Netsh wlan set hostednetwork mode=allow Ssid=mywifi Key=sysprogram
Mode: Whether to enable the virtual WiFi network card, to disallow is prohibited.
SSID: Wireless network name, recommended best in English.
Key: Wireless network password, limit more than eight characters.
There is a virtual WiFi connection in the network connection.
2. In the local connection, right-select "Properties"-"share", tick "allow other network users to connect via this computer's Internet connection (N)" and select "Virtual WiFi".
3. Execute the following command to open
Netsh wlan start hostednetwork
4. When the phone opens the WiFi search, it can be searched.
Win7 setting up WiFi hotspots