Just spent few hours debugging why my capitve protal does not complete operation after entering SSID and password. It did not work on multiple ESP8266 devices such as on sonoff or stock ESP8266.
SOLUTION:
Completly erase flash on ESP before doing anything else. Command:
$ esptool.py --port /dev/ttyUSB0 erase_flash
Change "ttyUSB0" with your serial addres.
You can find it with
$ ls /dev/tty* or $ ls /dev/cu*
Hi,
Just spent few hours debugging why my capitve protal does not complete operation after entering SSID and password. It did not work on multiple ESP8266 devices such as on sonoff or stock ESP8266.
SOLUTION: Completly erase flash on ESP before doing anything else. Command:
$ esptool.py --port /dev/ttyUSB0 erase_flash
Change "ttyUSB0" with your serial addres. You can find it with$ ls /dev/tty*
or$ ls /dev/cu*