Hi all, I find that in my CentOS, which is installed in vmware, I can use yum to install software from Internet, and I can also ping websites, but I cannot download stuff using wget. I receive error msg unable to resolve host address ?xxxxx?. The IP address is 192.168.80.128, and this is the content of /etc/resolv.conf # Generated by NetworkManager domain localdomain search localdomain nameserver 192.168.80.2 I'd appreciate your help.
Hi. This is my first time helping out. I think you should add an entry into the hosts file. John On Jul 30, 2014 1:12 PM, "Theodore Si" <sjyzhxw at gmail.com> wrote:> Hi all, > > I find that in my CentOS, which is installed in vmware, I can use yum to > install software from Internet, and I can also ping websites, but I > cannot download stuff using wget. > I receive error msg unable to resolve host address ?xxxxx?. The IP > address is 192.168.80.128, and this is the content of /etc/resolv.conf > # Generated by NetworkManager > domain localdomain > search localdomain > nameserver 192.168.80.2 > > I'd appreciate your help. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
On Wed, 30 Jul 2014 13:11:24 +0800 Theodore Si wrote:> I find that in my CentOS, which is installed in vmware, I can use yum to > install software from Internet, and I can also ping websites, but I > cannot download stuff using wget. > I receive error msg unable to resolve host address ?xxxxx?. The IP > address is 192.168.80.128, and this is the content of /etc/resolv.conf > # Generated by NetworkManager > domain localdomain > search localdomain > nameserver 192.168.80.2ping 192.168.80.128 and/or traceroute 192.168.0.128 Does it work? wget http://192.168.80.128/whatever Does it work? wget yourname/whatever That apparently doesn't work. If the other do, then your problem is that there is no dns entry for 192.168.80.128 on your dns server located at 192.168.80.2 -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
try adding google dns 8.8.8.8 in resolv.conf On 7/30/14, Theodore Si <sjyzhxw at gmail.com> wrote:> Hi all, > > I find that in my CentOS, which is installed in vmware, I can use yum to > install software from Internet, and I can also ping websites, but I > cannot download stuff using wget. > I receive error msg unable to resolve host address ?xxxxx?. The IP > address is 192.168.80.128, and this is the content of /etc/resolv.conf > # Generated by NetworkManager > domain localdomain > search localdomain > nameserver 192.168.80.2 > > I'd appreciate your help. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
On 7/29/2014 10:11 PM, Theodore Si wrote:> nameserver 192.168.80.2is that a valid DNS server that knows how to look up the address you're trying to wget from? the wget command you're running, is it from a host on your local NAT network, or from a host on the public internet? -- john r pierce 37N 122W somewhere on the middle of the left coast