Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TTerr3
Novice
2,757 Views

Edison - OS X - Checking WiFi Network Indefinitely

I downloaded the Intel Edison Board Configuration Tool and proceeded to flash the latest firmware to my Edison, everything went well. I then set up the device name and SSH passwords followed by the WiFi.

Everything was set up and I was starting to use the Arduino editor to test out some sample code. I then unplugged my Edison without ejecting the device from Finder.

After that, every time I try to connect it fails, worse still, when I try to re-run the Intel Edison Board Configuration Tool, about half the time the firmware reports as the latest version (great!) but then proceeds to check the SSH password and WiFi and proceed to never complete the "Checking WiFi Network" action, the gear just spins forever.

The other half of the time the firmware version reports as "undefined" and when attempting to re-flash it, after the image is expanded and my Edison is restarted, I am back to the first problem again.

There was one time where, after about half an hour, the WiFi detection finished and gave me an IP, but the SSH reported as not enabled!?

Please help!

0 Kudos
10 Replies
idata
Community Manager
61 Views

Hello Rndm Tsk,

It seems that there might have been an issue when you are flashing the board. As the issue seems to appear when you use the Intel(R) Edison Board Configuration Tool, I'd suggest you to try using the manual method called flashall.sh. You can find a guide on how to do it in .

Let me know if this helps you.

-Peter.

TTerr3
Novice
61 Views

Thanks for your response, I'll give this a try!

As a note, is it enough to power the board using the OTG port via a USB port on a MacBook Pro while doing this? I was thinking this could be part of the problem.

I'm using SparkFun's Base Block with OTG and Console ports (DEV-13045)

TTerr3
Novice
61 Views

I tried connecting to my Windows machine and I was able to flash and setup the device, however an attempt to SSH or access the device via HTTP was unsuccessful.

I tried running "flashall.bat" with the "--recovery" option but it complained about "xfstk" tools being missing (I couldn't find a Windows version) so I tried running "flashall.bat" and it seemed to be successful.

I still can't seem to connect via SSH or HTTP, all I get are timeouts.

It seems to have been set up properly, it shows up in Windows, yet I cannot connect to the device at all.

idata
Community Manager
61 Views

Could you please send us a screenshot of the IP address of both your Edison and your computer? I would like to verify that they are on the same network.

 

 

Also, could you please check if your Edison has internet access? You can try pinging Google for that purpose.

 

 

-Peter.
TTerr3
Novice
61 Views

I only have one network in my home, everything is on the 192.168.2.XXX range of IP addresses..

It has a 5GHz band and a regular band, my PC is connected via Ethernet Cable and my Macbook Pro is connected via Wifi (5GHz). I have a router that serves up DHCP and a secondary router that acts as a network extender (serving up the same WiFi network 192.168.2.XXX).

t

In this screenshot you can see that my PC can detect my edison, the setup process was completed successfully (although when I connected the Edison again today, the SSH and WiFi settings needed to be redone after I had done flashall.bat the night before).

You can also see that they are both on the same network and when I try to connect via SSH using PuTTY I get a timeout.

TTerr3
Novice
61 Views

After figuring out how to connect via the CONSOLE port on my SparkFun base block I was able to get shell level access to my Edison. It seems to get an IP address, but wouldn't connect to anything nor resolve host names:

$ ping -c 3 www.google.ca

$ ping -c 3 192.168.2.1 # The IP of my router

I then updated my /etc/resolv.conf to point to Google's DNS (8.8.8.8 and 8.8.4.4) rather than the DNS provided by my ISP and restarting usb0 and wlan0 (as suggested in the "Troubleshooting" section of this guide: https://software.intel.com/en-us/connecting-your-intel-edison-board-using-wifi https://software.intel.com/en-us/connecting-your-intel-edison-board-using-wifi) I was able to ping my router and Google without issues, plus I could SSH to my Edison!

I'm still unable to access my Edison via http://192.168.2.16 http://192.168.2.16 or http://Edison.local http://Edison.local.

I'll keep plugging away, but hopefully I don't have to connect to my Edison via console each time to fix WiFi!

TTerr3
Novice
61 Views

So it seems that my fears are correct, each time I start my Edison I have to replace the resolv.conf with one that has either Google's DNS or the IP of my router and then restart usb0 and wlan0 to get things to work.

I'm still unable to set up the Edison.local DNS Entry nor connect via http.

idata
Community Manager
61 Views

I see, I'm glad to hear that you are now able connect to your Edison through an SSH connection.

 

 

The reason why you can't connect to your Edison using its IP address or edison.local (this would only work if you have the Bonjour service installed) is because there is a known issue with Edison's server on the latest images, this issue has been reported and we are currently working on it, nevertheless, there is no ETA for a fix. If you would like to use this feature, you'd have to flash an older image.

 

 

-Peter.
TTerr3
Novice
61 Views

Thanks for pointing that out! Do you have any suggestions on how I can avoid restarting usb0 and wlan0 each time I power up the Edison?

idata
Community Manager
61 Views

You could create a system service that does that automatically on boot for you. If you are interested in that approach, I'd suggest you to check this document:

 

 

https://communities.intel.com/docs/DOC-111103 https://communities.intel.com/docs/DOC-111103

 

 

-Peter.
Reply