How to setup networking so ping will work?
# ping -c 2
www.google.com
ping: unknown host
www.google.com
However, ping works with IP addresses.
# ping -c 2 64.233.161.99
PING 64.233.161.99 (64.233.161.99) 56(84) bytes of data.
64 bytes from 64.233.161.99: icmp_seq=1 ttl=239 time=38.1 ms
64 bytes from 64.233.161.99: icmp_seq=2 ttl=239 time=37.5 ms
--- 64.233.161.99 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 37.583/37.845/38.108/0.326 ms
Linux version 2.6.7-gentoo-r11