ESP8266 - problem with WiFi settings
Posted: 28 Feb 2018, 18:51
Hi all,
I have a problem with espeasy and WiFi connection.
I flashed firmware from my Linux (esptool.py --port /dev/ttyUSB0 write_flash 0x00000 ESPEasy_R120_512.bin ), I connected from my PC to WiFi SSID "ESP_0" and configured SSID throught HTTP interface (http://192.168.4.1).
ESPEASY succcessully connected to my SSID, obtained IPv4 address. I connected to HTTP to the new IP adress in my WiFi network (http://192.168.88.88), changed name, setup password - all successfully passed.
But when I restart ESP8266 (power off/on, by RESET button, by restart command), the ESP8266 connect to my WiFi again, but only for 1-2 seconds. The connection is logged on my WiFi AP (two Cisco Meraki APs). SSID ESP_0 is available in this state. You can see the log from ESP's terminal (see below).
The SSID name contains only lower characters, the SSID password contains only digits.
I tried different ESP8266 versions (Wemos D1 mini, LoLin), reflash, RESET configuration, switch-off one WiFi AP and the problem persists.
I didn't find similar problem on forums. What can be a problem?
Thank you for your tips.
Martin
------
INIT : Booting Build nr:120
WIFI : Connecting... 1
WIFI : Disconnecting!
WIFI : Connecting... 2
WIFI : Disconnecting!
WIFI : Connecting... 3
WIFI : Disconnecting!
INIT : I2C
INIT : Boot OK
INIT : Normal boot
WD : Uptime 0 ConnectFailures 0 FreeMem 29296
WD : Uptime 1 ConnectFailures 0 FreeMem 29280
WD : Uptime 1 ConnectFailures 0 FreeMem 29264
WIFI : Connecting... 1
WIFI : Disconnecting!
WIFI : Connecting... 2
WIFI : Disconnecting!
WD : Uptime 2 ConnectFailures 0 FreeMem 26976
WD : Uptime 2 ConnectFailures 0 FreeMem 26944
WD : Uptime 3 ConnectFailures 0 FreeMem 26912
WIFI : Connecting... 1
WIFI : Disconnecting!
WIFI : Connecting... 2
WIFI : Disconnecting!
WD : Uptime 3 ConnectFailures 0 FreeMem 26896
WD : Uptime 4 ConnectFailures 0 FreeMem 26880
WD : Uptime 4 ConnectFailures 0 FreeMem 26864
WIFI : Connecting... 1
WIFI : Disconnecting!
WIFI : Connecting... 2
WIFI : Disconnecting!
WD : Uptime 5 ConnectFailures 0 FreeMem 26848
WD : Uptime 5 ConnectFailures 0 FreeMem 26848
WD : Uptime 6 ConnectFailures 0 FreeMem 26848
...
I have a problem with espeasy and WiFi connection.
I flashed firmware from my Linux (esptool.py --port /dev/ttyUSB0 write_flash 0x00000 ESPEasy_R120_512.bin ), I connected from my PC to WiFi SSID "ESP_0" and configured SSID throught HTTP interface (http://192.168.4.1).
ESPEASY succcessully connected to my SSID, obtained IPv4 address. I connected to HTTP to the new IP adress in my WiFi network (http://192.168.88.88), changed name, setup password - all successfully passed.
But when I restart ESP8266 (power off/on, by RESET button, by restart command), the ESP8266 connect to my WiFi again, but only for 1-2 seconds. The connection is logged on my WiFi AP (two Cisco Meraki APs). SSID ESP_0 is available in this state. You can see the log from ESP's terminal (see below).
The SSID name contains only lower characters, the SSID password contains only digits.
I tried different ESP8266 versions (Wemos D1 mini, LoLin), reflash, RESET configuration, switch-off one WiFi AP and the problem persists.
I didn't find similar problem on forums. What can be a problem?
Thank you for your tips.
Martin
------
INIT : Booting Build nr:120
WIFI : Connecting... 1
WIFI : Disconnecting!
WIFI : Connecting... 2
WIFI : Disconnecting!
WIFI : Connecting... 3
WIFI : Disconnecting!
INIT : I2C
INIT : Boot OK
INIT : Normal boot
WD : Uptime 0 ConnectFailures 0 FreeMem 29296
WD : Uptime 1 ConnectFailures 0 FreeMem 29280
WD : Uptime 1 ConnectFailures 0 FreeMem 29264
WIFI : Connecting... 1
WIFI : Disconnecting!
WIFI : Connecting... 2
WIFI : Disconnecting!
WD : Uptime 2 ConnectFailures 0 FreeMem 26976
WD : Uptime 2 ConnectFailures 0 FreeMem 26944
WD : Uptime 3 ConnectFailures 0 FreeMem 26912
WIFI : Connecting... 1
WIFI : Disconnecting!
WIFI : Connecting... 2
WIFI : Disconnecting!
WD : Uptime 3 ConnectFailures 0 FreeMem 26896
WD : Uptime 4 ConnectFailures 0 FreeMem 26880
WD : Uptime 4 ConnectFailures 0 FreeMem 26864
WIFI : Connecting... 1
WIFI : Disconnecting!
WIFI : Connecting... 2
WIFI : Disconnecting!
WD : Uptime 5 ConnectFailures 0 FreeMem 26848
WD : Uptime 5 ConnectFailures 0 FreeMem 26848
WD : Uptime 6 ConnectFailures 0 FreeMem 26848
...