Merge pull request #123 from MustardChef/WSABuilds-Intenet-Guide-Improvements

Improve internet fix guide and add detail
This commit is contained in:
MCDeltaT 2023-06-29 12:34:37 +01:00 committed by GitHub
commit e5d48ac50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,12 @@
# WSABuilds &nbsp; &nbsp; <img src="https://img.shields.io/github/downloads/MustardChef/WSABuilds/total?label=Total%20Downloads&style=for-the-badge"/> &nbsp; # WSABuilds &nbsp; &nbsp; <img src="https://img.shields.io/github/downloads/MustardChef/WSABuilds/total?label=Total%20Downloads&style=for-the-badge"/> &nbsp;
# **⚠️ Guide Is Incomplete ⚠️**
&nbsp; &nbsp;
&nbsp; &nbsp;
## Issues: ## Issues:
### No Internet ### No Internet
![image](https://user-images.githubusercontent.com/68516357/215296995-4a8c9184-321e-438f-9483-6983ce65ce47.png)
![image](https://user-images.githubusercontent.com/68516357/215296995-4a8c9184-321e-438f-9483-6983ce65ce47.png) ![IMG-20230627-WA0012 cropped](https://github.com/MustardChef/WSABuilds/assets/68516357/a108b1df-2e03-4a52-9e0a-d0004a9d3585)
&nbsp; &nbsp;
&nbsp; &nbsp;
@ -17,9 +16,13 @@
## Solution: ## Solution:
These will be split into multiple solutions due to the different causes of the problem of no internet on Windows Subsystem for Android (WSA) and Windows Subsytem for Linux (WSL) These will be split into multiple solutions due to the different causes of the problem of no internet on Windows Subsystem for Android (WSA) and Windows Subsytem for Linux (WSL)
---
<details> <details>
<summary><h3>Fix #1: Uninstalling Hyper-V Network Adapters<h3></summary> <summary><h3>Fix #1: Uninstalling Hyper-V Network Adapters<h3></summary>
<br>
**Some Hyper-V Network Drivers may be interferring with WSA or WSL** **Some Hyper-V Network Drivers may be interferring with WSA or WSL**
&nbsp; &nbsp;
@ -43,9 +46,149 @@ These will be split into multiple solutions due to the different causes of the p
![image](https://user-images.githubusercontent.com/68516357/215347543-91c71429-26fe-44a2-b818-dd9bfeb6bcaf.png) ![image](https://user-images.githubusercontent.com/68516357/215347543-91c71429-26fe-44a2-b818-dd9bfeb6bcaf.png)
#### **Step 4: Restart Windows** #### **Step 4: Restart Windows**
![](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.4winkey.com%2Fimages%2Farticle%2Fwindows-tips%2Frestart-screen-stuck.jpg&f=1&nofb=1&ipt=2b826a4d045dc39aaa0487ea2338289d905c9f94c365f5f606334100a1ec9cb1&ipo=images) ![](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.4winkey.com%2Fimages%2Farticle%2Fwindows-tips%2Frestart-screen-stuck.jpg&f=1&nofb=1&ipt=2b826a4d045dc39aaa0487ea2338289d905c9f94c365f5f606334100a1ec9cb1&ipo=images)
</details>
<br>
<br>
---
<details>
<summary><h3>Fix #2: Checking Firewall Settings<h3></summary>
Sometimes Windows Firewall and other Firewall tools and software may be the cause of internet issues. It is therefore important that we check them if we are facing issues with internet on WSA.
<br>
<br>
<details>
<summary><h4>Users with Windows Firewall<h4></summary>
****1. Open Windows Firewall by pressing the Windows Key and "R" key, Open Run****
****2. Type WF.msc, and then select OK. See also [Open Windows Firewall](https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/best-practices-configuring)****
****3. Go to the "Inbound Connection" tab****
![image](https://github.com/MustardChef/WSABuilds/assets/68516357/c2863479-fc0d-46cc-a211-815026e68dfd)
****4. Find the entries in the list that state: "Windows Subsystem for Android™"****
![image](https://github.com/MustardChef/WSABuilds/assets/68516357/6c16b5fe-6670-4467-b8b4-f8feb9de0210)
![image](https://github.com/MustardChef/WSABuilds/assets/68516357/00b8a9cc-620b-41b7-9135-0796af2ee72e)
![image](https://github.com/MustardChef/WSABuilds/assets/68516357/607a0be4-9898-43dd-b3c9-38b6429a2f30)
****5. Confirm that these entries are Enabled and "Action" is set to "Allow" for both UDP and TCP for all entries (as shown above)****
****6. Now, go to the "Outbound Connection" tab****
![image](https://github.com/MustardChef/WSABuilds/assets/68516357/051c1f4d-1eaa-4055-81e7-4f7299cd7c56)
****7. Find the entries in the list that state: "Windows Subsystem for Android™"****
![image](https://github.com/MustardChef/WSABuilds/assets/68516357/5db5319c-00cf-47ed-9ded-8610bfff1702)
![image](https://github.com/MustardChef/WSABuilds/assets/68516357/574947cf-68be-4aa4-a002-8edf4dd48527)
****5. Confirm that these entries are Enabled and "Action" is set to "Allow" for both UDP and TCP for all entries (as shown above)****
<br>
> <picture>
> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/light-theme/tip.svg">
> <img alt="Tip" src="https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/dark-theme/tip.svg">
> </picture><br>
>
> You may not have as many entries for "Windows Subsystem for Android™", as shown in the screenshots provded. These are just for illustration purposes and Firewall entries may look different on your device.
<br>
<br>
<br>
</details> </details>
<details>
<summary><h4>Bitdefender Users (with Bitdefender's inbuilt firewall enabled)<h4></summary>
It is a known issue that Bitdefender's firewall can prevent the internet for Windows Subystem for Linux (WSL) and Windows Susbsystem for Android (WSA) from working.
There is currently no easy solution that I know of ( but there may be workarounds floating on the internet which involve whitelisting certain processes to fix these issues), for WSA and WSL, that can fix these issues other than the Bitdefender team fixing this at their end or the user having to turn off their firewall when using WSA or WSL.
Source: From my own experience and [this](https://community.bitdefender.com/en/discussion/91237/bitdefender-blocking-wsl2-traffic-solution-to-a-thread-that-was-left-unresolved)
</details>
</details>
<br>
<br>
---
<details>
<summary><h3>Fix #3: Changing Android DNS Settings<h3></summary>
****1. Open Windows Firewall by pressing the Windows Key and "R" key, Open Run****
****2. Type wsa://com.android.settings, and then select OK.****
****3. Wait for Android Settings to load and open.****
****4. In Android Settings, click on the "Network and Internet" Section.****
****5. In the "Network and Internet" Section, select "Private DNS" .****
****6. In the "Select Private DNS mode", click on "Private DNS provider hostname".****
****7. In the entry box below, type "dns.google" and click save.****
****8. Now click on the "Internet" section and click on VirtWifi.****
****9. Click on "Disconnect".****
****10. Then click on "Connect".****
Your Internet should now be fixed!
</details>
<br>
<br>
---
<details>
<summary><h3>Fix #4: Disabling Advanced Networking from WSA Settings<h3></summary>
1. Go to the Start Menu and search for Windows Subsystem for Android™
2. Depending on your WSA version, the Advanced Networking setting is located in different places witin the WSA Settings app
- For 2305 and newer builds, you must go to "Advanced settings" and then to "Experimental features"
- For 2304 and older builds, this setting is located in the "System" tab/ main screen when you open the Settings app
3. Make sure that if Advanced Networking is enabled, you disable it as this may be causing issues with the internet
This should fix the internet if Advanced Networking was on and the internet was not working due to this
</details>
<br>
<br>
---
<!-- <!--
![image](https://user-images.githubusercontent.com/68516357/215297044-40f32db5-2b0e-40bd-be50-11d451b7811e.png) ![image](https://user-images.githubusercontent.com/68516357/215297044-40f32db5-2b0e-40bd-be50-11d451b7811e.png)