Change the gateway page #410
Replies: 3 comments
-
The API provided by the AutoConnect library as standard allows you to change the automatic pop-up page in the captive portal using the AutoConnectConfig::bootUri option. However, a bootUri setting changes affect AutoConnect as a whole. If you want to change the page only when it pops up automatically with accessing to the captive portal, need change the library source code directly: AutoConnect/src/AutoConnect.cpp Line 1092 in 39ef333 Change to:String location = String(F("http://")) + _webServer->client().localIP().toString() + String(AUTOCONNECT_URI_CONFIG); Note: |
Beta Was this translation helpful? Give feedback.
-
Isn't it possible to already scan for nearby SSIDs when or even before opening the captive portal? This should be possible as soon as the device decides that no known SSID is available. Then the configuration page only needs to show this cached list. |
Beta Was this translation helpful? Give feedback.
-
@tali I agree basically and already have evaluated a prototype that was according to the primary purpose of this intention, as everyone thinks, prior to the full-fledged implementation. And I had two nasty problems as follows and got stuck with a complicated task:
After all, I'd not come up with a way to know when to perform a WiFi scan safely and decided for an automatic pop-up page (which doesn't trigger a WiFi scan) in simple HTML. EDIT: |
Beta Was this translation helpful? Give feedback.
-
Hi,
Is that possible I can change the gateway page to config new IP page? So I can enter the SSID and Password at the beginning
Dora
Beta Was this translation helpful? Give feedback.
All reactions