Setting up a Raspberry Pi without a monitor

This tutorial presupposes that you’re using Raspbian Wheezy.

  1. Install Raspbian Wheezy on your SD card by following these instructions.
  2. Open the SD card’s root partition, the one not namedboot.
  3. Open /etc/networking/interfaces in a text editor.Find this line:iface eth0 inet dhcp

    Replace it with this:

    iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0

    This sets your static IP address to 192.168.1.100. Change that if you want. Don’t mess with the netmask.

  4. Open /etc/resolv.conf.Find this line:nameserver 192.168.1.1

    Replace it with this:

    nameserver 8.8.8.8

    This sets your DNS nameserver to Google Public DNS. There are other nameservers out there, but Google is robust.

  5. Eject your card and put it in your Raspberry Pi. Connect it to the same network as the computer you want to ssh into it from and power it on.
  6. ssh pi@192.168.1.100 or the appropriate IP address. Success!
  7. Do whatever else you want to do to your Pi.

Leave a Reply

Your email address will not be published. Required fields are marked *