So I have a Pi3 (Jessie) with some of my own software on it, its at home now and happily connected to my wifi, but Im going to need to travel with it and show the software on the Pi to others.
I have VNC and SSH on my Win 10 laptop, and I have VNC and SSH enabled on the Pi. I am running into trouble with networking, for my software to work it must be able to reach the internet and I want to plug the Pi into the laptop via Ethernet, and have the Pi reach the internet via the Laptop WiFi so when Im out and about I only need to manage WiFi access on the Laptop.
I have seen numerous guides to acheive this, but they just arent working.
Problem 1: Plugging the Pi into the laptop does not put the Pi on the same subnet as the laptop, Laptop is 192.168.137.1 255.255.255.0 and Pi is 169.254.72.93 255.255.0.0.
Tried setting a static ip in /etc/dhcpcd.conf and it kind of worked (I could SSH) but the Win10 Laptop didnt recognise the network.
Problem 2: Even with the static IP on the Pi, the laptop does not share its WiFi connection with the Pi. I think the cause is that the Ethernet connection on the Laptop is marked as Public, I tried resetting it to Private, but it reverts (Im guessing becasue the Ethernet connection is unrecognised).
EDIT: As soon as the Pi is plugged into the Laptop via Ethernet, the Pi cannot resolve any hosts on the internet, unplug the Ethernet cable and the Pi connects to internet over WiFi without issues.
ICS is set on the Laptop