How to change the IP configuration of a wireless LAN (WLAN) in Windows Server 2019?

王林
Release: 2024-01-13 13:12:19
forward
1232 people have browsed it

windows server2019怎么更改wlan的ip配置?

How to change the ip configuration of wlan in windows server2019?

The method of changing the wireless LAN (WLAN) IP configuration on Windows Server 2019 depends on your system configuration. Here are some suggestions:

1. **Use Command Prompt (cmd)**

- Open Command Prompt (cmd). You can open the Command Prompt by searching for "cmd" in the Start menu, then right-clicking it and selecting "Run as administrator."

- In the command prompt, enter the following command and press Enter:

```

netsh wlan set hostednetwork mode=allow ssid=myNewSSID key=myNewKey

```

- Enter your desired wireless network name (SSID) and password.

- Enter the following command and press Enter:

```

netsh wlan set hostednetwork mode=allow ssid=myNewSSID key=myNewKey ipv4=***. ***.*.* mask=***.***.***.* gateway=***.***.*.*

```

- Enter the IPv4 address, subnet mask and default gateway of the wireless network you want to set up.

- Enter the following command and press Enter:

```

netsh wlan start hostednetwork

```

- Start wireless network.

2. **Using File Explorer**

- Navigate to the "C:\Windows\System32\drivers\etc" folder.

- Right click on the "hosts" file and select "Edit as Administrator".

- In the opened file, find the configuration section for the wireless network name (SSID) and password. Typically, this part is located in the lines from "***.*.*.* wireless network name" to "***.*.*.* wireless network name key".

- Replace the values ​​in these lines with the values ​​you just set (wireless network name, password and IPv4 address, subnet mask and default gateway).

- Save the file and close the editor.

- Open the command prompt (cmd) and enter the following command:

```

netsh wlan start hostednetwork

```

- Start wireless network.

3. **Using PowerShell**

- Open PowerShell. PowerShell can be opened by searching for "PowerShell" in the Start menu, then right-clicking it and selecting "Run as administrator."

- Enter the following command and press Enter:

```

***work.ConnectivityStack -Force

Set-Content C:\ Windows\System32\drivers\etc\hosts -Value "***.*.*.* myNewSSID" -Force

Start-Service NetworkManager

```

- Install the ***work.ConnectivityStack module so you can access IP configuration settings.

- Replace "myNewSSID" with your wireless network name.

- Start the NetworkManager service.

The above is the detailed content of How to change the IP configuration of a wireless LAN (WLAN) in Windows Server 2019?. For more information, please follow other related articles on the PHP Chinese website!

source:xtzjcz.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template