📜  树莓派如何将多个网络添加到无头 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:09.493000             🧑  作者: Mango

代码示例1
//Follow the instructions from the raspberry pi website and just literally add another
// network below the one you just added :)
// https://www.raspberrypi.org/documentation/configuration/wireless/headless.md

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="SCHOOLS NETWORK NAME"
    psk="SCHOOLS PASSWORD"
    id_str="school"
}

network={
    ssid="HOME NETWORK NAME"
    psk="HOME PASSWORD"
    id_str="home"
}