Home  >  Article  >  Computer Tutorials  >  Solution to VirtWifi network access problem in Win11 Android subsystem. (solved)

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

WBOY
WBOYforward
2024-01-30 10:27:351100browse

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!

Statement:
This article is reproduced at:rjzxw.com. If there is any infringement, please contact admin@php.cn delete