where can I change the IP in the code from 192.168.4.1 to 192.168.8.1 on the esp32 web-interface ??
change the IP
change the IP
Hi,
where can I change the IP in the code from 192.168.4.1 to 192.168.8.1 on the esp32 web-interface ??
where can I change the IP in the code from 192.168.4.1 to 192.168.8.1 on the esp32 web-interface ??
- uhi22
- Posts: 950
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 143 times
- Been thanked: 535 times
Re: change the IP
This is not obvious. I found an answer here: https://www.esp8266.com/viewtopic.php?f=29&t=12124
So before the line with
WiFi.softAP(....)
add a line
WiFi.softAPConfig(apIP, IPAddress(192, 168, 8, 1), IPAddress(255, 255, 255, 0));
Not sure about the subnet mask, just copied the example.
So before the line with
WiFi.softAP(....)
add a line
WiFi.softAPConfig(apIP, IPAddress(192, 168, 8, 1), IPAddress(255, 255, 255, 0));
Not sure about the subnet mask, just copied the example.
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
Re: change the IP
I have the big problem on my esp32, that the firmware doesn't work, I don't have wifi (https://github.com/jsphuebner/esp32-web-interface)
but with this Firmware (https://github.com/Bedz01/esp32-web-interface-port), i have wifi, but no web interface, only when I access the wifisettings aka 192.168.4.1/wifi, I really don't know whats wrong here
but with this Firmware (https://github.com/Bedz01/esp32-web-interface-port), i have wifi, but no web interface, only when I access the wifisettings aka 192.168.4.1/wifi, I really don't know whats wrong here