Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-08-01 Thread Guy Harrison
On Wednesday 30 July 2014 15:40:56 Theodore Si wrote:
 But how? Could you be more specific?
 I am using NAT to connect my virtual machine to the Internet.

We need more information off you. What kind of vmware? What host platform? 
What Centos? What is your exact 'wget' command  failure message?

It may be a vmware problem in which case you may need to ask there. However 
(iirc) vmnet0 (bridged), vmnet1 (host-only) and vmnet8 (nat) are common 
psuedo network devices installed. Nat should work out of the box but note 
is effectively using whatever DNS is configured for the host.

However, the fact other tools work, would, in the first instance, imply a 
problem with 'wget' usage.


 于2014年7月30日 22:39:04,Devin Reade写到:
  On Jul 29, 2014, at 23:47, Gopu Krishnan gopukrishnan...@gmail.com
  wrote:
 
  try adding google dns
  8.8.8.8
  in resolv.conf
 
  His IP is in private address space; google nameservers won't help. The
  correct answer is to fix his local DNS config.
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-08-01 Thread Theodore Si
I am using CentOS 6.5, Vmware 10.0.3

It's working now. I have no idea why, since I didn't change anything.


于2014年8月1日 19:06:03,Guy Harrison写到:

 On Wednesday 30 July 2014 15:40:56 Theodore Si wrote:

 But how? Could you be more specific?
 I am using NAT to connect my virtual machine to the Internet.


 We need more information off you. What kind of vmware? What host 
 platform?
 What Centos? What is your exact 'wget' command  failure message?

 It may be a vmware problem in which case you may need to ask there. 
 However
 (iirc) vmnet0 (bridged), vmnet1 (host-only) and vmnet8 (nat) are common
 psuedo network devices installed. Nat should work out of the box but note
 is effectively using whatever DNS is configured for the host.

 However, the fact other tools work, would, in the first instance, imply a
 problem with 'wget' usage.



 于2014年7月30日 22:39:04,Devin Reade写到:


 On Jul 29, 2014, at 23:47, Gopu Krishnan gopukrishnan...@gmail.com
 wrote:

 try adding google dns
 8.8.8.8
 in resolv.conf


 His IP is in private address space; google nameservers won't help. The
 correct answer is to fix his local DNS config.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-31 Thread Shital Sakhare
Hello again..

you can  use the Subnet IP to 192.168.0 and Mask to 255.255.255.0 into the
NAT setting of Virtual Network Editor provided by vmware.


On Thu, Jul 31, 2014 at 4:55 PM, Shital Sakhare shital.sakha...@gmail.com
wrote:

 Hello,

 PFA. This may resolve your issue. Because this settings works for me
 everytime.


 On Wed, Jul 30, 2014 at 10:41 AM, Theodore Si sjyz...@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 “x”. 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@centos.org
 http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread Devin Reade


 On Jul 29, 2014, at 23:47, Gopu Krishnan gopukrishnan...@gmail.com wrote:
 
 try adding google dns
 8.8.8.8
 in resolv.conf

His IP is in private address space; google nameservers won't help. The correct 
answer is to fix his local DNS config. 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread Theodore Si
But how? Could you be more specific?
I am using NAT to connect my virtual machine to the Internet.

于2014年7月30日 22:39:04,Devin Reade写到:


 On Jul 29, 2014, at 23:47, Gopu Krishnan gopukrishnan...@gmail.com wrote:

 try adding google dns
 8.8.8.8
 in resolv.conf

 His IP is in private address space; google nameservers won't help. The 
 correct answer is to fix his local DNS config.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread Johnny Hughes
On 07/30/2014 09:40 AM, Theodore Si wrote:
 But how? Could you be more specific?
 I am using NAT to connect my virtual machine to the Internet.
 

What is the exact commend you are using that is not working?

192.168.80.128 is not a normal address, it is what is called an Internal
address.  See this link concerning 192.168 branch:

http://en.wikipedia.org/wiki/Private_network

You would need SOMETHING to relate a name to that address, either in a
host file or someone would need to add the name to your DNS.

Thanks,
Johnny Hughes

 于2014年7月30日 22:39:04,Devin Reade写到:


 On Jul 29, 2014, at 23:47, Gopu Krishnan gopukrishnan...@gmail.com wrote:

 try adding google dns
 8.8.8.8
 in resolv.conf

 His IP is in private address space; google nameservers won't help. The 
 correct answer is to fix his local DNS config.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread John R Pierce
On 7/29/2014 10:11 PM, Theodore Si wrote:
 nameserver 192.168.80.2

is 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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread Theodore Si
I tried to wget the google homepage, and It worked... So confused
On Jul 31, 2014 2:02 AM, John R Pierce pie...@hogranch.com wrote:

 On 7/29/2014 10:11 PM, Theodore Si wrote:
  nameserver 192.168.80.2

 is 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

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread John Hoe
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 sjyz...@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 “x”. 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@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread Frank Cox
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 “x”. 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

ping 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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread Gopu Krishnan
try adding google dns
8.8.8.8
in resolv.conf

On 7/30/14, Theodore Si sjyz...@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 “x”. 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@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread Hal Wigoda
And what does that do?


(Sent from iPhone, so please accept my apologies in advance for any spelling or 
grammatical errors.)

 On Jul 30, 2014, at 12:47 AM, Gopu Krishnan gopukrishnan...@gmail.com wrote:
 
 try adding google dns
 8.8.8.8
 in resolv.conf
 
 On 7/30/14, Theodore Si sjyz...@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 “x”. 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@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos