Yun can not reset to factory anymore!! I need your help!! [solved]

Dear all,

i am a Student an bought the yun for a small but crazy project. I try to control the whole lights of our assembly hall at my school, with the arduino yun. The Hardware side of the project was no problem at all, but when i try to control the Light setting with the yun over wifi, i got into deep trouble. Because suddenly the arduino starts to reboot it self over an over, because the yun could not create a wifi hot-spot for no reason. Thanks to you guys, i discovered that i had to stop the wifi life or reboot part at the yun. But now i would like to flash the linino with a brand new linino open wrt image, but it did not work at all. When start the run-sysupgrade /mnt/sda1/openwrt-ar71xx-generic-linino-16M-squashfs-sysupgrade.bin the only response by the arduino is:

root@Arduino:/# run-sysupgrade /mnt/sda1/openwrt-ar71xx-generic-linino-16M-squashfs-sysupgrade.bin

Please press Enter to activate this console.

There is nothing more!!! Do you have any suggestions how i could set the arduino to factory settings.

Sorry i forgot to mention that the whole reset-to-factory-anyway and 60 sec pressing the button did not work.

I hope you could help me :)


It depends on how you can connect to the Yun, if you can ssh to it then follow the instructions under Upgrading Using the Terminal toward the bottom of this page

If you can't ssh into it, load the YunSerialTerminal sketch through the USB, open the serial monitor and use this in the box at the top:

run-sysupgrade /mnt/sda1/openwrt-ar71xx-generic-linino-16M-squashfs-sysupgrade.bin

It will take several minutes to completely upgrade and restart, be patient, just look for the AP to appear at This may take 5 to 10 minutes.

Thank you, for the quick response.
So if i understand this the right way, i just have to wait quite some time and i wont get any message like described in the article

run-sysupgrade /mnt/sda1/openwrt-ar71xx-generic-linino-16M-squashfs-sysupgrade.bin 
Sending TERM to remaining processes ... uhttpd dbus-daemon dnsmasq avahi-daemon thd ntpd uSDaemon sleep syslogd klogd hotplug2 procd ubusd netifd 
Sending KILL to remaining processes ... 
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...

Writing from <stdin> to firmware ...     
Upgrade completed
Rebooting system...

I hope that waiting will be the answer to this problem.


If you are connected by ssh then you won't get all the messages because dropbear gets terminated somewhere in the process. If you use the serial terminal sketch you can see the whole process.

This may help As well as the topic just after it.

I had been connected via the arduino side of the yun, because i had some trouble with the Ethernet port at my pc, witch did not accept the linino as a valid partner in my local network. I thought that it dose not matter how i connect to the arduino for the function of the sysupgrade. But i will try to fix that, so i can connect via SSH over the ethernet port and try the sysupgrade again.

If this will not work i will try your advice :)

Thank you :)


Thank you for your time!!

I fixed everything by reseting the kernel, U-Boot and Linino!