mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1198] DNS starts but my linux and Android never show the captive portal unless I manually type in the IPV4 address. #1021
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#1021
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 @dennisMe2 on GitHub (Jan 26, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1198
Basic Infos
Hardware
WiFimanager Branch/Release: Development / master
Esp8266
Hardware: ESP-12
Core Version: master snapshot from 25-01-2020
DNS starts but my linux and Android never show the captive portal unless I manually type in the IPV4 address. Linux shows the DNS registered on the interface when the portal is active (but not in /etc/resolv.conf). An nslookup with the ESP as specific server address returns the soft-AP address for any random name I try.
Nonetheless, no requests for random (non cached) site names end up at the ESP ip address. Debug statements I inserted do not show any requests entering the unit unless I explicitly use the IP address.
Arduino IDE 1.8.13
Module: NodeMcu 0.9 ESP12
Additional libraries: (in order)
Wire.h
ESP8266WiFi.h
Adafruit_Sensor.h
DNSServer.h
ESP8266WebServer.h
WiFiManager.h
ESP_EEPROM.h
@tablatronix commented on GitHub (Jan 26, 2021):
Does the arduino captive portal example work ?
@dennisMe2 commented on GitHub (Jan 27, 2021):
I tested it using OnDemandConfigPortal.ino and that works brilliantly. Looks like I'll have to try and refactor my code step by step to identify the culprit.
Thanks for the tip and,
Closing this non-issue!
@dennisMe2 commented on GitHub (Jan 27, 2021):
FYI:
WiFiManager instance must be global. I had moved it to where I needed it but the instance really has to be global in order to work.
@tablatronix commented on GitHub (Jan 27, 2021):
That is true for params, not sure why it would break your captive portal