Oh a little bit of skill does not understand the principle can private chat himself.
Ping www.baidu.com
Ping:unknown Host Www.baidu.com
Vim/etc/resolv.conf
NameServer 8.8.8.8
Ping 8.8.8.8
* Network Unreachable
Ifconfig eth0 192.168.1.235 up
Ping 8.8.8.8
Ifconfig eth0 192.168.1.235 netmask 255.255.255.0 up
Ping 8.8.8.8
Route add default GW 192.168.1.1
Ping 8.8.8.8
Ping baidu.com
PING www.a.shifen.com (61.135.169.121) bytes of data.
Bytes from 61.135.169.121:icmp_seq=1 ttl=56 time=3.90 ms
Bytes from 61.135.169.121:icmp_seq=2 ttl=56 time=3.05 ms
Bytes from 61.135.169.121:icmp_seq=3 ttl=56 time=3.93 ms
Bytes from 61.135.169.121:icmp_seq=4 ttl=56 time=48.4 ms
Bytes from 61.135.169.121:icmp_seq=5 ttl=56 time=19.5 ms
Bytes from 61.135.169.121:icmp_seq=6 ttl=56 time=5.08 ms
Bytes from 61.135.169.121:icmp_seq=7 ttl=56 time=5.55 ms
Bytes from 61.135.169.121:icmp_seq=8 ttl=56 time=6.04 ms
Bytes from 61.135.169.121:icmp_seq=9 ttl=56 time=2.42 ms
Bytes from 61.135.169.121:icmp_seq=10 ttl=56 time=2.12 ms
This article is from the "lake and Laughter" blog, please make sure to keep this source http://hashlinux.blog.51cto.com/9647696/1766379
The simplest way to Ping:unknown host www.baidu.com