在Raspberry Pi 3上安裝的Ubuntu 20.04,需要設定多組Wifi帳密。方法是修改 /etc/netplan/50-cloud-init.yaml 這個檔案如下:
network:
version: 2
wifis:
renderer: networkd
wlan0:
access-points:
"The First SSID":
password: "Password for 1st SSID"
"The Second SSID":
password: "Passowrd for the 2nd SSID"
nameservers:
addresses: [1.1.1.1, 101.101.101.101]
optional: true
完成修改後依序用下面兩個指令檢查與套用Wifi網路設定即可:
- sudo netplan try
- sudo netplan apply
相關資料
- 只要一台樹莓派,使用iPhone熱點不斷線:寫這篇多組Wifi連線的理由
- Set multiple wifi access points in Ubuntu 20.04
- Ubuntu 18.04啟動後有線網路不通:原來18.04就有在用netplan設定網路了,這篇也是系統安裝在USB隨身碟上面
_EOF_
Dark Sci-Fi, the meaning of life
Negative prompt: People, soldier
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1130757294, Size: 512x256, Model hash: fc2511737a, Model: chilloutmix_NiPrunedFp32Fix, Version: v1.6.0-2-g4afaaf8a
Time taken: 5.5 sec.
沒有留言:
張貼留言