Windows system uses the CMD command to turn on wifi!

Source: Internet
Author: User

Objective:

1, now many PCs have their own wireless network card, so if the phone does not have traffic, using the PC to open a hot spot is a good choice, such as Computer Butler, 360, cheetah and so can open hot spots.

2, when the use of third-party software to create WiFi, will often appear off the line situation. Use the cmd command to create a stable and reliable WiFi hotspot, and you can also view connected users.

3. Turn on the hidden features of Windows virtual WiFi and Softap (that is, Virtual wireless APs), you can make the computer into a wireless router in the operating system as a Windows laptop or a desktop with a wireless network card as a host.

Environment:

Win8 standalone NIC

Steps:

1. Open cmd win+r or start the attachment cmd (remember to run cmd as Administrator)

2. Enter the command at the command prompt (cmd): netsh wlan set hostednetwork mode=allow, then enter. Set the hosting network mode to allow. If you have trouble typing, you can copy the command directly, then right-click on the command prompt and choose Paste. The shortcut key Ctrl + V is useless.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/86/0B/wKioL1ezrUmw3y9OAAANWGZlad8146.png-wh_500x0-wm_3 -wmp_4-s_3718190590.png "title=" 1.png "alt=" Wkiol1ezrumw3y9oaaanwgzlad8146.png-wh_50 "/>

Note: Personal habits to change the color of the cmd, there is no need to care.

3. Then continue typing: netsh wlan set hostednetwork ssid= the name of the wireless network you want key= you want to set the password, note: "The name of the wireless network you want" and the following "key" there is a space between, please refer to the figure of the style) This step is to set the WiFi name and password, and the password must be more than 8 digits.

Netsh wlan set hostednetwork Ssid=renzhiyuan key=renzhiyuan123

or ( you can skip the first step.) )

>netsh WLAN set hostednetwork mode=allow Ssid=renzhiyuan key=renzhiyuan123

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/86/0B/wKiom1ezrfKT4lvaAAAQhVxLA_Y686.png-wh_500x0-wm_3 -wmp_4-s_463776549.png "title=" 2.png "alt=" Wkiom1ezrfkt4lvaaaaqhvxla_y686.png-wh_50 "/>

If you disable

Netsh wlan set hostednetwork mode=disallow Ssid=renzhiyuan key=renzhiyuan123

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/86/0B/wKioL1ezuGDg-_RLAAAVgwqA_rw143.png-wh_500x0-wm_3 -wmp_4-s_1121034481.png "title=" 1.png "alt=" Wkiol1ezugdg-_rlaaavgwqa_rw143.png-wh_50 "/>

4, open the Control Panel, Network Sharing Center, change the adapter settings, you will find a network card "This is the wireless network adapter that we just virtual out, remember to change the adapter name."

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/86/0B/wKioL1ezsVbwLER8AACeUbeB0HA940.png-wh_500x0-wm_3 -wmp_4-s_1884202256.png "title=" 1.png "alt=" Wkiol1ezsvbwler8aaceubeb0ha940.png-wh_50 "/>

5. Local connection > properties, sharing the Internet.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/86/0B/wKioL1ezsynD5YN-AAGFtCLfTu8476.png-wh_500x0-wm_3 -wmp_4-s_2123037540.png "title=" 2.png "alt=" Wkiol1ezsynd5yn-aagftclftu8476.png-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/86/0B/wKiom1ezsziATAaVAAFXMum7nqQ910.png-wh_500x0-wm_3 -wmp_4-s_2478208021.png "title=" 1.png "alt=" Wkiom1ezsziataavaafxmum7nqq910.png-wh_50 "/>

6. Then, at the command prompt, type: netsh wlan start hostednetwork to start hosting the network. This makes it possible to create a hotspot for WiFi, then open the Network Sharing Center in Control Panel, and you can see the wireless network connection you created. Now you can search for your wifi with your phone or laptop.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/86/0B/wKioL1ezr_CiUPaaAAAL1W-rwo8246.png-wh_500x0-wm_3 -wmp_4-s_172829768.png "title=" 3.png "alt=" Wkiol1ezr_ciupaaaaal1w-rwo8246.png-wh_50 "/>

7, in the process of turning on WiFi, you can also enter the command at the command prompt: Netsh wlan show hostednetwork, to view the established wireless network information, most importantly, you can also see the number of connected users and MAC address. So you can know if your wifi has been rubbed off the net.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/86/0B/wKiom1ezsDnBrRxoAAAnGxUIbLE580.png-wh_500x0-wm_3 -wmp_4-s_4006167775.png "title=" 4.png "alt=" Wkiom1ezsdnbrrxoaaangxuible580.png-wh_50 "/>

8. If you want to turn off the WiFi hotspot, you can enter at the command prompt: netsh wlan stop hostednetwork to stop hosting the network and deactivate the WiFi hotspot.

9, through the mastery of these commands, you can freely create WiFi and disable WiFi in the notebook, although each time to create WiFi to enter the command, it seems very troublesome, but with the command to create a WiFi relatively stable and reliable, recommended. And you can write these commands into a simple bat program so that you can set up WiFi with just one click to open the bat.

10, mobile phone connection

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/86/0B/wKioL1eztMnQzna9AAPvy61YE7U502.png-wh_500x0-wm_3 -wmp_4-s_3111827726.png "title=" Screenshot_2016-08-17-08-34-02-156.png "alt=" Wkiol1eztmnqzna9aapvy61ye7u502.png-wh_50 "/>


Connect successfully, test and get online!




This article is from the "Ningzhiyuan @it sharing" blog, make sure to keep this source http://renzhiyuan.blog.51cto.com/10433137/1839470

Windows system uses the CMD command to turn on wifi!

Related Article

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.