Ubuntu 18.04 netplan.io "알 수 없는 키" 오류

Ubuntu 18.04 netplan.io "알 수 없는 키" 오류

Ubuntu 20.04가 있고 네트워크 계획 구성은 /etc/netplan/10-my-config.yaml다음과 같습니다.

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    eth0:
      dhcp4: true
      optional: true
  wifis:
    wlan0:
      dhcp4: true
      optional: true
      access-points:
        "Raspberry":
          password: "your password here"
          mode: ap

(에서:https://raspberrypi.stackexchange.com/questions/109425/ubuntu-server-18-wifi-hotspot-setup/109427#109427?newreg=f5a4d31ada7549b1a6d5cc4dbb3fd294- 거기에 댓글을 달았을 텐데 그러려면 평판이 50이 필요한 것 같네요...)

오류가 발생합니다.Error in network definition: unknown key 'wlan0'

검색해 보니 이 질문에 대한 답변은 모두 넷플랜 버전이 너무 오래됐다고 나와 있습니다. 하지만 내 버전은 0.101-0ubuntu3 20.04.2이므로 최신 버전입니다.

누구든지 이 오류를 해결하도록 도와줄 수 있나요?

관련 정보