Enable win7 virtual WiFi Nic Mode

Source: Internet
Author: User

Http://bbs.kafan.cn/thread-959769-1-1.html

1. Run Command Prompt cmd as Administrator
2. Enable and set the "virtual Wi-Fi network card" Mode
Run the following command to enable the virtual wireless network card (equivalent to enabling the router ):
Netsh WLAN set hostednetwork mode = allow
Netsh WLAN set hostednetwork SSID = demo_ap
Netsh WLAN set hostednetwork key = PASSWORD keyusage = persistent
Note: The red part can be replaced with the content you need (steps 2 and 3 can be written as netsh WLAN set hostednetwork SSID = demo_ap key = PASSWORD keyusage = persistent)
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 the wpa2 secure on the wireless network, which can effectively prevent network access.
Keyusage: Specifies whether the password is valid for a long term or temporary.
The preceding three parameters can be used independently. For example, you can disable a virtual Wi-Fi network card by using mode = disallow only.
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, select "properties", switch to the "share" tab, and select the check boxes, and select the network connection that allows them to share the Internet here, that is, our virtual WiFi network adapter: After confirmation, the "shared" icon appears next to the shared network adapter icon, internet Connection Sharing is enabled for the virtual wireless network card:
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 ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.