Results 1 to 10 of 17
- I have installed CentOS 6 to VMWare 8 to learn something.. But that i don't have wget so i type: yum install wget. And an error appear.
Code:
14 ...
- 12-23-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 11
[SOLVED][CentOS 6] 14 pycurl error 6 couldn't resolve host
- I have installed CentOS 6 to VMWare 8 to learn something.. But that i don't have wget so i type: yum install wget. And an error appear.
*I don't have wget...Code:14 pycurl error 6 couldn't resolve host.
I hope everyone help me to solve this problemLast edited by Dias; 12-23-2011 at 11:12 PM.
- 12-23-2011 #2
The VM either has no valid nameserver defined or it cannot be reached.
What is the content of
/etc/resolv.conf
and which type of networking did you choose for this VM?
NAT, bridged, host-only,...?You must always face the curtain with a bow.
- 12-23-2011 #3Just Joined!
- Join Date
- Dec 2011
- Posts
- 11
- Network: Bridged
- here is my resolv.conf file
Code:nameserver 8.8.8.8 nameserver 8.8.4.4 search localhost
- 12-23-2011 #4
Ok, these are the google nameservers.
Free to use, but google essentially knows where you go and when on the net.
What happens if you send requests to them?
This should happen:
Code:$ host www.ibm.com 8.8.8.8 Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases: www.ibm.com is an alias for www.ibm.com.cs186.net. www.ibm.com.cs186.net has address 129.42.58.216
You must always face the curtain with a bow.
- 12-23-2011 #5Just Joined!
- Join Date
- Dec 2011
- Posts
- 11
Code:ping google.com ping: unknown host google.com
- 12-23-2011 #6
1) diagnose
2) fix

I have no idea yet, what´s wrong. Hence the questions.
Maybe the vm has a wrong or missing default gw,
maybe a fw is in the way,
etcYou must always face the curtain with a bow.
- 12-23-2011 #7
hmm, can you ping the IPs?
You must always face the curtain with a bow.
- 12-23-2011 #8Just Joined!
- Join Date
- Dec 2011
- Posts
- 11
- I can ping Lan IP and:
Ping take a long time...Code:ping 46.4.147.87 PING 46.4.147.87 (46.4.147.87) 56(84) bytes of data
- 12-23-2011 #9
Ping has a statistic in the end.
How many percent packet loss do you have, if at all?
But actually I meant: Can you ping the google nameserver IPs?
Code:$ ping -c 5 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=50 time=13.6 ms 64 bytes from 8.8.8.8: icmp_req=2 ttl=51 time=13.0 ms 64 bytes from 8.8.8.8: icmp_req=3 ttl=50 time=12.9 ms 64 bytes from 8.8.8.8: icmp_req=4 ttl=51 time=13.6 ms 64 bytes from 8.8.8.8: icmp_req=5 ttl=51 time=13.0 ms --- 8.8.8.8 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 12.931/13.275/13.693/0.326 ms
You must always face the curtain with a bow.
- 12-23-2011 #10Just Joined!
- Join Date
- Dec 2011
- Posts
- 11
That is all the system replyCode:PING 46.4.147.87 (46.4.147.87) 56(84) bytes of data
I think i can ping 8.8.8.8
One line and it stop...Code:PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data


Reply With Quote