How to dissable AP mode?

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
miraclebox
New user
Posts: 1
Joined: 29 Jun 2017, 10:13

How to dissable AP mode?

#1 Post by miraclebox » 29 Jun 2017, 10:41

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

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden

Re: How to dissable AP mode?

#2 Post by grovkillen » 29 Jun 2017, 11:03

Not a disable solution but you can always change the password for the AP from "configesp" to whatever...
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

danE
New user
Posts: 1
Joined: 12 Sep 2017, 21:27

Re: How to dissable AP mode?

#3 Post by danE » 12 Sep 2017, 21:38

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.

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Anthropic Claude Bot [bot], Bing [Bot], Perplexity.ai [bot] and 16 guests