我使用了在网站上下载的arm64版本的相同镜像: https: //ubuntu.com/download/raspberry-pi。
由于pi3和pi4的下载链接是一样的,所以我下载了其中一张,刷写到2张SD卡,分别插入树莓派pi3B+和树莓派pi4B(4Gb型号)
我使用默认的 netplan 包来配置我的 WLAN 连接,配置文件位于 /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
eth0:
dhcp4: true
optional: true
wifis:
wlan0:
dhcp4: true
optional: true
access-points:
"XXXXX_5G":
password: "********"
Run Code Online (Sandbox Code Playgroud)
我在 pi3 和 pi4 上使用相同的配置,但 pi4 上的 WIFI 无法工作,ip …