How to configure raspberry pi without keyboard or monitor connected (step by step)
Table of contents:
- How to install Raspbian OS on Raspberry Pi
- Wifi and SD card connection settings
- Configuring fixed IP
- DNS configuration
- Latest settings
This time we bring you a tutorial that can be very interesting. This is how to configure a Raspberry Pi without having a screen or keyboard connected to it. We will do it all remotely! Let's start!
Index of contents
How to install Raspbian OS on Raspberry Pi
- Enter the official download page. Choose the newest version of Raspbian and download it.
- The version with Desktop has GUI interface. It is recommended for users who are not used to working with text-only interfaces. Lite version has no GUI. When connecting to a monitor we will only see a text interface with which to move around the OS, its filesystem and execute programs just as we would do on a GUI system from the bash console.
- If the SD has already been used, or just in case, we can format it. For that we download, install and run SDFormatter. We choose the letter of the disk of the SD, and press Format .
Wifi and SD card connection settings
We will do everything with a Headless configuration, we explain the steps to follow. It is the first thing we should do, and the easiest. Many times we will not have a second screen or the one we will have does not have HDMI. It also happens that we do not have a keyboard and mouse with a USB connection.
This sometimes complicates initial settings, so it is very interesting to be able to configure the OS before putting the SD on the Raspberry Pi. This is called configuring a Raspberry Pi to run Headless , without a screen or keyboard, and we will configure it on our PC before connecting it to anything.
- We connect the SD to our PC. We check if we can only access the boot disk or folder or we have access to more like etc , usr , lib … Linux and macOS distros should be able to access all the folders, and Windows should not be able to see them. If this is the case, we have to install a program that allows us to mount a disk in the Linux format, such as Paragon ExtFS. Other programs like Ext2fsd do the same but we have not had such a good result.
- With the open Paragon ExtFS program we connect the SD. This time we will see how the folders that until now we did not have visible as a disk are mounted.
ctrl_interface = DIR = / var / run / wpa_supplicant GROUP = netdev update_config = 1 country = ES network = {ssid = " Now we have to configure a static IP, to be able to access the RPi remotely always at the same IP. We open the disk that we have mounted on the pc and open the etc folder to edit the dhcpcd.conf file. What we are doing is editing the /etc/dhcpcd.conf file and adding at the end: interface wlan0 static ip_address = Now we edit /etc/resolv.conf and add the nameserver at the end, which is usually the same as the gateway. Another option is to put the one from google, which is this: Now, after ejecting the SD, inserting it into the RPi and plugging in the power, it must be available on our network. To check that it has a connection with other devices, we open a console on our PC (in windows we press the Start button, we type cmd and we press Enter, in macOS in the search engine we write Terminal and in Linux we press Cntrl + T ) and we type ping If a connection arrives, we download PuTTY on the PC and run it. We write the IP of the RPi in the address bar and press Open . If in the console that opens we receive a response, we write pi and then raspberry . If all went well, we have been successful in setting up our Raspberry Pi in headless mode without ever having to connect it to a screen and keyboard. Congratulations!Configuring fixed IP
DNS configuration
Latest settings
How to configure a proxy in windows 10 step by step
What is a Proxy? What is it for?. In this tutorial we explain how to configure a proxy in Windows 10 in three steps without the need for applications.
▷ How to start safe mode windows 10 【step by step】 【step by step】
If you want to know how you can enter Windows 10 safe mode ✅ in this tutorial we show you all the possible ways to access it.
How to configure your keyboard and mouse without original software
Reassigning buttons, functions or linking macros are the alternatives with which we can configure our keyboard and mouse without original software.