Prelab 1: Preliminaries for the first lab

In this lab, you're going to set up the environment you will use for the rest of 132. Before you come to lab, it's important you start on a few things:

  1. Download and install Git, along with the SSH tool Git Bash.
  2. Download a Raspbian image

You should have at least 15 GB of available disk space for this lab (to hold the Raspbian disk image. You can delete it after your Pi is imaged.)

Throughout this entire lab (and this course), this web site assumes you are using the RHIT-supplied image of Windows, though it is possible to do most steps on other systems.

Get Git

Git is the most popular version-control software, a "free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency."

You likely already have Git installed. To check, click the windows button and type "git". If you see "Git Bash" show up, you have Git installed, so you can skip to the next step. Otherwise:

  1. Download Git for your computer from the Git SCM website. (You will probably want to click on "Windows" to get the one for your laptop.)
  2. Run the installer and follow the instructions. Choose the default settings.

Test an SSH Client

In this lab you will be connecting to other computers using a protocol called SSH. To do this, you need an SSH client. One such client is OpenSSH which is provided through the Git Bash shell on Windows (also native on Linux and Mac).

Open your SSH client, and connect to the following server with the given username and password.

 server:     bandit.labs.overthewire.org
 port:       2220
 login name: bandit0
 password:   bandit0

This can be done with the following command in Git Bash:

 ssh bandit0@bandit.labs.overthewire.org -p 2220

You should see something like the following.

Enter the password (note: it will not display as you type it). You've connected to the server if you see a prompt like

 bandit0@bandit:~$

You can log out of a server by hitting CTRL-D, or by entering the command logout.

Get Raspbian

When we begin using the Raspberry Pi devices in this class, you will use a distribution of Linux called "Raspbian". It's pretty big and takes a little while to set up, so it's important to download it and be ready to go.

Obtain the Raspbian Disk Image and save it on your local machine. (NOTE: if nothing happens when you click the link, it's because your browser is being careful. Instead, right-click the link and use "Save as..."; , It's really big, so you may want to put it somewhere that is not backed up. Download this from ON CAMPUS. It will be fast and not count against your quota. (If you must download from off-campus, you can obtain Raspbian from this website).

If you have your Rasbperry Pi, you can proceed to Lab 1 to get a head start on installing Raspbian.

You're Ready

Now that you've completed the prelab, you won't be sitting around waiting for downloads during class. When you come to lab, you'll be ready to get to work!