"Record a Windows technology learning" using a notebook DOS command to build a WLAN hotspot

Source: Internet
Author: User
Tags hosting

"Record a Windows technology learning" using a notebook DOS command to build a WLAN hotspot

Time: 2017-10-14-22:36:13 written by: AK Endermen "Forwarding please specify the source"

————————————————————————————————————————————————————————————————————————————————————————

First you need to go to the cmd command prompt under Windows System, and of course, this must be run under administrator privileges.

1. Configure hotspots

Netsh wlan set hostednetwork mode=allow ssid=wifi name Key=passphrase

Usage: Set hostednetwork [Mode=]allow|disallow [ssid=]<ssid>
[key=]<passphrase> [Keyusage=]persistent|temporary

Parameters:

Tagged value
mode Specifies whether the managed network is allowed or disabled.
SSID of the managed network.
The user security key used by the key managed network.
KEYUSAGE Specifies whether the user-key key is permanent or temporary.

Note:

This command changes the properties of the managed network, including: The SSID of the managed network,
Allows or disables the managed network in the system, and the managed network uses the
The user security key.

The user security key shouldA string consisting of 8 to 63 ASCII characters, for example, a password, or 64 16
The binary number (representing 32 binary bytes).


If Keyusage is specified as permanent, the security key is saved and will be used when the managed network is started again in the future.
Otherwise, this password is used only when the managed network is currently or next started. When the managed network is stopped, the
The Temporary security key is removed from the system. If Keyusage is not specified, it is permanent by default.

This command requires administrator privileges to allow or disallow the managed network。

Example:

Set Hostednetwork Mode=allow
Set Hostednetwork SSID=SSID1
Set Hostednetwork key=passphrase keyusage=persistent

2. Start a hotspot

Netsh wlan start hostednetwork

Usage: Start hostednetwork

Note:

This command requests the WLAN service to start hosting the network.

This command requires administrator privileges.

Example:

Start Hostednetwork

3. Show Hotspot Configuration Items

Netsh wlan show hostednetwork

Usage: show hostednetwork [[Setting=]security]

Parameters:

Tagged value
setting specifies the hosting network settings to display.

Note:

This command displays the properties that host the network and their status, if it is started.

If a setting parameter is specified, it displays the security algorithm that hosts the network
and keys.

Example:

Show Hostednetwork
Show Hostednetwork setting=security

"Record a Windows technology learning" using a notebook DOS command to build a WLAN hotspot

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.