mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1303] wm:[0] [ERROR] wifi config failed ,When i try to set the subnet mask to 255.255.255.240 #1119
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#1119
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 @EgHubs on GitHub (Oct 22, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1303
Basic Infos
Hardware
WiFimanager Branch/Release: 2.0.4 beta
Hardware: ESP-12e
Core Version: 3.0.2
Description
I get
when I try to specify the subnet mask with 3 digits at the end with a link like the following
i,e. 255.255.255.240 --> from an iPhone.
otherwise, I tried to make it last with two digits or two digits and it is set successfully
i,e. 255.255.255.20 or 255.255.255.0
--
and what made me say three digits is when I tried to set it to 255.255.255.200 I also get the same error
and eventually the JSON settings for a nonworking subnet mask indicates (Unset) for all three parameters of the ips:(ip, gw,sn)
@EgHubs commented on GitHub (Oct 22, 2021):
will I've made a workaround,
I set up the ESP without assigning any IPs
but instead, I added a new parameter to the system
for example
so that "staip" parameter, I will consider it my new local IP
I let the system get its IPs automatically then I save that automatically assigned three IPs then every time I connect to the wifi I assign a new local IP to the system
BUT, I think that there is still a problem here with the library, I hope you can figure out what's wrong, thanks anyway.
@EgHubs commented on GitHub (Oct 22, 2021):
My fault, sorry I didn't know that the relationship between the subnet mask and the IP addresses, now I get it thanks to this video :)