Raspberry Pi

The new page is here

This focuses on Raspberry Pi 3 with Raspbian Stretch. Originally written in January 2018.

Quick Start

Enable SSH Host

Again, with raspi-config, go to Interfacing Options, SSH. Reference.

It is possible to connect using SSH keys instead of password. More details here.

Python 3

Set Python 3 as default. Create ~/.bash_aliases file and add "alias python='python3'".

    • How to change from default to alternative Python version on Debian Linux (link)

Useful Commands

This is a quick reference to useful commands. Most will need to be invoked using "sudo".

    • raspi-config
    • apt-get install <package>
    • apt-get upgrade

Hardware

Some additional hardware is either necessary or just handy:

    • microSD card - required
    • power supply with micro USB cable - required
    • HDMI cable, keyboard - needed for the first setup
    • network cable (or hub)
    • 3G USB modem
    • powered USB hub, for attaching drives and other USB devices
    • USB memory stick, a fast additional storage option
    • external USB-powered HDD