-
Notifications
You must be signed in to change notification settings - Fork 838
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
[WSL2/Ubuntu] Can't connect to internet #6450
Comments
I never successful connect to I have edited the /etc/wsl.conf and /etc/resolv.conf to contain same nameserver as my WIFI router box |
@asampadeh
|
After running the commands in the comments below, my PC stopped connecting to WiFi, not just WSL2. I had to reinstall the drivers and no matter what I did, I could not get it fixed to the internet. Therefore, I reinstalled Windows 10. After that, I was able to connect to the Internet even with WSL2.... |
oh boy. I have confirmed that I can reach the internet using WSL1, but not WSL2. I performed the same steps in your description. I can't re-install windows as it's a company-controlled install so I get provided an "image" with pre-installed windows. :/ |
I read the following similar issues, but I guess my problem is different from them.
The following is a list of my situations.
(1) With WSL2, I can't ping with IP address.
The difference from other issues is that DNS seems to be working effectively in WSL2.
(2) Convert to WSL1, the ping will work
(3) Network status
In WSL2
In Windows 10
I tried setting of @ericc, but it's not work for me. #5286 (comment)
My environment is below.
The text was updated successfully, but these errors were encountered: