mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1580] IP,GetWay and SubNetMask set to :0.0.0.0 #1349
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1349
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mehdi-Dehghan on GitHub (Apr 2, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1580
PLEASE TRY Latest Master BRANCH before submitting bugs, in case they were already fixed.
Issues without basic info will be ignored or closed!
Please fill the info fields, it helps to get you faster support ;)
if you have a stack dump decode it:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.rst
for better debug messages:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32: ESP32
Hardware: ESP32 240MHz, 520KB RAM, 4MB Flash
Core Version: 2.0.15-rc.1
Description
Problem description
Settings in IDE
Module: ESP32-DevKitC
Additional libraries:
Sketch
Debug Messages
STA IP set:0.0.0.0
STA GetWay set:0.0.0.0
STA SubNetMask set:0.0.0.0
messages here
Hi
I tried to set IP, GetWay, subnetmask and also SSID, Password in portal. but All IP's set to 0.0.0.0
How can I cope this issue?
Thanks in advance
@tablatronix commented on GitHub (Apr 2, 2023):
Show me your variables for ips
@Mehdi-Dehghan commented on GitHub (Apr 3, 2023):
Thanks for your reply.
this is my complete code:
@tablatronix commented on GitHub (Apr 3, 2023):
And if you uncomment these? what happens?
you know you have to save these somewhere right? ESP does not
@Mehdi-Dehghan commented on GitHub (Apr 3, 2023):
I uncommented and in portal showed those IPs. but when I changed in portal (192.168.4.1 adress) to another things they were still fixed:
@tablatronix commented on GitHub (Apr 4, 2023):
hmm, I think you will need to reconnect to apply the new ip. But they will be gone again if you reboot, you will have to save them in flash(littelfs) and load on boot
@Mehdi-Dehghan commented on GitHub (Apr 4, 2023):
I did several times (reconnect & save in flash). but that still has this issue.
I tried to change IPs!
OutPut:
@Mehdi-Dehghan commented on GitHub (Apr 4, 2023):
I like to say, befor using ESP32, I used ESP8266 and it hadn't any problem and worked well!
@tablatronix commented on GitHub (Apr 4, 2023):
Ok let me look at that full code thanks
@tablatronix commented on GitHub (Apr 4, 2023):
Ok why is your connection failing though? Looks like wrong password
@tablatronix commented on GitHub (Apr 4, 2023):
There is something else going on here,
[ 38365][V][WebServer.cpp:296] handleClient(): New client: client.localIP()=0.0.0.0Let me figure out wtf is going on, looks like an esp bug
@tablatronix commented on GitHub (Apr 4, 2023):
oh I was stuck on tasmotas esp32 , had to force remove my platofrm in pio
@tablatronix commented on GitHub (Apr 5, 2023):
ugh
My pio enviroment is not initializing partitions properly, no idea why
EDIT: I added a format in code, I thought esptool handled this
@tablatronix commented on GitHub (Apr 5, 2023):
This is wrong.
saveParamCallback
you should be passing in the parameters here, but wm does this on save automatically for staticip params, so just delete this line or the entire callback
@Mehdi-Dehghan commented on GitHub (Apr 5, 2023):
Thanks for your time.
@tablatronix commented on GitHub (Apr 5, 2023):
Get it working?
@Mehdi-Dehghan commented on GitHub (Apr 16, 2023):
Yes That works true.
Thanks a lot