64-bit from the following link.
Write the image by
Raspberry Pi Imager
You can download Raspberry Pi Imager here
Writing steps are very simple.
- open Raspberry Pi Imager
- Operating System -->
- Storage --> Select your microSD card
Connect your MicroSD to your mac and open
There is a file,
network-config and open it by an editor.
MY_PASSWORD to your wifi settings.
version: 2 ethernets: eth0: dhcp4: true optional: true wifis: wlan0: dhcp4: true optional: true access-points: "MY_WIFI": password: "MY_PASSWORD"
user-data and check
# On first boot, set the (default) ubuntu user's password to "ubuntu" and # expire user passwords chpasswd: expire: true list: - ubuntu:ubuntu # Enable password authentication with the SSH daemon ssh_pwauth: true
Search your localnet work to find out your raspberry pi's ip address.
In my case, I used arp-scan.
# install arp-scan via homebrew $ brew install arp-scan # scan localnet $ sudo arp-scan --localnet
$ ssh ubuntu@raspberrypi_ip_address # password is ubuntu