Install Ubuntu Server on Raspberry Pi: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 29: Line 29:
</source>
</source>


==SSH Ready==
==Upgrade==
  apt update
  apt update
  apt list --installed
  apt list --installed; apt upgrade
apt install net-tools


apt upgrade
==SSH Server==
apt install net-tools
  apt install ssh
  apt install ssh



Revision as of 01:32, 28 March 2021

Network

ls -lah /Volumes/system-boot/|grep network-config
cat <<EOF > /Volumes/system-boot/network-config
version: 2
renderer: networkd
wifis:
  wlan0:
  dhcp4: true
  dhcp6: true
  optional: true
  access-points:
    "ChorkeOrg_2.4GHz":
      password: "medisys@bd/0A"
EOF
ls -lah /Volumes/system-boot/|grep user-data
cat <<EOF > /Volumes/system-boot/user-data
chpasswd:
  expire: true
  list:
  - ubuntu:ubuntu
ssh_pwauth: true
power_state:
  mode: reboot
EOF

Upgrade

apt update
apt list --installed; apt upgrade
apt install net-tools

SSH Server

apt install ssh

Uninstall

apt remove --purge libreoffice*
apt clean; apt autoremove

Knowledge

# mac or linux os
apt install net-tools
arp -na | grep -i "b8:27:eb"
arp -na | grep -i "dc:a6:32"

# windows os
arp -a | findstr b8-27-eb
arp -a | findstr dc-a6-32

References