Hi
Thanks in Advance
Am using Rapsberry Pi2 with Raspbian Debian Wheezy OS, configured the network as static with my LAN Connection and accessing pi2 by Putty. I tried to ping google.com, am getting the following response
pi@raspberrypi ~ $ ping google.com
ping: unknown host google.com
but if ping with IP Address, it is working. I tried with browser in pi2, google.com is not working whereas IP is working in browser.
pi@raspberrypi ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:81:d6:48
inet addr:192.168.1.141 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1542 errors:0 dropped:0 overruns:0 frame:0
TX packets:529 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:127751 (124.7 KiB) TX bytes:103054 (100.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:316 errors:0 dropped:0 overruns:0 frame:0
TX packets:316 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25456 (24.8 KiB) TX bytes:25456 (24.8 KiB)
I don't know why the internet connection is not working, when am using hostname, Because of this, i couldn't get apt-get update, apt-get install, wget- ....
Pl Help