Skip to content

Commit

Permalink
Change EP default IP address
Browse files Browse the repository at this point in the history
  • Loading branch information
0xchocolate committed Feb 11, 2024
1 parent 0b0247f commit 23015fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp32_marauder/EvilPortal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,13 @@ bool EvilPortal::setAP(LinkedList<ssid>* ssids, LinkedList<AccessPoint>* 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
Expand Down

0 comments on commit 23015fe

Please sign in to comment.