An archive of community.esquilo.io as of Saturday January 26, 2019.

Board won’t join WiFi

steveb48

Hi Guys,

My board will no longer join my WiFi. It had been working but this morning when I tried to access my pool controller web page, nothing. I tried to access the IDE, nothing. I did an address scan of my network and it's not there. I switched to it's access point, brought up the IDE and tried to switch networks. Sometimes it balked at the password although I'm reasonably sure it was correct. Sometimes it seemed to connect as I got a disconnect message from the IDE via the access point. Switching networks showed it still missing. I noticed if I just stayed on the access point network the IDE came back. It seemed like it connected to my network and then failed back.

Perhaps unrelated but I decided to try and reinstall the update. Remove power, hold program button, apply USB power, and the green LED flashes slowly. The board appears in my Finder as a new device. Copy the img onto the drive, the green LED flashes rapidly and I get a message about 0 bytes of 889k... At that point I get a message that the board was ejected improperly and the board appears to reset.

Any clues?
thanks
Steve

steveb48

Tried to make a USB console session but tty.usbmodem* never appears.
ls /dev/tty.u* returns nothing

If I start the boot loader and then open the device in Finder I see HELP.TXT which contains the error codes. I assume that validates my USB cable.

Steve

Scott_Shumate

I assume you're using a Mac? What version of OS X and what Mac hardware are you using?

The USB serial port is the best way to debug a problematic WiFi connection. I would try to delete your AP from the list and add it back. EOS caches information about the AP to speed up WiFi connection so its possible there is something wrong there. Also take a look at your TX power and country code in the WiFi radio dialog or "wifi country"/"wifi txpower" in the serial port shell. Also check that the MAC filter, password, and other settings didn't change on your AP.

Did the EOS update still work when you saw the "0 bytes of 889k" message or did it stay on the same EOS version?

steveb48

HI Scott,
I'm using a Mac running 10.11. on a new MacBook Pro.

If I plug my board into the Mac via USB and open a terminal, ls /dev/tty.usbmodem* shows nothing. If I do ls /dev/tty.* I only see tty.bluetooth-incoming-port.

I can't tell if the firmware updated as I can't start a console session. I do believe my cable is good. When I put it in upload mode and open Esquilo in Finder, I see HELP.TXT and can view it's contents. Seems like that would validate the cable.

It's quite possible that it's latched on to my neighbor's XFinity hot spot as it's unprotected. The green LED is lit. Without the console I can't tell.

thanks,
Steve

steveb48

Just tried USB on a different Mac (mini). ls /dev/tty.* only shows Bluetooth.

Steve

patrick

Hi Steve,

I'm running OS X 10.11.1 and my Esquilo shows up ok (/dev/cu.usbmodem131, /dev/tty.usbmodem131). I was looking for how to debug this on a Mac and came across this:

Maybe try a different USB cable and/or rebooting?

steveb48

Hi Patrick,
2 different computers and 2 different cables. I can't see /dev/tty.usb... or if I try holding the pgm button down and uploading the firmware, it aborts at zero bytes. Green LED is lit on reset.

Is the board dead? I have a new one on order.

thanks
Steve

Scott_Shumate

Hi Steve,

I just tried on OS X 10.11.2 on a Mac mini and /dev/tty.usbmodem641 appeared and I was able to access the console with the screen program. It is likely to be that your USB console is disabled in the Esquilo settings. We'll need to get the network up to check. The fact that your Esquilo mounts as a drive when you use the bootloader shows that the USB connection is fine. I also tried an EOS update and even though OS X shows zero bytes, it transferred the entire image and the update worked fine.

The green LED solid on indicates that the Esquilo is running and that it is connected to a WiFi network. That's a really good sign that nothing is broken. If you left the Nest tunnel enabled, you should be able to find your Esquilo either at http://find.esquilo.io/ if you did NOT register or http://nest.esquilo.io/ if you did. If that doesn't work, the next best option is to take your Esquilo somewhere out of range of your WiFi network. Esquilo will then come up as an access point and you can connect to its WiFi network with a mobile device. From there, you can open http://10.10.10.1/ in a browser to access the IDE menu to make sure the USB console is turned on.

-Scott

steveb48

YES! We are back. I got it out of range and the AP came up. USB console was indeed disabled. I fixed that and reset it to my network.

Thanks for the help guys!

Steve