Giter Club home page Giter Club logo

arduinoyun_experiments's Introduction

ArduinoYunFactoryReset

A small write up on how to reset Arduino Yun when you think you might have messed up the configuration

Step 1 - Upload the Yun Serial Terminal Code in the Yun from examples in the IDE. If you are not able to upload it for various reasons, use the reset button for 324 and try again. Once this is done, open the serial termnial and select NEWLINE at the bottom right of the page. Remember, all the commands you want to write will be written using the small writing bar on top of the page. To enter the commands to the console, press enter.

Step 2- Wait for a few minutes, this is the time when your Linux is booting up, be patient. You will see a screen loading a few commands etc for bootup. Wait till you see Press f- for failsafe mode. There is a way to reset your arduino from here too, but I have tried a few times and failed to make it work from here. Wait till you seen root@(none)/#

Step 3- At this place, press ls and see all the files.

Step 4 -Go to cd/usr/bin and execute a command using this ./reset-to-factory-anyway . Once the command is executed, you should reboot your Yun using reboot.

At this point let me also remind you to go through the code for serial teminal, to log in as root and follow above commands when you see jff2 init , press 1 and enter. This will make your systems connect at 115200 baud.

If all the steps are executed , you will see that the above process will follow and finally you will be logging in as root@(Arduino)# . When you see that, check you Wifi network Manager, you will see Arduino Yun XXXX there. You can now set the password and start from scratch. If you still don't see that, that could be because by default the OpenWrt comes with wifi disabled. So what you should do is use this command : uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi In response you will receive something like this:

root@Arduino:/# uci set wireless.@wifi-device[0].disabled=0; uci commit wireless ; wifi Configuration file: /var/run/hostapd-phy0.conf Using interface wlan0 with hwaddr 90:a2:da:f2:1a:39 and ssid "Arduino Yun-90A2DAF21A39" wlan0: interface state UNINITIALIZED->ENABLED wlan0: AP-ENABLED

And after this you will see the WIFI switched on. All the modules that you install are going to take up the 16MB space given on board, my advice is to insert an external memory card and start a file system on that to make things work.

In case things are not working out, just write to Arduino, the team is AMAZING, they will help you out :)

This goes without saying , what I have written above is my own test, in case you can suggest any improvements, feel free to write back to me.

arduinoyun_experiments's People

Contributors

rishigb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.