This document will guide you through installing Raspberry Pi. The tutorial is tested for Raspberry Pi 3 (Model B) but should also work for older Raspberry Pi 2.

In the following procedure, we will install the BigClown Raspbian Linux distribution. Raspbian is the official and most widely distributed Linux distribution for Raspberry Pi. BigClown maintains a modified version of this distribution that facilitates some steps and includes pre-installed packages that are key to BigClown.

Requirements

  • Raspberry Pi 3 (Model B)

  • MicroSD card with a minimum capacity of 4 GB

  • MicroSD Card Reader (+ optional SD Card Adapter)

  • Ethernet cable

  • Workstation or laptop

  • Router (or LAN switch) with the DHCP server set up

  • One of the following operating systems:

    • Windows 7, 8.x, 10 (32-bit or 64-bit)

    • macOS (tested on version 10.12.x)

    • Ubuntu (tested on version 16.04 LTS)

SD Card Preparation

In the following steps, we will prepare a MicroSD card for Raspberry Pi. Go to one of the supported platforms:

Instructions for Windows

  1. Insert the MicroSD card into the card reader.

  2. Download the current version of the BigClown Raspbian image:

    Download from GitHub
  3. Unzip the downloaded image.

  4. Write the downloaded image bc-raspbian-VER-armhf-rpi.img to the MicroSD card (replace VER with the actual version of the downloaded image).

  1. Insert the Micro SD card to the Raspberry Pi.

  2. Connect the Ethernet cable to the Raspberry Pi.

  3. Connect the USB power adapter to the Raspberry Pi.

  4. Log in to the Raspberry Pi using SSH. Detailed procedure is provided in the document Raspberry Pi Login.

Instructions for macOS

  1. Insert the MicroSD card into the card reader.

  2. Download the current version of the BigClown Raspbian image:

    Download from GitHub
  3. Open the Terminal application and go to the folder with the downloaded image, e.g.:

    cd ~/Downloads
    
  4. Unzip the downloaded image (replace VER with the actual version of the downloaded image):

    unzip bc-raspbian-VER-armhf-rpi.zip
    
  5. Search for the disk identifier (it looks like /dev/diskX):

    diskutil list
    
  6. You must unmount the disk (replace X with the correct disk identifier):

    diskutil unmountDisk /dev/diskX
    
  7. Write the downloaded image to the MicroSD card (replace VER with the actual version of the downloaded image and X with the correct disk identifier):

    sudo dd if=bc-raspbian-VER-armhf-rpi.img of=/dev/rdiskX bs=1m
    
  8. Eject the MicroSD card from the operating system (replace X with the correct disk identifier):

    diskutil eject /dev/diskX
    
  9. Insert the Micro SD card to the Raspberry Pi.

  10. Connect the Ethernet cable to the Raspberry Pi.

  11. Connect the USB power adapter to the Raspberry Pi.

  12. Log in to the Raspberry Pi using SSH. Detailed procedure is provided in the document Raspberry Pi Login.

Instructions for Ubuntu

  1. Insert the MicroSD card into the card reader.

  2. Download the current version of the BigClown Raspbian image:

    Download from GitHub
  3. Open the Terminal application and go to the folder with the downloaded image, e.g.:

    cd ~/Downloads
    
  4. Unzip the downloaded image (replace VER with the actual version of the downloaded image):

    unzip bc-raspbian-VER-armhf-rpi.zip
    
  5. Search for the disk identifier (it looks like /dev/sdX):

    lsblk
    
  6. You must unmount the disk (replace X with the correct disk identifier):

    sudo umount /dev/sdX?
    
  7. Write the downloaded image to the MicroSD card (replace VER with the actual version of the downloaded image and X with the correct disk identifier):

    sudo dd if=bc-raspbian-VER-armhf-rpi.img of=/dev/sdX bs=1M
    
  8. Eject the MicroSD card from the operating system (replace X with the correct disk identifier):

    sudo eject /dev/sdX
    
  9. Insert the Micro SD card to the Raspberry Pi.

  10. Connect the Ethernet cable to the Raspberry Pi.

  11. Connect the USB power adapter to the Raspberry Pi.

  12. Log in to the Raspberry Pi using SSH. Detailed procedure is provided in the document Raspberry Pi Login.

WiFi Setup on Raspberry Pi 3

The Raspberry Pi version 3 has added the ability to connect to a WiFi network.

The connection procedure is as following:

  1. Open the file for editing wpa_supplicant.conf:

    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
    
  2. Add to end of the file the following template and edit the appropriate items:

    network={
        ssid="wifi_network_name"
        psk="wifi_network_password"
    }
    

    For example (with multiple WiFi networks):

    country=CZ
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    
    network={
        ssid="nameofmywifi1"
        psk="passwordtomywifi1"
    }
    
    network={
        ssid="nameofmywifi2"
        psk="passwordtomywifi2"
    }
    
  3. Save the file (Ctrl+X) and confirm the file name (y + Enter).

  4. Restart the Raspberry Pi:

    sudo reboot
    
  5. Log in and verify using the iwlist command, that the connection is active.

Setup on OSMC

  1. Log in to the Raspberry Pi using SSH.

    • default login osmc

    • default password osmc

  2. Upgrade all packages:

    sudo apt update && sudo apt full-upgrade
    
  3. Install dependency for node-gyp

    sudo apt install build-essential
    
  4. Continue point 3 in section the section Setup on Original Raspbian

Chapters in this document:
Edit this page

We will inspire you!

You will get regularly our Clownsletter with real projects from other Makers. Do not miss it!

By sign up you will know how even you can inspire others and get €100 discount coupon!