my Arduino Yùn doesn't boot anymore, even i can upload sketches. I can't see the wifi connection and when i use the YunSerialTerminal the process stops here (i omitted the previous output, if you want i can upload the entire text):
I tried to enter in failsafe mode, following this tutorial Arduino Playground - Yun
The problem is that it doesn't start the restoring process:
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
f
- failsafe -
/etc/preinit: line 1: telnetd: not found
BusyBox v1.19.4 (2014-04-10 11:08:41 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
root@(none):/# cd /usr/bin
root@(none):/usr/bin# ./reset-to-factory-anyway
root@(none):/usr/bin#
When i send the command "./reset-to-factory-anyway" the wlan led (blue one) starts blinking for hours, and the following line appears after 1 second. It seems like it can't start the reset program.
What can i do now? Any ideas?
Thanks
PS. At the beginning i tried with the reset buttons, but it didn't work.
i opened the file and i found the "option disabled 0" line. How can i remove/comment it? I already modified text config files on putty using vi, but i don't know how to do that on the serial monitor
The ethernet connection is not working, the "unknown device" appears and disappears rapidly from the connections menu, and if i type in my browser http://192.168.240.1 or http://arduino.local it can't find the page.
Now the wan led (yellow) is blinking, sometimes the wlan led (blue) blinks for a while and the usb led (white) goes high every 5/6 minutes for 1/2 seconds.
zeroG:
The ethernet connection is not working, the "unknown device" appears and disappears rapidly from the connections menu, and if i type in my browser http://192.168.240.1 or http://arduino.local it can't find the page.
Now the wan led (yellow) is blinking, sometimes the wlan led (blue) blinks for a while and the usb led (white) goes high every 5/6 minutes for 1/2 seconds.
zeroG,
to me it sounds like your Yun is stuck in the boot process. There is a way to fix this.
We need to diagnose the issue.
With the YunSerialTerminal, type ifconfig and post that.
Then type, type iwconfig and post that.
Depending on the results we will know, where we are and if we can fix it.
The first command will let us know if your ethernet is working and what the IP is.
The second will let use know if the wifi is okay.
zeroG:
...
i opened the file and i found the "option disabled 0" line. How can i remove/comment it? I already modified text config files on putty using vi, but i don't know how to do that on the serial monitor
sed -i "s/option disabled '0'/option disabled '1'/g" /etc/config/wireless
roll back:
sed -i "s/option disabled '1'/option disabled '0'/g" /etc/config/wireless
Do as sonnyyu suggested and plug in the ethernet cable. If you have a router (or some other) that will use DHCP to assign an IP number when you plug in the cable, your are going to get a new IP number. You'll have to use the YunSerialTerminal program to get the new IP. After that you can login via SSH to work on the problem. It will be much easier that the YunSerialTerminal sketch.
Keep us updated, we'll walk you through this.
Jesse