无法解析主机:本机名
Tofloor
poster avatar
187******09
deepin
2017-04-17 02:13
Author
执行命令时候,提示   无法解析主机:,后面跟的是本机名,但是可以执行命令。这是怎么回事啊,求教,谢谢!!
Reply Favorite View the author
All Replies
avatar
liujindong
deepin
2017-04-17 02:37
#1
host修改过吗
Reply View the author
avatar
jb71415
deepin
2017-04-17 04:20
#2
echo '127.0.1.1 本机名'|sudo tee -a /etc/hosts;sudo systemctl restart NetworkManager
Reply View the author
avatar
187******09
deepin
2017-04-17 05:23
#3

不小心删了,改回来了,谢谢
Reply View the author
avatar
187******09
deepin
2017-04-17 05:26
#4
https://bbs.deepin.org/post/137693
echo '127.0.1.1 本机名'|sudo tee -a /etc/hosts;sudo systemctl restart NetworkManager

谢谢你!!!!!
Reply View the author
avatar
emofode
deepin
2017-04-18 00:50
#5
https://bbs.deepin.org/post/137693
谢谢你!!!!!

                 
Reply View the author