wpa_supplicant.conf syntax error?

May 6, 2024, 20:30

n9tro

My pi does not connect to wifi for some reason, i suspect the wpa_supplicant.conf file in the root directory of the sd card is malformatted: wpa_supplicant.conf
country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
    scan_ssid=1
    ssid="my ssid"
    psk="my pass"
}

oops.se

Depending on OS version wpa supplicant isn't used any more, so what OS version do you have?

n9tro

Yeah i figured it out, i was on the latest which didnt support it 🙂

oops.se

Nice that you solved it. And in the FAQ section you can see howw you do it in Bookworm wwith nmcli.