Raspberry Pi – Initial Setup Tasks

So you have your Raspberry Pi up and running an OS, but you’re not done yet. Here are some initial tasks to get you started:

**For each of these steps, I am assuming you are using Wheezy and a wireless NIC. I’ll be updating this post as I configure the Pi.

Setting a static IP address

You’re going to be running some neat server-type service on your Pi aren’t you? Well you better get a static IP in place. The IPs I use below will need to be changed to whatever subnet you are using at your home.

  1. Open a terminal window and type the following:
    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

    This command will open up the configuration file as root in the nano text editor. The file contains information about the wireless network you joined when you first setup the
    operating system.

  2. Add the following lines:
    id_str="home_static"
    priority=1

    Press CTRL O to write the file and exit nano. These two lines will add an identification to the NIC when it is connected to the wireless network specified in the file. We will use this
    identifier later on so remember it.

  3. The next step is to configure the interface configuration file. At the terminal window, type the following:
    sudo nano /etc/networking/interfaces

    Add the following lines to the file:
    iface home_static inet static
    address 192.168.0.5
    netmask 255.255.255.0
    gateway 192.168.0.1

  4. Now reboot your Pi. At the terminal window type the following command:
    sudo shutdown -r now

Rapsberry Pi, The Wallet-Sized Computer

Work and the like has kept me busy, but I finally have some time to post.

Last week I got around to purchasing a Raspberry Pi. If you’re not familiar with the Raspberry Pi project, you can read more about it here. Essentially, the Raspberry Pi is a wallet-sized computer (no, not George Costanza size) that can run variants of Linux.

[columns count=”2″]
The device comes equipped with the following ports:

  • 2x USB 2.0
  • HDMI
  • S-VIDEO
  • Audio Out
  • RJ 45
  • Mini-USB Port for Power

300px-RaspberryPi
[/columns]

You can purchase them from a variety of sites, I went with Amazon (Amazon Prime for the win!). With your purchase you’ll want to pick up an SD card, wireless card, an enclosure, and a mini-USB charger (I used an old cell phone charger). I also opted to go with a powered USB hub because I was greedy and wanted more USB ports. You will also need a way to access the SD card on your computer. I ended up hooking up an old digital camera to my computer and using that to get the files on the SD card. Here is a listing of what I purchased on Amazon:

There are a number of guides out on the internet that provide instructions for installing the operating system on the Pi. Berryboot worked perfect for me. The site has instructions, but I’ll give you the short. Download the ZIP to your computer, extract it to an SD card, put the SD card into the PI, and boot. The wizard will guide you through the rest.

I’ll update the site with more information as I begin using the device.