-
Notifications
You must be signed in to change notification settings - Fork 821
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
WSL network does not work #8601
Comments
Same issue here |
Same issue here with the same output as the OP has included. Is this a problem with the new version of Ubuntu? |
No, it is not, for I'm also having it on Manjaro. |
I'm not sure if this is related or just has happened accidentally, but today when I started bash and executed |
Nothing new here. |
I got some new information. I tried to uninstall and reinstall all the VM platform and WSL after removing OpenVPN, Virtual Box, etc, everything that messed up with network adaptors, because whenever I try to diagnose the vEthernet adaptor, the troubleshooter gives me an error code 0x80004005 before it can actually run. This persists even after the said full reinstall, and have a hunch the problem is related to this. |
O found a solution.I had NTFS-compressed the The error reported on the previous comment persists but it is irrelevant. |
Version
Microsoft Windows [Version 10.0.19043.1826]
WSL Version
Kernel Version
5.10.102.1
Distro Version
Ubuntu 20.04 and Manjaro
Other Software
No response
Repro Steps
Run
WSL
Try to access any command that requires network:
ping
,code /etc/resolv.conf
, orsudo pacman -Syyu
.Expected Behavior
Network should be accessible.
Actual Behavior
ping 8.8.8.8
returnsping: connect: Network is unreachable
.Diagnostic Logs
Output of
ip addr
:Output of
ip route
:Output of
cat /etc/resolv.conf
:Output of
ping 172.24.48.1
:ping: connect: Network is unreachable
I also tried to entirely remove hyper-v and WSL and then reinstall. I also tried to set WSL2 vEthernet as bridge mode. Output of
type %userprofile%\.wslconfig
:The text was updated successfully, but these errors were encountered: