[wireless - Trouble setting up wifi, daemon failed to start - Raspberry Pi Stack Exchange](https://raspberrypi.stackexchange.com/questions/67556/trouble-setting-up-wifi-daemon-failed-to-start)
[树莓派 Raspberry Pi 设置无线上网 | 树莓派实验室 (nxez.com)](https://shumeipai.nxez.com/2016/09/17/raspberry-pi-set-up-a-wireless-internet-access.html#:~:text=%E6%8A%8A%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1%E6%8F%92%E5%88%B0%E6%A0%91%E8%8E%93%E6%B4%BE%E4%B8%8A%EF%BC%8C%E8%BE%93%E5%85%A5%E5%91%BD%E4%BB%A4ifconfig,-a%E6%9F%A5%E7%9C%8B%E6%98%AF%E5%90%A6%E6%9C%89wlan0%E7%9A%84%E4%BF%A1%E6%81%AF%EF%BC%8C%E5%A6%82%E6%9E%9C%E6%9C%89%E8%AF%B4%E6%98%8E%E7%BD%91%E5%8D%A1%E7%8A%B6%E6%80%81%E6%AD%A3%E5%B8%B8%EF%BC%8C%E5%8F%AF%E4%BB%A5%E8%B7%B3%E8%BF%87%E7%AC%AC%E4%BA%8C%E6%AD%A5%EF%BC%8C%E7%9B%B4%E6%8E%A5%E9%85%8D%E7%BD%AE%E6%97%A0%E7%BA%BF%E7%BD%91%E7%BB%9C%E3%80%82%20%E5%A6%82%E6%9E%9C%E6%9F%A5%E4%B8%8D%E5%88%B0wlan0%E7%9A%84%E4%BF%A1%E6%81%AF%EF%BC%8C%E5%88%99%E9%9C%80%E8%A6%81%E5%AE%89%E8%A3%85%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1%E7%9A%84%E9%A9%B1%E5%8A%A8%E3%80%82)
```
wpa_passphrase xxxx xxxxx | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf
```
```
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
iface default inet dhcp
wpa-ssid "xxxxxxx"
wpa-psk "xxxxxx"
```
##### ifup连接wifi报错
[wireless - Trouble setting up wifi, daemon failed to start - Raspberry Pi Stack Exchange](https://raspberrypi.stackexchange.com/questions/67556/trouble-setting-up-wifi-daemon-failed-to-start)
##### 恶性bug
基于Debian11的Raspberry Pi OS Lite系统在开启相机后无法启动,尝试Legecy系统,换成butter后bug消失