-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: ESP32 doesn't clear the IP address manually assigned #360
Comments
This might have more to do with the DHCP lease time. I can't really control the devices that are assigning the IP address, but leaving the toggle OFF should allow the device to pick up whatever has been assigned to it. I need more explanation though: what is the IP address you manually set? What is the IP range your phone is handing out? Your statement isn't clear as to which the "11.112" is referring to. |
I assigned the 192.168.11.112 manually in the ESP32. My damn Samsung s22 has the infuriating habit of changing the second to last IP value randomly after some time (days? Dunno) , so while it was indeed that the correct IP it assigned to the ESP last time I looked into it, now it assigns something like 192.168.88.112 or something like that, and it'll keep changing. Such idiotic functionality, I get the benefit but I can't disable it or assign fixed IPs on phone side. Anyway, I noticed if I manually assign the new correct IP (connecting to the ESP wireless network with my pc) I can reach it through my phone tethering. |
You may need to just keep overriding with the manual IP then, something that's on the same network and can reach the phone. I honestly wish I knew how these hotspots serve up IP's, as I know even my iPhone gives out some strange IP's. |
I see, hoped i could somehow wipe the ESP IP data to avoid the second device thing. |
Try to clear all the info, including the SSID and password for the external wifi, and it should reset everything. |
Alternatively, change some character in either of those fields, and it should force the IP info to get fully reset because it will think it's a completely different network to join. |
Thanks for the suggestion, I'll look into it a bit further then. |
Just a small update. Changing the SSD in the settings cleared IP setting correctly. Now the ESP got a new IP assigned correctly from the phone; But as you can see it's displayed like i'd manually add it in the settings like before. I hope the next time my damn phone will change it to 192.168.XXX.112 again the ESP will accept the new one and not stick to the old one it have in memory. |
It freaking worked! As a side note, apparently my s22 likes to change tethering ip assignments after each reboot. |
What actions were attempted?
I was still tinkering with the wifi settings, it appears to me that even if the checkbox is off the ESP still takes the manually added IP address instead of getting the one assigned from the phone tethering.
In this case, the 11.112
was manually added in the option but i marked off the option:
What actually happened?
...and yet it still takes it. Even if i delete the data in form entirely keeps the same settings, can't make it just take the granted IP from the tethered wifi network
What was expected?
Got the feeling MAYBE if it took the assigned ip address by default it might finally be reachable from my phone withouth headaches.
Firmware Version
5.3.2
Mode in Use
Super Hero / Video Game
Notable Hardware
ESP32
Homework Completed
The text was updated successfully, but these errors were encountered: