Ubuntu 20.04 LTS 64 on a Raspberry Pi 4



Install Ubuntu Server on a Raspberry Pi 2, 3 or 4

https://ubuntu.com/download/raspberry-pi

Scan your LAN to find the IP then SSH

ssh -p 22 [email protected]
Password is ubuntu



Set Time zone:
dpkg-reconfigure tzdata

Configure your advanced network:
If using Netplan: https://netplan.io/examples

If using NetworkManager:

apt install network-manager

nmtui


If you get the error:
Connection is not available on device eth0 because device is strictly unmanaged

find related config files of interest:
grep -r eth0 /etc/

Comment out everything, or delete file:
vi /etc/netplan/50-cloud-init.yaml

vi /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
# Set and change netplan renderer to NetworkManager GUI tool
network:
  version: 2
  renderer: NetworkManager


reboot




root@rpi4-ubuntu:~# grep -r eth0 /etc/
/etc/initramfs-tools/initramfs.conf:# Specify a specific network interface, like eth0
/etc/NetworkManager/system-connections/eth0 no VLAN.nmconnection:id=eth0 no VLAN
/etc/NetworkManager/system-connections/eth0 no VLAN.nmconnection:interface-name=eth0
/etc/NetworkManager/system-connections/VLAN connection 1.nmconnection:interface-name=eth0.5
/etc/NetworkManager/system-connections/VLAN connection 1.nmconnection:parent=eth0
/etc/dhcp/dhclient.conf:#  interface "eth0";
/etc/dhcp/dhclient.conf:#  interface "eth0";
/etc/netplan/50-cloud-init.yaml:#        eth0:
root@rpi4-ubuntu:~#



Thanks

No comments: