Linux

[Linux] Raspberry PI 4 Model B - Ubuntu 20.04 Focal 설치 및 Wifi 설정

reidlo 2023. 5. 26. 14:04

1. Ubuntu 20.04 Focal 설치

1-1. Raspberry PI Generic (64-bit ARM) preinstalled server image download

사이트 접속

1-2. Raspberry PI Imager 설치

sudo apt install raspi-imager

1-3. SD Card에 Raspberry PI Generic (64-bit ARM) preinstalled server image Write

- Raspberry PI Imager 열기

raspi-imager

 

- SD Card Select 후 Write

( Raspberry PI 4 Model B에 SD Card 삽입 후 전원 공급 )

 

2. Wifi 설정

2-1. sudo vi /etc/netplan/50-cloud-init.yaml

network:
    version: 2
    ethernets:
        eth0:
            dhcp4: true
            optional: true
    wifis:
        wlan0:
            optional: true
            access-points:
                "MyWiFi":
                    password: "MyPassword"

2-2. netplan 적용

sudo netplan apply

2-3. wifi 연결 확인

ip addr show wlan0