diff --git a/examples/network/sta2eth/README.md b/examples/network/sta2eth/README.md index 12e812d1f4..2665071dca 100644 --- a/examples/network/sta2eth/README.md +++ b/examples/network/sta2eth/README.md @@ -12,6 +12,8 @@ This example aims to demonstrate 1-1 bridge using WiFi station and one of these It also allows for reconfiguring WiFi settings using a virtual network in the Ethernet. The reconfiguration mode is initialized if the WiFi settings are not available, connection fails or manually by long pressing the Boot button (GPIO0). It is possible to configure WiFi settings (SSID and password) in a browser on a hostname `"http://wifi.settings"` or using unified provisioning. +Note: This page is intended solely for initial setup and is not recommended for production use, as it lacks any security measures—data is transmitted in plain text over HTTP. For secure, production-grade configuration, we recommend using the default option: unified provisioning. + ## How to use example This example could be used to *bring* wireless connectivity to devices that support only Ethernet (or USB Ethernet implemented as NCM device). diff --git a/examples/network/sta2eth/main/Kconfig.projbuild b/examples/network/sta2eth/main/Kconfig.projbuild index 7b85896e38..44b8c32b09 100644 --- a/examples/network/sta2eth/main/Kconfig.projbuild +++ b/examples/network/sta2eth/main/Kconfig.projbuild @@ -4,7 +4,7 @@ menu "Example Configuration" choice EXAMPLE_WIFI_CONFIGURATION prompt "WiFi configuration" - default EXAMPLE_WIFI_CONFIGURATION_MANUAL + default EXAMPLE_WIFI_CONFIGURATION_PROVISIONING help Choose how the WiFi settings should be configured. diff --git a/examples/network/sta2eth/main/manual_config.c b/examples/network/sta2eth/main/manual_config.c index e95d041822..ded7346c15 100644 --- a/examples/network/sta2eth/main/manual_config.c +++ b/examples/network/sta2eth/main/manual_config.c @@ -32,7 +32,8 @@ bool is_provisioned(void) static esp_err_t http_get_handler(httpd_req_t *req) { - const char page[] = "


\n" + const char page[] = "

WARNING: Configuring Wi-Fi credentials on this page is not secure

\n" + "

\n" "SSID:

\n" "Password:

\n" " "