Bricked my Yun?

Hi guys,

As I wanted to be able to take my Yun to a few places, I edited /etc/config/wireless, to incorporate multiple wifi networks. I hoped it could find out any of the configured networks and connect either to the one with the strongest signal, or simply the first configured. To test this, I commented out my home network, on which I was just working and uploading sketches to it.. When I rebooted the Yun, you can imagine I wasn't able to connect to my home network anymore, since I commented the configuration part out in /etc/config/wireless. But unfortunately I wasn't able to connect to any of the configured wifi networks either!

I tried resetting wifi settings by holding the wifi reset button for 5, 30, or even 60 seconds, but it wouldn't budge.. I uploaded the YunSerialTerminal via USB, and checked the output of the bootprocess of the Linux distribution. You can find it at the pastebin link below.

It's in an endless loop.. Resetting it to factory settings doesn't work apparently, neither does a wired connection make the Yun boot. I tried to upload a sketch that would use a Process object to insert a bash command to revert the /etc/config/wireless file back to what it was, but if there's no working Linux environment, then I can't get to the filesystem from the Arduino sketch processor, right?

Anyone got a good idea to unbrick it again?

try using PUTTY, set it to /dev/ttyACMx 115200 to communicate over USB/Serial with YUN. Turn YUN on, you will see the YUN booting with PUTTY, when you stop the boot to prevent the infinate loop, or get the prompt by hitting F then you will get YUN shell enabling you to repair wireless or what ever else you want to do.

You can also try ssh root@arduino.local (password arduino) to get the YUN shell, then you can fix wireless.

I did all that yesterday when mine was bricked because I messed with the serial port and init.d and some other stuff, but got it back using the above.

Arduino_user54:
As I wanted to be able to take my Yun to a few places, I edited /etc/config/wireless, to incorporate multiple wifi networks. I hoped it could find out any of the configured networks and connect either to the one with the strongest signal, or simply the first configured.

Sorry, there is no built in way for automatically connect to a previously configured network.

Arduino_user54:
It's in an endless loop..

Sure of it? How many times did you see the loop spinning? As far as I can read, the yun is doing what is programmed for: reboot and enable access point mode after 60 seconds if it cannot connect to the configured wifi network.