I have a windows computer connected wirelessly to router and connected to Raspberry Pi (Raspbian Linux) with LAN cable. I need to connect to PPPOE connection and enter my credentials to connect to internet with windows computer and that works fine. But I need to connect to Raspberry Pi to internet through my Windows computer internet connection. I followed some tutorials but can't manage this to work.
1) I set static IP on my windows computer ethernet connection (192.168.0.1)
2) I shared my PPPOE connection on windows computer
3) I edited /etc/network/interfaces to look like this:
auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 dns-nameservers 192.168.0.1 dns-search 192.168.0.1
And I can't get internet connection on Raspberry Pi. I can ping my windows computer from raspberry and other other way round but i cant ping google.com or open any internet site... What am I missing?