mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #370] Change default SoftAP SSID & password on runtime from config page. #311
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#311
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 @bkrajendra on GitHub (May 23, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/370
Just like routers, I want to have feature to change default AP mode SSID and/or password.
As WiFiManager currently goes into AP mode if its not able to connect to saved Wlan ssid/key, it can be little security issue. Any one who knows default AP password can connect and modify WiFi config.
So I want it like professional routers, where they provide default SSID n password in manual and then they offer it to change when login for first time. Also it can be changed latter on.
@bkrajendra commented on GitHub (Jan 26, 2018):
Dear @tablatronix anything wrong with post?
@tablatronix commented on GitHub (Jan 26, 2018):
There is no default ap password you specify it in your code
autoconnect(SSID,PASSWORD);Use your own code and a custom parameter to change the password
@bkrajendra commented on GitHub (Jan 26, 2018):
What I mean by default password is the one we provide in code which is hardcoded in autoconnect(SSID,PASSWORD);. We can not change this at runtime after flashing hardware.
What i mean was, is it possible to create an interface for changing this AP password, like we do in routers to change admin password.?
@tablatronix commented on GitHub (Jan 26, 2018):
Yeah it can be done with parameters by user, not sure it needs to be in core. Maybe someone can make an example
@bkrajendra commented on GitHub (Jan 27, 2018):
ok.. I'll give it a try.
@mrlightsman commented on GitHub (Mar 7, 2018):
@bkrajendra
Did you ever figure out a way to use parameters to change the ESP SSID and PW via the captive portal? If so, please share how you did it. With code example, preferably. Thanks.
@bkrajendra commented on GitHub (Mar 7, 2018):
@tablatronix
I guess its kind of tricky and Ive not tried yet but can be done. To start of, just use parameter to store ssid and password, then just retrieve them back while setting up.
It can be like this.
Not tested.