openeuler 安装后无法上网

执行yum update命令报错could not resolve host name

很多文章说是DNS域名解析问题,在/etc/resolv.conf文件末尾添加nameserver 114.114.114.114和nameserver 8.8.8.8,但是没有奏效。

通过ifconfig命令查看网卡设备为enp0s3

# sudo vi /etc/sysconfig/network-scripts/ifcfg-enp0s3

# sudo vi /etc/sysconfig/network-scripts/ifcfg-enp0s3

ONBOOT=no

更改为

ONBOOT=yes

重启即可

openEuler couldnt resolve host name相关推荐

  1. couldnt resolve host name

    做一个项目,遇到couldnt resolve host name, 老想不明白为啥,后来想通了,应该是库的连接问题, 要把2005,2008运行时正确的安装在system32目录里,如果你只是拷到自 ...

  2. yum源报错 提示 Couldnt resolve host mirrorlist.centos.org

    centos的yum源不用配置,装机之后就能使用,如遇到如此提示: Loaded plugins: fastestmirror, refresh-packagekit, security Loadin ...

  3. 解决Couldn't resolve host 'mirrorlist.centos.org

    这个错误引起主要是因为环境读取不到yun引起的可以考虑/etc/sysconfig/network-scripts/ifcfg-eth0 配置出错导致网络不通.或者/etc/resolv.conf的D ...

  4. yum使用时 could not resolve host 报错的解决方法

    [root@cloud test]# yum list 已加载插件:fastestmirror http://mirrors.163.com/centos/7/os/x86_64/repodata/r ...

  5. sudo: unable to resolve host ubuntu提示的解决

    ``` 我用的是ubuntu,修改了计算机的名字,当运行sudo ...之后出现如下提示: sudo: unable to resolve host ubuntu 提示不能解析主机ubuntu,在/e ...

  6. docker build 没有网络 执行dockerfile中yum报错 curl#6 - “Could not resolve host: mirrorlist.centos.org 解决方法

    报错现象 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo= ...

  7. linux yum错误 14: PYCURL ERROR 6 - Couldn't resolve host 'mirrorlist.centos.org'

    这个错误主要是因为DNS引起的 今天在linux环境通过yum安装软件报了以下错误: [root@multi-mysql yum.repos.d]# yum install ncurses devel ...

  8. cents上运行wget报错:unable to resolve host address

    wget命令报错.无法解析域名"www.keepalived.rog" [vagrant@RS1 download]$ wget http://www.keepalived.org ...

  9. git clone 出现错误 Could not resolve host: github.com

    git clone 出现错误 Could not resolve host: github.com 一.错误原因 二.解决方法 1.解析出域名对应的IP地址 2.把域名和IP地址添加到主机的hosts ...

最新文章

  1. android+抄袭+苹果,别再把苹果捧上神坛了,其实苹果和安卓都在借鉴抄袭这个品牌!...
  2. Day 13 Python 一之helloworld
  3. RTL8189疯涨还缺货怎么办,可以用ESP8089替代.
  4. OpenCV 图像清晰度评价算法(相机自动对焦)
  5. #20071-[NOIP2020模拟赛B组Day6]礼物购买【二分】
  6. Java 删除链表中的元素
  7. Django 模板中 变量 过滤器 标签 的使用方法
  8. 【ElasticSearch】ElasticSearch 节点 性能 健康 监控
  9. Google Developers可以访问了?
  10. webstorm的个性化设置settings
  11. ubuntu中安装sqldeveloper和JDK 1.7
  12. java 读CSV 和 Excel
  13. java-jdk环境下载
  14. python改变默认编码
  15. 使用OP-AMP电路将DAC0832输出电压转换为电流
  16. 应用工具推荐phpStudy(小皮面板)
  17. 微信小程序 阻止事件冒泡
  18. python--我的大花莽【turtle画】
  19. 形态学运用(去除图像噪点,提取水平线,垂直线)--OPenCV08
  20. IFAHP直觉模糊层次分析法matlab

热门文章

  1. 2021年全球烤面包机收入大约1363.7百万美元,预计2028年达到1536.8百万美元
  2. TCP/IP 之 蓟辽督师
  3. 修复 重装 远程桌面工具(mstsc.exe)完美解决方案
  4. 杰普(briup)软件公司JAVA培训项目《电信宽带运营支撑系统(WOSS)》
  5. java 蓝桥杯 蚂蚁感冒
  6. Java培训出身,今获阿里Android岗offer,大专学渣的“登天”之路!
  7. 驾考题库API接口,免费好用
  8. 《速度与激情9》中有哪些槽点?
  9. linux下mysql可视化工具安装
  10. 店盈通:拼多多如何看到关键词进店?