Page 1 of 1

How to dissable AP mode?

Posted: 29 Jun 2017, 10:41
by miraclebox
Hi,

I have installed ESPEasy_v2.0.0-dev10_normal_1024.bin in my S20 sonoff.

The problem is when the connection to my AP is lost the software will switch the unit to AP mode with the default SSID "AP ESP_0" and password "configesp".

This is a big security problem because the SSID and password is public anyone can log in to your unit and go tools, filesystem, flash and read the security.dat file.

In the security.dat file you will find the SSID and password for your AP in your home network.

So is it possible to turn off the AP mode in the software or even better use an GPIO pin to activate it?

Regards Miraclebox

Re: How to dissable AP mode?

Posted: 29 Jun 2017, 11:03
by grovkillen
Not a disable solution but you can always change the password for the AP from "configesp" to whatever...

Re: How to dissable AP mode?

Posted: 12 Sep 2017, 21:38
by danE
If you want more control you should try using Arduino ide to write code for your project. The esp8266wifi.h library includes variables to control ap and client modes. For example: WiFi.mode(WIFI_STA); sets the wifi mode to station only disabling the access point. Plus the Arduino ide has nice compile/debug features and lots of support online.