[GH-ISSUE #1822] No static IP after reboot #1533

Closed
opened 2026-02-28 01:30:26 +03:00 by kerem · 2 comments
Owner

Originally created by @Sefan1980 on GitHub (Jun 18, 2025).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1822

I entered the SSID, password, static IP, gateway, and subnet mask in the captive portal. After confirmation, the ESP32 starts with the correct IP address. However, after a restart, a different IP address is assigned.

What's wrong?

Originally created by @Sefan1980 on GitHub (Jun 18, 2025). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1822 I entered the SSID, password, static IP, gateway, and subnet mask in the captive portal. After confirmation, the ESP32 starts with the correct IP address. However, after a restart, a different IP address is assigned. What's wrong?
kerem closed this issue 2026-02-28 01:30:26 +03:00
Author
Owner

@tablatronix commented on GitHub (Jun 18, 2025):

Static ip is not saved by esp persistent, you have to save it and restore
it like custom params

On Wed, Jun 18, 2025 at 3:26 PM Sefan1980 @.***> wrote:

Sefan1980 created an issue (tzapu/WiFiManager#1822)
https://github.com/tzapu/WiFiManager/issues/1822

I entered the SSID, password, static IP, gateway, and subnet mask in the
captive portal. After confirmation, the ESP32 starts with the correct IP
address. However, after a restart, a different IP address is assigned.

What's wrong?


Reply to this email directly, view it on GitHub
https://github.com/tzapu/WiFiManager/issues/1822, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGFG2ZH5KYY5QOEO5MWGWL3EHDO7AVCNFSM6AAAAAB7UD6H3GVHI2DSMVQWIX3LMV43ASLTON2WKOZTGE2TQMBXGQZDAMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

<!-- gh-comment-id:2985956954 --> @tablatronix commented on GitHub (Jun 18, 2025): Static ip is not saved by esp persistent, you have to save it and restore it like custom params On Wed, Jun 18, 2025 at 3:26 PM Sefan1980 ***@***.***> wrote: > *Sefan1980* created an issue (tzapu/WiFiManager#1822) > <https://github.com/tzapu/WiFiManager/issues/1822> > > I entered the SSID, password, static IP, gateway, and subnet mask in the > captive portal. After confirmation, the ESP32 starts with the correct IP > address. However, after a restart, a different IP address is assigned. > > What's wrong? > > — > Reply to this email directly, view it on GitHub > <https://github.com/tzapu/WiFiManager/issues/1822>, or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAGFG2ZH5KYY5QOEO5MWGWL3EHDO7AVCNFSM6AAAAAB7UD6H3GVHI2DSMVQWIX3LMV43ASLTON2WKOZTGE2TQMBXGQZDAMI> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@Sefan1980 commented on GitHub (Jun 19, 2025):

Thanks, i found an example (examples/Parameters/SPIFFS/AutoConnectWithFSParametersAndCustomIP)
I found everything i needed in this example.

I'm not a pro and it was a littlebit hard for me, but it works very good!

Thank you!

<!-- gh-comment-id:2987742635 --> @Sefan1980 commented on GitHub (Jun 19, 2025): Thanks, i found an example (examples/Parameters/SPIFFS/AutoConnectWithFSParametersAndCustomIP) I found everything i needed in this example. I'm not a pro and it was a littlebit hard for me, but it works very good! Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1533
No description provided.