问题 wget: bad address 'downloads.openwrt.org' wget: bad address 'downloads.openwrt.org' wget: bad address 'downloads.openwrt.org' wget: bad address 'downloads.openwrt.org' wget: bad address 'downloads.openwrt.org' wget: bad address 'downloads.openwrt.
有时候能ping同ip地址,却ping不通域名,这就是dns没有配置的缘故. 但是DNS配置文件 /etc/resolv.conf 每次重启就会失效. 打开这个配置文件,发现有注释提示: Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)# DO NOT EDIT THIS FILE BY HAND - YOUR CHANGES WILL BE OVERWRITTEN 原来系统已经提示我们不要手
安装完成Vm,Centos6.5,设置了网络: 1.VM虚拟网络,采用桥接模式. 2.Centos里各种 设置ifcfg-eth0中的GETWAY,ADDIP等等 vim /etc/sysconfig/network-scripts/ifcfg-eth0 设置network中的GETWAY,HOSTNAME, vim /etc/sysconfig/network 修改DNS vim /etc/resolv.conf 然后各种重启停用 网络 service network restart 系统 s