mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #836] How do you redirect outside the captives with a link? What I’m trying to do is after the Wi-Fi manager connects to the network instead of closing the setting page I wanted to open up a web browser to the IP address of the device that… #702
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#702
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 @athleticmistud on GitHub (Feb 26, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/836
PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed.
POST SERIAL OUTPUT !
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:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
Description
Problem description
Settings in IDE
Module: NodeMcu, Wemos D1
Additional libraries:
Sketch
Debug Messages
@tablatronix commented on GitHub (Feb 26, 2019):
Use mdns hostname.local
@athleticmistud commented on GitHub (Feb 27, 2019):
cant use the .local need to use the ip address that gets assigned to the
board by the router. how do you get out of the captive and auto launch a
browser with the ip??
On Tue, Feb 26, 2019 at 7:04 AM Shawn A notifications@github.com wrote:
@tablatronix commented on GitHub (Feb 27, 2019):
you cannot click links in a captive portal.. so I have no idea what you mean.
@athleticmistud commented on GitHub (Feb 27, 2019):
I'm trying to figure out a way to force out captive portal of iOS and open
safari instead, after I save my WiFi settings. I've managed to alter the
standard lib a little so it gets the IP of the AP and server.send before
closing the STA. Problem is, if captive portal does not detect a success
response from internet it does not allow me to open a link or move
automatically to Safari browser.
the idea behind this is to get automatically redirected to the boards IP
address after the AP connects
On Wed, Feb 27, 2019 at 12:00 PM Shawn A notifications@github.com wrote:
@tablatronix commented on GitHub (Feb 28, 2019):
Afaik the captive portal is sandboxed, you cannot do anything but open local pages in captive window
@athleticmistud commented on GitHub (Feb 28, 2019):
ok so how can i do the connection with the wifimanager, then i have a
confirmation page that shows the ip address for them is there a way to then
open a browser from there? i can long press and it opens the window is
there a way to do that automatically?
the .local is not reliable enough so i need to use the ip to acces the
board. how else could i do this ?
On Wed, Feb 27, 2019 at 5:47 PM Shawn A notifications@github.com wrote:
@athleticmistud commented on GitHub (Feb 28, 2019):
what is Afaik?
On Wed, Feb 27, 2019 at 6:47 PM Out and About athleticmistud@gmail.com
wrote:
@tablatronix commented on GitHub (Feb 28, 2019):
“As far as I know”
@tablatronix commented on GitHub (Feb 28, 2019):
You can show the url and the user has to open it in a browser by copying it etc
@jmgk77 commented on GitHub (Jul 31, 2021):
https://github.com/tzapu/WiFiManager/issues/1178#issuecomment-890284213