You got your fresh Raspberry Pi, but you lack an external keyboard, mouse and monitor? Don't worry there's an easy way to configure your pretty microcomputer. All you need is a little patience and some beer.

First step of configuring Raspberry Pi supposedly should be the hardest. You need to install software allowing you to mount ext4 partition, and access it. Af far as I know it doesn't work (at least not for me). The easiest way is to connect Raspberry Pi directly with your router, login via ssh and set wireless connection.

ssh to your Raspberry Pi

If you try to login using ssh you probably get an error like this (IP address may be different)

ssh: connect to host port 22: Connection refused

This means that you don't have ssh access to your Raspberry Pi. There is an easy fix for that. You need to mount SD card with Raspbian and create a file named ssh on boot partition. Next time you try to use ssh to login to Raspberry Pi you should be able to do it.

Configure WiFi

Probably you would like to use your Raspberry Pi with your WiFi. To do it ssh to your Pi and edit /etc/wpa_supplicant/wpa_supplicant.conf file. You can do it using nano (there's no vim in default installation).


Enjoy your new Raspberry Pi

Last step - reboot (don't forget to disconnect ethernet cable). Now you can connect using assigned IP address or raspberry.local domain name.

ssh pi@raspberrypi.local

If using local domain doesn't work for you use IP address. Enjoy!