updated README with hotspot config

This commit is contained in:
Djeeberjr 2025-05-13 17:26:00 +02:00
parent 64a50d434b
commit 0f7fdfa222
2 changed files with 4 additions and 1 deletions

View File

@ -15,3 +15,6 @@ Environment variables:
- `LOG_LEVEL`: Can be set to either "debug","warn","error","trace" or "info". Defaults to "warn" in production. - `LOG_LEVEL`: Can be set to either "debug","warn","error","trace" or "info". Defaults to "warn" in production.
- `HTTP_PORT`: What port to listen on. Defaults to 80. - `HTTP_PORT`: What port to listen on. Defaults to 80.
- `HOTSPOT_IDS`: A semicolon seperated list of ids to activate the hotspot with e.g. `578B5DF2;c1532b57`. - `HOTSPOT_IDS`: A semicolon seperated list of ids to activate the hotspot with e.g. `578B5DF2;c1532b57`.
- `HOTSPOT_SSID`: Set the hotspot ssid. Defaults to "fwa".
- `HOTSPOT_PW`: Set the hotspot password. Default to "a9LG2kUVrsRRVUo1". Recommended to change.

View File

@ -8,7 +8,7 @@ use tokio::process::Command;
const SSID: &str = "fwa"; const SSID: &str = "fwa";
const CON_NAME: &str = "fwa-hotspot"; const CON_NAME: &str = "fwa-hotspot";
const PASSWORD: &str = "hunter22"; const PASSWORD: &str = "a9LG2kUVrsRRVUo1";
const IPV4_ADDRES: &str = "192.168.4.1/24"; const IPV4_ADDRES: &str = "192.168.4.1/24";
#[derive(Debug)] #[derive(Debug)]