AlexiaChen.github.io
AlexiaChen.github.io copied to clipboard
升级windows 11后WSL2无网络连接的问题
发现开了v2ray代理翻不了墙了,apt update测试了下,我去,没网络连接了,所以DNS用不了,以前好好的。Orz。
通过这个issue 解决了 https://github.com/microsoft/WSL/issues/6404#issuecomment-963960301
修改/etc/wsl.conf 文件的配置:
[network]
generateResolvConf = true
然后运行 wsl --shutdown 重启WSL2就可以了。windows 11真是小问题不断啊。