Raspberry Pi: Quick Start Guide (under Windows)

Raspberry Pi: Quick Start Guide (under Windows)

You want to quickly install Debian on your Raspberry and allow SSH access from outside?

Then this short guide should meet your needs.

First you have to download a suitable Debian image, best here (external link).

After that you can download and install Balena Etcher (external link).

Now insert the SD card, unpack the downloaded image, select the image in Balena Etcher and flash it to the SD card.

Once this is done, insert the SD card into the Raspberry and connect a monitor and a keyboard to the Raspberry.

After booting you can login with the username root without password. In this step we set the password with the command

passwd

to set a password.

Next we change the SSH configuration and open it with nano

nano /etc/ssh/sshd_config

At any place – sensibly under “Authentication” – we add the following line

PermitRootLogin yes

With Ctrl + X we save the file and enable the autostart and the SSH service with

sudo systemctl enable ssh
sudo systemctl start ssh

Now we can disconnect monitor and keyboard and access the Raspberry from our computer (this can be done via SSH with the tool putty).

By the way, we should not forget to switch off the energy saving modea, otherwise the Raspberry will switch off or put itself into energy saving mode by itself:

systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Leave a Reply

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