"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