Skip to content
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

升级windows 11后WSL2无网络连接的问题 #146

Open
AlexiaChen opened this issue Nov 9, 2021 · 0 comments
Open

升级windows 11后WSL2无网络连接的问题 #146

AlexiaChen opened this issue Nov 9, 2021 · 0 comments
Labels
windows windows平台相关的一系列东西

Comments

@AlexiaChen
Copy link
Owner

发现开了v2ray代理翻不了墙了,apt update测试了下,我去,没网络连接了,所以DNS用不了,以前好好的。Orz。

通过这个issue 解决了 microsoft/WSL#6404 (comment)

修改/etc/wsl.conf 文件的配置:

[network]
generateResolvConf = true

然后运行 wsl --shutdown 重启WSL2就可以了。windows 11真是小问题不断啊。

@AlexiaChen AlexiaChen added the windows windows平台相关的一系列东西 label Nov 9, 2021
@AlexiaChen AlexiaChen reopened this Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows windows平台相关的一系列东西
Projects
None yet
Development

No branches or pull requests

1 participant