Setup Raspberry Pi

Install Debian Wheezy

  1. Get the Raspbian image from: http://www.raspberrypi.org/downloads/
  2. Download Win32DiskImager from: http://sourceforge.net/projects/win32diskimager/ and install the software
  3. "Write" image to SD card with Win32DiskImager

Hands-on with the Pi - initial setup

  1. Put the SD card in the Pi
  2. Connect your Pi to a screen and keyboard
  3. Plug in the power
  4. Wait for the initial setup screen and do the following steps:
    1. Choose 1 Expand Filesystem, wait for a bit and select <OK>
    2. Choose 2 Change User Password, confirm the message and type in your desired password two times
    3. Choose 4 Internationalisation Options, choose I2 Change Timezone and wait for a bit. Afterwards choose your region and timezone and wait until you are returned to the initial setup screen.
    4. Press the right arrow on your keyboard twice and press enter
    5. Now a screen pops up, asking if you want to reboot, choose <Yes>
    6. Wait for

      raspberrypi login:

    7. Type in "pi", press enter. Now you see this

      raspberrypi login: pi
      Password:

    8. Type in your personal password from step 4.2 (if you have skipped this step, the password will be "raspberry" by default)
  5. Now the following is shown:
  6. pi@raspberrypi ~ $


Setup Router

This section is written for a TP-LINK WR1042ND Router. The settings are found in almost any router, but the terminology may differ. Search on Google for the exact settings for your router.
  1. Type in "ifconfig -a" to see the MAC address of your Pi. The first line of the output represents this address (in this case 00:08:C7:1B:8C:02). Write this down.

    pi@raspberrypi ~ $ ifconfig -a
    eth0      Link encap:Ethernet HWaddr 00:08:C7:1B:8C:02
              ...

  2. Go in your browser to 192.168.0.1 and login with your credentials
  3. Under IP & MAC Binding - Binding Settings, choose Add New..
  4. Fill in the MAC Address of your Pi and a high IP address that will never be used, like 192.168.0.180
  5. Press Save and see the entry added in the list
  6. Under Forwarding - Virtual Servers we have to add a few entries (Add New.., fill in the number in Service Port: and 192.168.0.180 in IP Address:):
  7. For the configuration of a few applications on the raspberry pi, we need the IP address. This can be found on the main page (Status), under WAN and then IP Address. Write this address down.

Install some programs on your pc

  1. Putty , install from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  2. FileZilla , install from https://filezilla-project.org/download.php?type=client
  3. XBMC , install from http://xbmc.org/download/ (Note: do NOT choose the "Raspberry Pi" download, but the OS of your pc)
next page