Arduino Yún First Setup Guide


The Arduino Yún is a truly incredible device that is capable of so many Internet of Things projects that the standard UNO board isn’t. It is, however, a lot harder to configure the first time you get your hands on it. You’ll need to set up the Yún to your requirements. In this tutorial, I will show you exactly how to configure the Yún with your WiFi network or over ethernet, how to load a boot image of Lilino OS onto the Yún and how to use your Yún as a mini Linux computer using Putty or another Linux machine such as a Raspberry Pi.

You can find my review of the Arduino Yún here

Now then, let’s get started.

In this Tutorial

  1. What you will need
  2. Configuring the Internet (Wired/Wireless)
  3. The Online Interface
  4. Updating the Operating System
  5. Using the Yún as a Linux computer
  6. Conclusion/Further Reading

1. What you will need

  • Arduino Yún or Yún mini
  • Mini USB to USB cable
  • Micro SD Card
  • WiFi connectivity or ethernet cable and somewhere to plug it into
  • A Windows or Linux computer

2. Configuring the internet



Plug in your ethernet cable, power it on, wait a minute or so. Then follow the instructions further down on configuring the online interface.


The great thing about the Yún is that it can act as an access point. If you don’t know what that means, it means that youDSCN4127.JPG can connect your computer to the Yún as a WiFi network.

When you first power on your Yún it will create a WiFi network.

Connect to that with your computer.

It should be fairly obvious which one is the Arduino, either ArduinoYUN and some random numbers or Lilino with some random numbers after it.

3. The Online Interface

After you have done one of the two above options, type into your web browser, or http://arduino.local.

This window should then open.


Type in the password, ‘Arduino’, or if you’ve bought one from, ‘doghunter’.

It will then go to another screen, shown below.


This is where you can personalize your Arduino. You can give it a name, set a password, set up your wireless internet if you want to, and update the operating system (which we will be doing in a moment).

If you have connected with WiFi you will need to click ‘CONFIGURE’ and it should be self-explanatory from there. Enter your WiFi details, then click the button at the bottom of the page, and it will say it is resetting. Whilst it is resetting, connect your computer back to your normal wired/wireless network, and type into your web browser, or http://arduino.local again. The same screen should pop up.

4. Updating the Operating System

Now you will need to grab your micro-sd card and put the operating system on it, which will allow you to use the most recent version of Lilino-OS. Download the file called OPENWRT Yún Upgrade Image from here and put it on an SD card.


If you have used the SD card before, you will need to format it. To do that, download SD Formatter and format the SD card.


Now, insert the SD card into the Arduino.

Now, go back to the wireless interface by typing, or http://arduino.local into the web browser. Sign in using the password you set earlier.

Once you’re on the main screen, find the big reset button at the bottom of the page. If this shows up, you have put the file on the SD card correctly and the Yún has detected the updated operating system.


Press the reset button, and wait until the board has fully reset itself. When it has reset, you have the latest version of the OS onto your SD card and it will now use that instead of the one pre-installed on the board.

5. Using the Yún as a Linux computer (connecting to it wirelessly)

To use the Yún as a Linux computer, you can access it wirelessly using Windows (or Linux).

First of all load up the Arduino IDE and go to Tools -> Port. There is no need to plug in the Arduino. On the list of available ports, the Arduino Yún should be listed following a load of numbers and decimal points. Note this down! This is your Yún’s IP Address, which we will need later on. If the Yún does not show up, you’ve made an error. You may need to wait a few minuites for it to show.


If you are using a Linux computer to connect, see below

If you are using Windows, you will have to download Putty. This is a tool that will let you take control over the board wirelessly on your Windows computer. Download Putty from the link above, and open it up.

When putty opens, type in the IP Address you just noted down from the Arduino IDE into the box as shown below. Leave the port as 22 and leave it as SSH.


Click ‘Open’ and wait for it to initialize.

After a few moments, a black box should appear. It will prompt you to log in. Type ‘root’ and press enter. Wait until another line shows which will ask you to enter a password.


This is the password you set earlier in the online interface. Note that, when typing the password, no characters will show. This is simply a Linux security feature. Type your password and press enter.

When you have typed in your login details, the command line will open and you can use your Yún as a mini Linux computer, with a full command line interface. Well done!


If you are using Linux, open a new terminal and type ssh, followed by your Ip Address. Then follow the same steps, sign in with root and your password you set earlier.

6. Conclusion/Further Reading


Now you have your Arduino Yún ready for further projects, as well as being able to use it as a fully functioning (non-GUI) Linux computer.

If you want ideas for things to do now you have your Yún set up, see the projects on Arduino Create.

See my older content on my YouTube channel, including a beginner’s guide to Arduino.

Thank you for visiting Pi and Chips, I hope this tutorial was useful.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s