I managed to set up static IP for my RPi3 for wlan0 following this Instructable. I used this technique for VNC.
I want to connect my RPi3 to my Mac over Ethernet to USB Cable and start VNC session. But I can not connect RPi3 to my Mac for a reason.
I added code after the result of this command
sudo nano /etc/dhcpcd.conf
interface eth0 inform 192.168.0.45 static routers=192.168.0.1 static domain_name_servers=126.96.36.199
Though the Ethernet to USB Cable is connected to my Mac, it doesnt seem to be detected by the settings am i missing something? I have to mention that the cable is 100% working.(I can open VNC sessions over ethernet ip when I have wifi turned on the RPi).
My purpose is to VNC to RPi3 without using Internet.
Am I missing something through the USB set up? I think there is something that has to do with