My Raspberry Pi 3B+ is running on Ubuntu Server 18.04. I have it connected to my PC via ethernet dongle in link-local mode.
I tried adding a static IP on the Pi with netplan, but I couldn't connect at all. I'm getting a "no route to host" error.
network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
dhcp4: no
dhcp6: no
addresses: [169.254.2.14/24]
I used this same netplan on Ubuntu MATE 18.04 (running on Pi 3) which worked fine.
I can, however, connect through WiFi, but the problem is that my school's WiFi will make it impossible for me to SSH it via wireless.