-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internet not working - Network Unreachable #6889
Comments
I have the same problem, as long as I switch to wsl1 via |
Let me guess... You are using a VPN? If yes, use something else than WSL2... I am on the same boat and Microsoft doesnt care about this problem. You will find threads back some months /years with people with the exact same problem. I cant use WSL2 because of VPN and all the solutions found here doesnt work for everybody. |
I do not use any VPN.
|
I have the same problem, and do not use VPN... shutting down WSL2 and restarting doesn't seem to help. Restarting windows does (most of the times) |
Wtf is going on here? And why did github email me about this thread, even though nobody mentioned me and I'm not subscribed to it? |
Please collect networking logs and post (or link) the etl here. |
Networking Logs Output of networking.bat: https://gist.github.com/sadstan123456/e49c381d272d97b716c89deb939aa45c The wsl.etl file (had to convert to .zip as .etl was not being uploaded on Github): wsl.zip |
Further investigation reveals that internet does not work with Debian (WSL2) and Ubuntu(WSL2). However, on switching these distros to WSL1, the internet works. Changing them back to WSL2, again stops the internet from working. |
Same issue here, WSL2 stopped connecting, and I don't use a VPN, and as discussed, switching to WSL1 worked |
UPDATE: |
It started working for me again on version 2 |
In my case, After I updated OpenVPN Gui version, I can access network (inside VPN) again but I still have to write I use WSL2 by the way. I noticed that this internet problem happened to me once in a while after I updated Windows. |
I have the same Problem. Is there a way to fix it properly? I always need to change the resolv.conf to 8.8.8.8. |
I have the same problem after updating to 21H2. Windows Version: 19044.1706 No VPN or Antivirus (besides Defender). Tried every fix I found:
Nothing helped.. Attached the networking debug logs: networking.bat
|
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Windows Build Number
10.0.19042.928
WSL Version
Kernel Version
Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020
Distro Version
Ubuntu 20.04
Other Software
Docker Desktop (Windows), version 3.3.1
Repro Steps
Open Ubuntu
Run following commands:
sudo apt update
ping google.com
ping 8.8.8.8
ping 1.1.1.1
ping localhost
ping 127.0.0.1
ping 192.168.0.1
Expected Behavior
The commands will work, and connection to the internet will not work.
The internet works outside of WSL. I do not have any 3rd party AV software installed.
Actual Behavior
PFA the terminal output
Terminal.txt
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: