You will need
- Micro SD card
- Micro SD card reader
- Git bash if on Windows
To do so follow these steps:
- Download the latest version of Raspbian. Raspbian Buster with desktop and recommended software is the safest way to go now
- Download and install a software like RUFUS or balenaEtcher
- Unzip Raspbian and prepare your SD card. Make sure that there is nothing critical on the SD card as it will be formatted
- Use the etcher to make the SD card bootable with Raspbian on it
If you insert the SD card into the raspberry pi and power it. The system should boot up normally.
If you want to connect to the raspberry pi without using any mouse and keyboard setup a good way is to do it with another PC connected on the same network. In order to do so, a SSH connection needs to be done between the pi and the PC. The pi will need to have a proper internet connection to the same network as the PC and SSH enable.
All these things can be done quite easily in Raspbian itself but doing without any access to the pi mouse and keyboard could be challenging.
- Insert the SD card on you PC
- Use a good tool like Notepad++ to edit files
- The SD card should be named "boot". Into this
boot
drive, create a file calledwpa_supplicant.conf
using Notepad. Make sure that the extension isconf
and notconf.txt
- Write this into the file and change to match your Wi-Fi SSID and password:
country=CH # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="YOUR_NETWORK_NAME"
psk="YOUR_PASSWORD"
key_mgmt=WPA-PSK
}
You will need to have Git bash installed on windows or using the terminal on Mac
- Insert the SD card on you PC
- Go with the console to the
boot
drive. On Git bash:cd /THE_LETTER_OF_THE_BOOT_DRIVE
On Mac:cd /Volumes/boot
- Write down
touch ssh
This should create an empty file called ssh
without any extension attached. The system will recognize this on boot up and activated SSH for you.
Now that you have everything setup, the SD card can go into the pi and the pi should powers up and connect to the internet.
Connecting with SSH is really handy you can do so by using a SSH client like Putty.
In Putty use the raspberry pi local IP address to connect to it. Then the default user is pi
and the password raspberry
. Make sure to change those if the pi goes into production environment.