Skip to content

Getting Started with the Raspberry Pi

2012 June 1
by Tedb0t

The Raspberry Pi is a very low-cost, very small computer capable of running Linux that also provides GPIO (General Purpose Input/Output).  As such, it’s something of a hacker’s dream and there’s been a ton of buzz around it.  I ordered two a couple of months ago and just got them in.  Here’s what you need to get started.

First off, you’ll need a power supply that supplies at least 1A reliably.  They say it’ll run on less, but I tried with an older supply and the ethernet kept cutting out.  I ended up using this USB adapter with a USB micro cable.  For storage you’ll need an SD card that’s at least Class 6 (I used this one and it’s working great so far). Other cards can work well too, check their Verified Peripherals wiki.

Next, you need to get an operating system on your SD card.  I’m using the suggested Debian Squeeze package via a very easy and convenient python script called RaspPiWrite (OSX and Unix only as of writing).  Follow the instructions there and you’ll have a R-Pi-ready OS in about half an hour or less.

Stick your SD card in your Pi, attach a monitor & keyboard (I used an old CRT TV that was nearby since the R-Pi only has HDMI or component video out), and plug the power in, and you’ll see the glorious spew of a linux boot sequence!  Your login is pi / raspberry.

Since I don’t want to keep my Pi connected to a keyboard and monitor, I need to be able to SSH into it.  They made this easy. Just connect some ethernet and do:

sudo mv /boot/boot_enable_ssh.rc /boot/boot.rc

Then reboot (

sudo reboot

) and towards the end of the boot sequence, when it starts SSHd, it should tell you the R-Pi’s IP address.  At any other time you can do

ip addr

or even

ip addr | grep -e 'inet .* eth0'


Let me know if this worked for you, and happy hacking! This is only the tip of the iceberg, so look forward to more Raspberry Pi tutorials!

Related Posts:

18 Responses
  1. RGP permalink
    June 3, 2012

    If this is a guide for beginners, how about defining “SSH”

    • leolodreamland permalink
      June 13, 2012

      Just click the link.

  2. June 11, 2012

    You state that an SD card of at least Class 6 is required, yet many people have found that their Class 4 cards (which are probably more commonly available) work fine with the Raspberry Pi.

    A lot have experienced problems with Class 10 cards though.

    • Ted Hayes permalink
      June 11, 2012

      True, there are a number of cards that work well and many that don’t, of all classes.  There’s a compendium of SD card results here:  I’ve updated the post with this information.

  3. leolodreamland permalink
    June 13, 2012

    What’s the root folder for the os?

    • Ted Hayes permalink
      June 13, 2012

      What do you mean?  The home directory for the pi account is /home/pi.

      • June 13, 2012

        i copied a file to the root of the sd card and couldn’t see it in the file browser

      • June 13, 2012

        this is when i have the sd card inserted into my mac. there are no folders/file structure/how do i get into that?

        • June 14, 2012

          The filesystem on the SD card is ext4, which can only be ‘seen’ by Linux.

  4. Ted Hayes permalink
    June 13, 2012

    What do you mean?  The home directory for the pi account is /home/pi.

  5. none permalink
    June 23, 2012

    RasPiWrite is for Apples.

  6. Hsyntsy permalink
    June 28, 2012

    What’s the password for SSH which is asking when we use PuTTY?

    • Hsyntsy permalink
      June 28, 2012

      And what will we choose the IP adsress when using PuTTY?

  7. Dan Kaufman permalink
    December 28, 2012

    I get “mv: cannot stat `/boot/boot_enable_ssh.rc’ : No such file or directory”

  8. Mark Leone permalink
    March 30, 2013

    This seems to have been abandoned. There are over 40 pull requests on github with no action, fixing a syntax and indentation error. And the domain hosting the xml file that the script tries to parse is now up for sale. Some helpful information here, but you’ll have to use the Unix dd command as explained in the Ras Pi Downloads page to get the OS installed onto the SD card.

Trackbacks and Pingbacks

  1. Running Puredata on the Raspberry Pi | Limina.Log
  2. Tutorial: How to use your Raspberry Pi like an Arduino | Limina.Log
  3. Getting Started with the Raspberry Pi | Limina.Log | FRANCESCO DI FUSCO

Comments are closed.