Solution to VirtWifi network access problem in Win11 Android subsystem. (solved)

WBOY
Release: 2024-01-30 10:27:35
forward
1106 people have browsed it

php editor Apple today brings you a solution to the problem that VirtWifi, the Win11 Android subsystem, cannot access the network. When using the Android subsystem of Win11, some users reported that they were unable to access the network normally when using VirtWifi, which caused certain troubles to the user experience. After research and practice, we found an effective way to solve this problem and now share it with you. The following are specific solutions, hoping to help users who encounter the same problem.

Solution to VirtWifi network access problem in Win11 Android subsystem. (solved)

Solution:

1. Download the ADB tool from Baidu

and extract the corresponding Windows version.

2. Add the path of ADB to the system environment variable:

Solution to VirtWifi network access problem in Win11 Android subsystem. (solved)

Enter the following command in the terminal (PowerShell) to verify the installation of ADB:

adb --version

Solution to VirtWifi network access problem in Win11 Android subsystem. (solved)

3. Open WSA and find the corresponding IP address and port number:

Solution to VirtWifi network access problem in Win11 Android subsystem. (solved)

Here is 127.0.0.1:58526

4. Enter in the terminal (PowerShell):

adb connect 127.0.0.1:58526

This step is to connect To the Android subsystem, the following information is displayed to indicate a successful connection.

Solution to VirtWifi network access problem in Win11 Android subsystem. (solved)

5. Enter the following command:

adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204

adb shell settings put global captive_portal_http_url http://www.google.cn/generate_204

This way there will be no more annoying pop-ups!

The above is the detailed content of Solution to VirtWifi network access problem in Win11 Android subsystem. (solved). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:rjzxw.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