wsl 访问网络

1. (10条消息) WSL2 网络不可用 ping:: Temporary failure in name resolution_weixin_43271225的博客-CSDN博客

 

1. 用管理员打开 Power Shell

(10条消息) WSL(ubuntu) 和Cisco Anyconnect存在的网络连接异常问题_当前系统虚拟网卡metric值不为1_cfy_wyl的博客-CSDN博客

 

2. WSL 中无法ping 8.8.8.8

Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "Cisco AnyConnect"} | Set-NetIPInterface -InterfaceMetric 4000
Get-NetIPInterface -InterfaceAlias "vEthernet (WSL)" | Set-NetIPInterface -InterfaceMetric 1

posted on   兔子二  阅读(152)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示