1.连接wifi,在Ubuntu Server中使用netplan连接
$ sudo vim /etc/netplan/50-cloud-init.yaml //末尾添加,注意缩进使用空格,wifis:前有缩进wifis:wlan0:dhcp4: trueaccess-points:"wlan-name":password: "password here"$ sudo netplan --debug apply
2.树莓派换源
$ sudo sed -i 's/ports.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
3.开启ssh
$ sudo apt search openssh-server$ sudo apt install opessh-client openssh-server$ sudo dpkg-reconfigure openssh-server$ sudo service ssh restart$ sudo service ssh status$ sudo systemctl enable ssh
