Skip to content

Update CaptivePortal.ino #6173

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

Closed
wants to merge 2 commits into from
Closed

Update CaptivePortal.ino #6173

wants to merge 2 commits into from

Conversation

MisterD66
Copy link

Android devices have a feature that opens a captive portal right after connecting to an accesspoint. to trigger this feature the target IP Adress cant be in the 192.168.x.x range.

After testing this on three devices and all of them work with the new ip adress and not the old i propose to change it

Tested on:
Xiamoi Redmi Note 4 (Android 7)
Samsung Galaxy A7 (Android 8)
Amazon Fire 7 (Android 5)

@d-a-v
Copy link
Collaborator

d-a-v commented Jun 27, 2019

Why don't you use official private network address range instead of 172.217.28/24 which is public (belonging to google at the moment) ?

@MisterD66
Copy link
Author

because android only automatically opens the captive portal promt if the google adress it is checking to see if internet connection is availabel is not direkted to a private ip adress.

i did not discover this but i confiremd it with all devices available to me.

i found this problem here:
espressif/arduino-esp32#1037 (comment)

@d-a-v
Copy link
Collaborator

d-a-v commented Jul 1, 2019

@MisterD66 thanks for the useful link.
Please watch duplicate #5529.

@d-a-v
Copy link
Collaborator

d-a-v commented Jul 8, 2019

closed by #5529

@Misiu
Copy link

Misiu commented Jul 25, 2019

@d-a-v #5529 is merged, so this PR can be closed.

@d-a-v d-a-v closed this Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants