arduino yun web interface. Problem with password

Hi,

I received my arduino Yun and i tried to enter the default password at the web interface but the password "arduino" is not working. I tried to reset but nothing has changed. Then through the sketch, I also tried to communicate but a password is necessary and i've still the same problem.
So if anyone have an idea or have already met this problem,I will appreciate.

ensea2017:
I tried to reset but nothing has changed.

How did you try to reset it? Pressing and holding the "WLAN RST" button for 30 seconds should return it back to factory defaults. But be aware that it will only work when the Yun is fully booted. Make sure it is up and running (white USB LED is on) and give it a little more time. Then press and hold it for more than 30 seconds. When you release it, wait for the flashing lights to stop (could take a long time - many minutes) and wait for the white USB LED to come on again solid. Then try the default "arduino" password again.

Then through the sketch, I also tried to communicate but a password is necessary

I'm guessing you're trying to load a sketch by selecting the Yun's network address on the Arduino IDE's Port menu. This does indeed require the password for the Yun. Instead, plug the Yun into your computer using the micro-USB connector, and select the corresponding serial port in the Arduino IDE Port menu. That won't require a password.

So if anyone have an idea

Try plugging in the micro-USB port to your computer, and load the YunSerialTerminal sketch. Then connect to it with the Serial Monitor. (One tip: I've found that with the latest IDE, after loading a sketch over USB, the Port menu changes to a different port number, and I have to switch it back to the original port number before I can open the Serial Monitor.)

Once you have the YunSerialTerminal sketch loaded, you can access the Linux command line through the Serial Monitor and the micro-USB port, and no password is required. Once connected, and using the Serial Monitor:

  • Click the "Send" button, and you should see the Linux command prompt.
  • Enter "passwd" (without quotes) in the edit box and click send. You will see a prompt to enter a new password.
  • Enter your new password in the edit box and click send. You will be prompted to re-enter the password.
  • Enter the same password in the edit box and click send. It should save the new password.

At this point, the password should be reset, and you should be able to access the Yun using any of the normal methods. Note that after entering the password the first time, it may complain about it being a bad password for various reasons. This is only a warning, and it will still let you set that password if you confirm it - while it's a good idea to choose a strong password, it is not required.

Note that if you had a sketch loaded that was using the Bridge, you may have to cycle the power on the Yun after loading the YunSerialTerminal sketch, and before connecting with the Serial Monitor.

How to ensure the boot? this white led is not on when i plug the micro USB.

Unfortunately, the white USB LED is poorly labeled. It may have been the intention when it was designed to use that as a USB indicator, but at this point is has nothing to do with USB. It is lit once Linux has fully booted, and then stays lit, serving no other purpose.

As an alternative, if the Yun appears as a WiFi access point, and you can connect to it and load the page that asks for the password, it should be safe to assume that Linux has finished booting.

ensea2017:
How to ensure the boot? this white led is not on when i plug the micro USB.

@ensea2017,
the LED on the Yun, labelled USB is intended for the HOST USB (which is connected to the Linux side)

Notes on Arduino Yun LEDs

Jesse

jessemonroy650:
The LED on the Yun, labelled USB is intended for the HOST USB (which is connected to the Linux side)

Your Yun must behave differently than mine, where the USB light comes on near the end of booting, and stays on. Plugging/unplugging/accessing anything on the USB host port has no effect on it.

Using the information on your reference page (nice job, BTW) it appears my USB LED is set to be on all the time at full brightness, which matches the observed behavior:

255
root@Yun4:/sys/class/leds# cat ds\:green\:usb/trigger
none switch0 [default-on] timer phy0rx phy0tx phy0assoc phy0radio phy0tpt netdev

This is on system version 1.5.3.

BTW, thank you for the mention at the bottom of your reference page, but I don't think that discussion relates to the content of the page: it is talking about controlling the L13 LED connected to the '32U4 processor, and not any of the Linux LEDs. It is only tangentially related to Linux since it's using a sketch to monitor the handshaking line to determine that Linux is booted.

Hello,

I'm working on windows. I tried to reset but I'm still at the same state: the password is wrong. I'm looking for removing the password but I don't know how. Maybe through the Linux's terminal. It's strange why the password "arduino" is wrong? I bought arduino in Europe maybe it's another password? The web page is not arduino but Linino.org.

ensea2017:
I'm looking for removing the password but I don't know how

Up above, I explained step-by-step how to do that using a USB connection. Using a Linux terminal session isn't going to help, since the first thing you will need to do is log in, using the mystery password.

The web page is not arduino but Linino.org.

Well, that's an important clue. Did you try looking for an answer there?

Try using the password "doghunter"

If that works, look at this discussion currently going on: http://forum.arduino.cc/index.php?topic=362052.0

You resolve my problem sir. Thank you so much the password was doghunter.