User Tools

Site Tools


boards_setup:raspberrypi

Raspberry Pi

This tutorial will show you how to setup your Raspberry Pi to work with Wyliodrin.

You will need

  • A Raspberry Pi Model B 1)
  • An SD Card with minimum 4 GB (class 10 is recommended)

Setting up the board

Setting up the board requires the following steps:

  1. Adding the board to Wyliodrin
  2. Write the image to an SD Card
  3. Download the board configuration file and write it to the SD Card
  4. Insert the SD Card into to Raspberry Pi and connect the board to a wired network

Sign in into your Wyliodrin account. On the Wyliodrin Projects page, click the Add Board button. You will be asked to provide the name and the type. Enter any name you like and select the Raspberry Pi board type.

Wyliodrin SD Card Image

Once the board has been added to Wyliodrin, you will see a short tutorial page on how to activate the board.

The next step that you need to take is to download and unzip the Wyliodrin SD Card Image for the Raspberry Pi and write it on an SD Card. The card need to be at least 4 GB.

Writing the image to an SD Card is different depending on your system.

Windows

  1. Insert the SD card into your SD card reader and check what drive letter it was assigned. You can easily see the drive letter (for example E:) by looking in the left column of Windows Explorer. You can use the SD Card slot (if you have one) or a cheap Adapter in a USB slot.
  2. Download the Win32DiskImager utility (it is also a zip file).
  3. Extract the executable from the zip file and run the Win32DiskImager utility; you may need to run the utility as Administrator! Right-click on the file, and select 'Run as Administrator'
  4. Select the unzipped Wyliodrin SD Card Image for the Raspberry Pi.
  5. Select the drive letter of the SD card in the device box. *Be careful to select the correct drive; if you get the wrong one you can destroy your data on the computer's hard disk!* If you are using an SD Card slot in your computer (if you have one) and can't see the drive in the Win32DiskImager window, try using a cheap Adapter in a USB slot.
  6. Click Write and wait for the write to complete.
  7. Exit the imager and eject the SD card.

Linux

  1. Insert the SD card into your SD card reader. The card will appear in /dev usually under the name of mmcblk0.
  2. Open a terminal and enter the following command :
dd if=wyliodrin_raspberrypi_image_file of=/dev/device_name

where wyliodrin_raspberrypi_image_file is replaced the name of the unzipped Wyliodrin SD Card Image for the Raspberry Pi and /dev/device_name is replaced with the path to the SD Card, usually it will be /dev/mmcblk0.

  1. Wait until the process has finished.
  2. Eject the SD Card.

Mac OS

  1. Insert the SD Card into the SD Card reader or use a cheap SD Card adapter for your computer.
  2. Download PiWriter utility. This will be used for writing the Wyliodrin SD Card Image.
  3. Run PiWriter. You will be prompted for an administrator user and password. You will need to have adminustrator right to use PiWriter. If unsure what to do, just type in your pasword.
  4. Follow the instructions on screen
  5. When prompted to select a file, select the unzipped Wyliodrin SD Card Image for Raspberry Pi.

If PiWriter fails, please use this version of PiWriter

Advanced Users

If you are an advanced user and w
ish to install Wyliodrin on your existing SD Card, you may
use our installation script.

  1. Download on your Raspberry Pi the https://github.com/Wyliodrin/wyliodrin-server Server repository, master branch
  2. Run scripts/install_raspberrypi.sh
  3. Don't delete the folder where Wyliodrin Server was downloaded
  4. If you want to setup wireless networking, your /etc/network/interfaces should look like this
auto lo 
        
iface lo inet loopback 
iface eth0 inet dhcp   
                       
allow-hotplug wlan0    
iface wlan0 inet manual  
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf   
      
# this line sets uses wyliodrin configuration file   
wpa-roam /etc/wireless/wireless.conf   
iface default inet dhcp   

Please read the script before running it

Board Activation

Once you have written the Wyliodrin SD Card image t
o the card, you will need to download and copy to the card the Wyliodrin configuration file. Just go to the Wyliodrin Projects page, click the icon on the right next to the boards name and select Configure. Read the instructions on screen, you will find a link to a file called wyliodrin.json.

Insert the SD Card into your computer. Once it apperas, copy the file wyliodrin.json directly on the card. Make sure the file is named exactly wyliodrin.json.

Please be aware that each board has a different configuration file. Even if they are all called wyliodrin.json, the content is different for each board that you want to activate.

Eject the card from you computer and insert it into the Raspberry Pi. Connect the Raspberry Pi to an Internet cable and plug it in. You will have to wait a little, the board will appear as online on the Wyliodrin Projects page

You have successfully activated the Raspberry Pi.

Troubleshooting

If something goes wrong, please contact us and we will help you solve the problem.

1) www.raspberrypi.org, Raspberry Pi is a trademark of the Raspberry Pi Foundation
2) If you are and advanced user, you may install Wyliodrin Server without download the SD Card Image
boards_setup/raspberrypi.txt · Last modified: 2015/10/15 17:16 by alexandru.radovici