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.
openssh-server
in the computer you want as server and connect to it from the other one. You should also check that there is a network connection, and that you allow connecting (through the firewall). – sudodus Feb 02 '19 at 12:34openssh-server
– YamiYukiSenpai Feb 02 '19 at 21:13