Table of Contents

Section 3 - Setting up Raspbian

Install Raspbian Lite

This section describes the basic installation of Raspbian onto your Raspberry Pi. If you know how to install Raspbian, and already know how to connect up everything, please feel free to skip to the next section!

  1. Download the latest version of Raspberry Pi OS Lite onto your hard disk. You may obtain it from:
    https://www.raspberrypi.org/software/operating-systems/
    1. At the time of writing, the latest version was December 2nd 2020.
  2. Download and install Etcher, the recommended image burner for Raspberry Pi. You can download Etcher at:
    https://etcher.io
  3. Insert the MicroSD memory card into the memory card reader.
  4. Run Etcher.
  5. You can flash the operating system images directly from the downloaded ZIP-file, so go ahead and select the image file, and flash it to the memory card. Make sure you're selecting the right drive to prevent data loss!
  6. After the flash completes, you may receive a Windows popup to format the memory card. Do not format, just hit Cancel.
  7. Etcher will report the flash has been successful.
  8. The memory card is now ready for use.

Headless installation

On this tutorial, we will perform a headless installation. What this means, is we will not be needing a physical monitor or a keyboard to set up this Raspberry Pi. By doing this, we will eliminate the need to connect anything that is not needed on the Raspberry. After we've completed, you should be able to access your Raspberry Pi using an SSH client to do further setup. Feel free to hook up a physical keyboard, and monitor if you so prefer.

Physical connections

Once you have flashed the Raspbian operating system image to the SD memory card, and saved the SSH.TXT text file, do the following:

  1. Insert the memory card into the Raspberry Pi.
  2. Following the above picture as a guide,
    1. Plug in your serial-to-USB adapter.
    2. Plug in an Ethernet cable.
    3. Connect a Micro USB power cable to the Raspberry Pi. The system should will start booting up immediately.

Note: you may choose to connect the Raspberry Pi over Wi-fi to simplify connections, but for the sake of the tutorial, we'll work with wired connections for now. If you do decide to switch over to WLAN, there are instructions on the next section how to do so.

Powering up the Raspberry Pi

  1. It could take up to five minutes to boot. Watch the blinking green activity light on the Raspberry Pi indicating that the Raspberry is booting up (see image below with the red arrow). Once the blinking stops, wait another 15-30 seconds before proceeding. If the activity light of Raspberry does not blink at all after powering up, the MicroSD card may not be properly inserted, it may not have been properly flashed or the image used was corrupted. You may need to retrace your steps up to this point.
  2. Verify that the Raspberry Pi is connected to the network. You will see the Ethernet activity lights turn on:
  3. By now the Raspberry Pi should be booted, and it should be connected to your network.

Find out your Raspberry's IP address

  1. To locate the IP address of your Raspberry Pi, easiest way is to log on to your router and find the IP there.
    1. By default, most routers homepage can be reached at http://192.168.0.1/, http://192.168.1.1/ or http://10.0.0.1/. Most routers username and password is admin/admin, root/root, root/password or a combination thereof. The correct default password can be found in the manual of the router.
  2. Once you have logged on to your router, look for connected network devices. You should see the Raspberry Pi and it's IP address. In my case it is 10.0.16.141. Save this IP address for later use.
  3. Alternatively you can use the official guide at:
    https://www.raspberrypi.org/documentation/remote-access/ip-address.md
  4. Alternatively you can use the Raspberry Pi Finder app from Adafruit at:
    https://learn.adafruit.com/the-adafruit-raspberry-pi-finder/overview

Connect over SSH

Basic configuration and network settings

# Example static IP configuration:
interface eth0
static ip_address=10.0.16.50/24
static routers=10.0.16.1
static domain_name_servers=8.8.4.4

Go ahead and continue to the next part of this guide, where I will show you how to install the Virtual Modem script!

Skip to other sections


Get In Touch With Us!

Share your thoughts and report bugs on Discord.