• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

WIFI connected – No internet message

Q&A Forum › Category: ESP8266 › WIFI connected – No internet message
0 Vote Up Vote Down
John ZMOOD asked 3 years ago

I am building a set of public WIFI  sites using the ESP8266 chip to provide the web based environmental information to passers-by at remote locations (beyond mobile and wireless internet range)  using their mobile phones as the viewing device prior to entering caves etc.
It seems  there is a problem with mobiles recognising the the IP address given by a QR code notice and it is necessary to enter the IP address of the webserver manually  through the mobile’s settings/WIFI menu. Under these conditions the QR code notices grants access despite the  “WIFI connected – No internet” message. 
When the mobile is removed from the location (outside the range of ESP8266)and brought back to the site it is necessary to manually reset the WIFI settings again as the phone will not auto connect. Altogether, it hardly is a satisfactory, seamless approach to advising of the public of risks. 
This problem is well recognised on the net and it seems to be related to lack of access to a DNS  from these “Hot Spot” sources (in this case due to the sources are located out of range of the  “World Wide Web” ). 
My question is:

  1.  Is this really the problem and would placing a small DNS in the ESP8266 solve the problem. If not any solution to this problem would be welcomed. 
  2. Secondly does anybody know of such a program for the ESP8266?

 
 

Question Tags: John Zmood
2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
 
I’m not sure if it is a problem with the ESP8266 boards or with the settings of the smartphones when connecting to networks that don’t have wi-fi access.
 
I’m not sure if DNS will solve the problem. But, you can try it. And it was also suggested in this discussion (a long time ago): https://stackoverflow.com/questions/40596906/esp8266-soft-ap-no-internet-access-issue-with-android-marshmallow
 
I’m sorry that I can’t help much.
Meanwhile, let me know if you find something.
 
Regards,
Sara
 

0 Vote Up Vote Down
Steve Mercer answered 3 years ago

I think what you would need is a combination of a QR code that will connect to the local WiFi network and then a Captive Portal to display web page(s). Seeing as it’s a CP you don’t need DNS (DNS is only required to lookup a hosts IP address to connect to. Seeing as you’re not supplying users with the full internet it’s not required). Most of the time a CP is used to get credentials for the local router so that the user can then switch to the “real” internet. In this case just create HTML page(s) to show users stuff about the caves.
 
I couldn’t find anything for the 8266 but here is an article using the ESP32 – https://iotespresso.com/create-captive-portal-using-esp32/. I’m pretty sure some variation of the libraries work on the 8266 and it should be relatively easy to modify the code.
 
You also need to generate a QR code to connect to the hotspot – https://www.qr-code-generator.com/solutions/wifi-qr-code/
 
Hopefully this works as I think it would. Happy trails.
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.