Table of Contents

Booting wifi-enabled linux on ESP32s3

Script that builds and flashes everything: https://github.com/jcmvbkbc/esp32-linux-build/blob/master/rebuild-esp32s3-linux-wifi.sh

What can be done after booting:

Joining open network

# ip link set espsta0 up
# iw dev espsta0 connect <ssid>
# udhcpc -i espsta0

Joining WPA2 network

# ip link set espsta0 up
# cat > /tmp/ws.conf <<EOF
network={
        ssid="ssid-name"
        psk="password"
}
EOF
# wpa_supplicant -i espsta0 -c /tmp/ws.conf &
# udhcpc -i espsta0

Alternatively conf file may be generated with the wpa_passphrase program.