aws / aws-iot-device-sdk-arduino-yun

SDK for connecting to AWS IoT from an Arduino Yún.
Apache License 2.0
163 stars 77 forks source link

Setup failed -1 #56

Closed flycast closed 6 years ago

flycast commented 6 years ago

Having these issues with a Arduino Yun.

I followed the info at this post: https://github.com/aws/aws-iot-device-sdk-arduino-yun/issues/28

I obtained the following in the serial monitor:

AWS IoT SDK Version(dev) 2.2.0-

root@arduino:/# /bin/ash: 1: not found /bin/ash: /root: Permission denied /bin/ash: 1: not found /bin/ash: /root: Permission denied /bin/ash: 1: not found /bin/ash: /root: Permission denied /bin/ash: 1: not found /bin/ash: /root: Permission denied Linux /bin/ash: cd: can't cde/

python: can't open file 'run.py': [Errno 2] No such file or dir Setup failed! -1

Any help would be appreciated as I am new to this...

flycast commented 6 years ago

Also might be helpful... /bin/ash is a symlink and has 0777 permissions It points to /bin/busybox /bin/busybox has 0755 permissions

flycast commented 6 years ago

Found my issue. I had the files in the wrong folder on the Arduino.