WSL2 Ubuntu: ping: hostname: Temporary failure in name resolution
2021/6/19 7:35:01
本文主要是介绍WSL2 Ubuntu: ping: hostname: Temporary failure in name resolution,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
rm /etc/resolv.conf vi /etc/resolv.conf 写入下面的内容 nameserver 192.168.2.1 nameserver 114.114.114.114 domain localnet.local
一开始是查Temporary failure in name resolution 的相关问题 ,结果一点用没有,浪费时间
结论:关于WSL2 一定要带上 "WSL2"
转载自
https://colhountech.com/2021/04/01/wsl2-ubuntu-ping-hostname-temporary-failure-in-name-resolution/
Now it does what I want it to do. Maybe not what the WSL guys intended, but there you go!
这篇关于WSL2 Ubuntu: ping: hostname: Temporary failure in name resolution的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-05-14让创意在幻觉中肆虐: 认识Illusion Diffusion AI
- 2024-05-08Sora从入门到入门-白话版1
- 2024-05-082024年github开源top100中文
- 2024-05-083、最大池化maxinmum pooling
- 2024-05-08动态规划基础思想
- 2024-05-08Kimi:文本解析利器,你相信光么?
- 2024-05-08在Windows电脑上快速运行AI大语言模型-Llama3
- 2024-05-08MoneyPrinterTurbo:一键生成短视频的AI神器
- 2024-05-08阶跃星辰:探索智能科技的星辰大海
- 2024-05-08一分钟部署 Llama3 中文大模型,没别的,就是快