RaspberryPi Quickstart

Reference for setting up Raspberry Pi


Materials Needed

  • SD Card: I recommend an 8GB class 4 SD card – ideally preinstalled with NOOBS or an OS Image.
  • WiFi Dongle:Raspberry Pi WiFi Adapter / Dongle;Verified USB WiFi Adapters for the Raspberry Pi
  • Display and connectivity cables: HDMI or DVI {requires adapter) will work.
  • Keyboard and mouse: I use the Logitech K400 without any issues.
  • Power supply: Use a 5V micro USB power supply to power your Raspberry Pi. Be careful that whatever power supply you use outputs at least 5V insufficient power will cause your Pi to behave in strange ways.


To get started with Raspberry Pi you need an operating system. NOOBS (New Out Of the Box Software) is an easy operating system install manager for the Raspberry Pi.

  1. Using a computer with an SD card reader, visit the Downloads page.
  2. Click on the Download ZIP button under ‘NOOBS (offline and network install)’, and select a folder to save it to.
  3. Extract the files from the zip.
Format your SD card

It is best to format your SD card before copying the NOOBS files onto it. To do this:

  1. Visit the SD Association’s website and download SD Formatter 4.0 for either Windows or Mac.
  2. Follow the instructions to install the software.
  3. Insert your SD card into the computer or laptop’s SD card reader and make a note of the drive letter allocated to it, e.g. G:/
  4. In SD Formatter, select the drive letter for your SD card and format it.
Drag and drop NOOBS files
  1. Once your SD card has been formatted, drag all the files in the extracted NOOBS folder and drop them onto the SD card drive.
  2. The necessary files will then be transferred to your SD card.
  3. When this process has finished, safely remove the SD card and insert it into your Raspberry Pi.

Plugging in your Raspberry Pi

Before you plug anything into your Raspberry Pi, make sure that you have all the equipment listed above to hand. Then follow these instructions:

  1. Insert your SD card into the SD card slot; be careful with the cards orientation.
  2. Plug in your dongle for the USB keyboard and mouse.
  3. Make sure that your monitor or TV is turned on, and that you have selected the right input (e.g. HDMI 1, DVI, etc)
  4. Connect your HDMI cable from your Raspberry Pi to your monitor.
  5. Plug in an ethernet cable or, at a later time, setup your WiFi.
  6. Plug in the micro usb power supply; this action will turn on and boot your Raspberry Pi.
  7. If this is the first time your Raspberry Pi and NOOBS SD card have been used, then you will have to select an operating system and configure it. Follow the NOOBS guide to do this.

First Boot

  1. Plug in your keyboard, mouse and monitor cables.
  2. Now plug in the USB power cable to your Pi.
  3. Your Raspberry Pi will boot, and a window will appear with a list of different operating systems that you can install. We recommend that you use Raspbian – tick the box next to Raspbian and click on Install.
  4. Raspbian will then run through its installation process. Note this can take a while.
  5. When the install process has completed, the Raspberry Pi configuration menu (raspi-config) will load. Here you are able to set the time and date for your region and enable a Raspberry Pi camera board, or even create users. You can exit this menu by using Tab on your keyboard to move to Finish.
Logging in and accessing the graphical user interface
  1. Once your Raspberry Pi has completed the boot process, a login prompt will appear.
  • Default Username: pi
  • Default Password: raspberry
  • Note: You will not see any writing appear when you type the password. This is a security feature in Linux.


  • After you have successfully logged in, you will see the command line prompt pi@raspberrypi~$
  • To load the graphical user interface, type startx and press Enter on your keyboard.


Setting WiFi up via the Command Line

This method is suitable if you do not have access to the graphical user interface normally used to set up WiFi on the Raspberry Pi. It is especailly suited for use with a serial console cable if you don’t have access to a screen or wired Ethernet network. Also note that no additional software is required; everything you need is already included on the Raspberry Pi.

Getting WiFi network details

To scan for WiFi networks, use the command sudo iwlist wlan0 scan. This will list all available WiFi networks along with other useful information. Look out for:

  1. ESSID:"testing". This is the name of the WiFi network.
  2. IE: IEEE 802.11i/WPA2 Version 1. This is the authentication used; in this case it is WPA2, the newer and more secure wireless standard which replaces WPA1. This guide should work for WEP, WPA or WPA2, but may not work for WPA2 enterprise.
  3. You will also need the password for the WiFi network. For most home routers this is located on a sticker on the back of the router. The ESSID (ssid) for the network in this case is testing and the password (psk) testingPassword.
Adding the network details to the Raspberry Pi

Open the wpa-supplicant configuration file in nano:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Go to the bottom of the file and add the following:


In the case of the example network, we would enter:


Now save the file by pressing ctrl+x then y, then finally press enter.

At this point, wpa-supplicant will normally notice a change has occurred within a few seconds, and it will try and connect to the network. If it does not, either manually restart the interface with sudo ifdown wlan0 and sudo ifup wlan0, or reboot your Raspberry Pi with sudo reboot.

You can verify if it has successfully connected using ifconfig wlan0. If the inet addr field has an address beside it, the Pi has connected to the network. If not, check your password and ESSID are correct.

Update and Upgrade

You should first run update, then upgrade; neither of them automatically runs the other.

  • apt-get update updates the list of available packages and their versions, but it does not install or upgrade any packages.
  • apt-get upgrade actually installs newer versions of the packages you have. After updating the lists, the package manager knows about available updates for the software you have installed. This is why you first want to update.

Install Linux Software


sudo apt-add-repository ppa:midori/ppa && sudo apt-get update -qq && sudo apt-get install midori


sudo apt-get install gedit-plugins