I bought an arduino yun earlier this year. It worked for a while, then something bad happened; I can upload my sketches via wifi. I kept getting this error:
/usr/bin/lua: /usr/bin/merge-sketch-with-bootloader.lua:26: bad argument #1 to 'lines' (/etc/arduino/Caterina-Yun.hex: No such file or directory)
: in function 'lines' /usr/bin/merge-sketch-with-bootloader.lua:26: in main chunk [C]: ? avrdude: AVR device not responding avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. /usr/bin/run-avrdude: line 42: can't open /tmp/efuse: no such file avrdude: AVR device not responding avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. I ssh into the yun to override it. then it said select a programmer. avrdude: no programmer has been specified on the command line or the config file Specify a programmer using the -c option and try again then I select a programmer. then it said theres error again: ser_open(): can't set attributes for device "/dev/ttyS0": Inappropriate ioctl for device wow, really arduino yun? do you really want to give me such a hard time? ok fine, I put up a little patience, hoping that I would solve the problem. I tried to use previous version of arduino IDE, but it kept prompting me to key in password. I google the problem. then it said i need to upgrade the image. fine, I followed this instruction; https://www.arduino.cc/en/Tutorial/YunSysupgrade well , guess what, the yun is pretty much dead!! I cant see it through the wifi, cant ssh into it anymore, cant do any damn thing about it.the whole led lights up. this thing is getting on my nerve.