mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #403] WIFI_AP_STA mode after connecting #338
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#338
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 @Dzavid on GitHub (Aug 29, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/403
Is it possible to switch ESP to dual mode (Access point and Station) after it's been successfully connected to WiFi network with DNS still working? I need this because my device will be given to the people who are not familiar with coding so I want them to be able to connect to ESP and go to config portal anytime, even if ESP is already connected.
I guess I need to modify .cpp file and conditions in it, but it seems like DNS stops working after it switches to dual mode.
@tablatronix commented on GitHub (Aug 29, 2017):
What do you mean by dns?
@Dzavid commented on GitHub (Aug 29, 2017):
@tablatronix
I'm sorry. I made a mistake. What I meant is that when I connect to ESP after it is connected to my WiFi, I can't reach configuration portal of WiFiManager. It seems like captive portal doesn't work anymore. It doesn't redirect me nor I can access it directly from IP (192.168.4.1).
@tablatronix commented on GitHub (Aug 29, 2017):
Hmm well the captive portal only really works on the softap, and itt shuts down after you save.
Do you want it to stay on, via the softap, or do you want to get to it through the network, which would be harder.
@papartmike commented on GitHub (Sep 11, 2017):
I think I need something similar... I'd rather access the configuration portal also when connected as a client. What i'm doing so far is to create a web page as a web server that allows me to call the ondemand config portal (softAP). The only problem is that I need to have a web server on a different port (not 80) since probably something is going in a conflictuos state and config portal is not shown. Basically it should show the web server page also when connected as a client. Thanks