Windows 7 command line to erect a wireless hotspot (AP)

Source: Internet
Author: User
Tags hosting

1, check whether the wireless network card support virtual AP (Support does not support the hosting network).

Note: Does not support, also can not use up, the following tutorial also does not have to look!

Start---run (win+r), enter CMD, and open the Command window.

Enter in command specifier: Netsh wlan show drive

Have you seen the "Supported hosting network: Yes" This one, this NIC is supported!

2, through the command to establish a "wireless network Connection 2".

Start---run (win+r), enter CMD, and open the Command window.

Enter in command specifier: netsh wlan set hostednetwork mode=allow ssid=AP key=12345678

After the completion of the code to press ENTER (copy and paste is also OK, Command window can be a mouse right click to paste on it), you may need to wait a few seconds, there will be prompts as follows:

Successful words will show that the hosted network mode is already set to allow.

The SSID that hosts the network has been successfully changed.

The user key password for the managed network has been successfully changed.

NOTE: The AP in the red Word is the wireless name (SSID), 12345678 for the wireless password, the need for their own changes!


3, wired local connection for Internet connection, and share!

Open Control Panel---Network and internet---Network and Sharing Center---Change the adapter settings, locate the local Area Connection, Right-click properties---share---Allow other users to connect through the Internet of this computer to tick, home network connection selection " Wireless network Connection 2".

Local connection:



ADSL Broadband Connection: (attached ADSL sharing, and the local connection is similar, I looked at the modification)

4, back to command script, input: netsh wlan start hostednetwork

At this point you can use the WiFi device to connect to this AP to try.

Every boot more to rerun this command, if trouble, you can enter the code in Notepad, save as a suffix named bat file, add to start, you can automatically start every time the boot.

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.