From 23015fe49e15b6bfd21138bd4c53b7a56dcadcb7 Mon Sep 17 00:00:00 2001 From: 0xchocolate <109879152+0xchocolate@users.noreply.github.com> Date: Sun, 11 Feb 2024 10:37:08 -0800 Subject: [PATCH] Change EP default IP address --- esp32_marauder/EvilPortal.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esp32_marauder/EvilPortal.cpp b/esp32_marauder/EvilPortal.cpp index 44fa7af68..b17d0afaf 100644 --- a/esp32_marauder/EvilPortal.cpp +++ b/esp32_marauder/EvilPortal.cpp @@ -234,10 +234,13 @@ bool EvilPortal::setAP(LinkedList* ssids, LinkedList* access_ } void EvilPortal::startAP() { + const IPAddress AP_IP(172, 0, 0, 1); + Serial.print("starting ap "); Serial.println(apName); WiFi.mode(WIFI_AP); + WiFi.softAPConfig(AP_IP, AP_IP, IPAddress(255, 255, 255, 0)); WiFi.softAP(apName); #ifdef HAS_SCREEN