Today, I want to use my mobile phone to download something online, but the network speed is very slow. The router is placed in the dormitory and there is no wireless router. So I want to change the wireless network card on my computer into a wireless route, so Baidu looked for a previously used connectify software and did not try to use a command prompt to configure it. So Baidu found some information and modified it to get this article. 1.Run Command Prompt as Administrator
Enter cmd in the Start menu, right-click it to run as an administrator, or press Ctrl and shift to directly click cmd.
2.Run the following command to enable the virtual wireless network card (equivalent to enabling the router ): Netsh WLAN set hostednetwork mode = allow SSID = "thinknet" Key = thinknet
This command has three parameters: Mode: whether to enable the virtual Wi-Fi network card. If it is set to disallow, the virtual network card will disappear. SSID: Specifies the name of the wireless network, preferably in English. Key: the password of the wireless network. This password is used to encrypt wpa2 for wireless networks. The preceding three parameters can be used independently. For example, only mode = disallow is used. You can directly disable the virtual WiFi Nic.
3.Enable Internet Connection Sharing (ICS )" To share the connected Internet with other computers or devices, we need to enable the "Internet Connection Sharing" function. Open the "Network Connection" window, right-click the network connection that has been connected to the Internet (local connection here, if you are using pppoe broadband dial-up Internet access, right-click your dial-up connection ), select "properties", switch to the "share" tab, select the check box, and select the network connection that allows them to share the Internet here, that is, our virtual WiFi network adapter (here it is a wireless network connection) 2) After confirmation, the "shared" icon appears next to the shared Nic icon, indicating that "Internet Connection Sharing" has been activated for the virtual wireless Nic. 4.Enable Wireless Network
Continue to run the following command at the command prompt: Netsh WLAN start hostednetwork You can enable the previously set Wireless Network (equivalent to enabling the wireless function of the router. Similarly, change start to stop to disable the wireless network ). We can see that the virtual wireless network card has enabled the specified wireless network, its IP address and other attributes are allocated by the "Internet Connection Sharing" service, so it is quite special Everything is ready. At last, you only need to connect to the wireless network on the computer or mobile phone that needs to be connected to the Internet, and then you can directly access the internet. , We can see that my mobile phone has been able to search for my established hotspots and connect them.
Now, we can use this method to transform our computer into a Wireless AP without using other software. If you have any questions or comments, please refer to them downstairs. This is the first time I have used this ID to post on the Pacific Forum. Thank you for your consideration.
|