So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By czar1na
#64654 I have a raspberry pi zero with an esp 8266 wifi module attached for internet. I followed this guide: http://hackaday.com/2015/12/09/raspberr ... ough-sdio/ I currently have the device connected to the wifi from my house's router.

If I try turning the router off, wait a bit, then turn the router back on, I'd like the ESP8266 to automatically re-establish connection.

To my surprise, without any special configuration, my ESP does seem to automatically re-establish a connection. However, this internet connection that the ESP re-establishes is very weak and unreliable, with very slow upload/download speeds compared to prior to the disconnect.

What should I do? I see a lot of posts about ESP8266/Arduino, but I am on a Pi, running the latest Debian (Raspbian Jessie).
User avatar
By mforcen
#64708 Maybe there is a problem with the memory allocation at ESP program. Look at the callback reconnect function of the source.
Otherwise, you could force Raspberry to send a reset to ESP when disconnected (in order to get a good connection again). If that doesn't work, it's a problem of thr rPi driver.