I am connected to my Pi (having static IP ) through my Laptop running win7 and has enabled internet connection sharing (ICS) to provide internet to Pi. While "ping 18.104.22.168." is working on my Pi, I am unable to ping google.com or ping -c3 google.com. I checked the /etc/resolv.conf file but it has this entry "# Generated by resolvconf".
Then I added nameserver 22.214.171.124 to the resolv.conf file and after that ping google.com started working. But, when I reboot my system it's back to the same state. What to do?
Also, after reading few articles on internet I just removed resolvconf and surprisingly the issue got fixed? This issue I am facing with Raspberry Pi 2 and latest Raspbian OS. Previously it has all worked well this way