The Raspberry Pi is a small single board computer that was originally intended for education and developing countries. In the last 5 years, it achieved way more than this, as it is now one of the best and easiest platforms for tinkerers and DIYers. It is basically a full Linux computer with a small form factor and energy consumption, making it ideal for homemade projects. Most of the time, you can use the Raspberry Pi as a headless machine, without a monitor, keyboard or mouse, and just use Telnet or SSH to access it. This considerably reduces the total cost of a project, as there will be no need to buy a screen, keyboard or mouse. However, the tricky part of this setup is the first installation of the OS. In this tutorial we’ll learn how to set up a Raspberry Pi in a fully headless way.
When working with a Raspberry Pi, it is often convenient to give it a static IP address. For example, if you use it as a DNS server to block ads with Pi-Hole, you don’t want its IP address to change over time. Let’s learn how to give your Raspberry Pi a static IP address!
It is often useful to connect a Raspberry Pi to a Wifi network, and with the latest models, there is no need for a Wifi dongle anymore, as it is integrated into the board. It can however be tricky to set up the Wifi when there is no desktop interface. In this tutorial we’re going to learn how to configure a Raspberry Pi to connect to a Wifi network, with the command line interface.