My laptop is connected to the pi through the ethernet port.
And my laptop is connected to the internet through wifi.
I am able to ssh into the pi from the laptop without any problems.
But once I ssh into the pi, I'm not able to ping google or yahoo.
I am using raspbian on the pi.
Here are my config details
Laptop ethernet interface config
ipv4 settings method is "Link-Local Only"
ip 169.254.8.225
broadcast 169.254.255.255
mask 255.255.0.0
Laptop wifi interface config
ipv4 settings method is "Shared to other computers"
ip 192.168.0.103
broadcast 192.168.0.255
mask 255.255.255.0
default route 192.168.0.1
primary dns 192.168.0.1
Pi ethernet interface config in (/etc/network/interfaces)
auto lo
iface lo inet loopback
iface eth0 inet dhcp
netmask 255.255.0.0
gateway 169.254.8.225
broadcast 169.254.255.255
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /ec/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
These are my config details. Am I making a mistake somewhere? Because even after doing all this I am still not able to ping...say google or yahoo from the pi.
On the pi, if I do ping google.com
I get ping: unknown host google.com
ping 8.8.8.8
and see the results?