RPI: Fixed IP

On your laptop using the file method:

  1. Plug the SD card from the Raspberry Pi into your desktop and you will see 2 disk appear.

Afbeelding met tekst, schermopname, Lettertype, Rechthoek

Automatisch gegenereerde beschrijving


Especially on Windows machines, there's a high chance that at this point the SD card WON'T be fully recognized. In that case, only the 'boot' section might be available, not the 'rootfs' section, which is inconvenient because we specifically need the latter... Otherwise, it's best to use a Monitor, Keyboard, and Mouse, and make the following adjustments from the Raspberry Pi's Graphical Desktop. (see below)


  • In that case, first, insert your SD card into your Raspberry Pi.
  • Connect the monitor, keyboard, and mouse, and switch on the power:
  • If the green LED flashes during startup, the installation on the SD card is usually OK.
  • If the LED stays on, there may have been an error in writing, and it's best to redo this.


Open the rootfs partition of the SD card on your laptop:

Open the Directory "/etc"

Open the file "dhcpcd.conf" with a simple text editor.


At the very bottom of this file, type the following lines:

interface eth0

static ip_address=

static routers=

static domain_name_servers=


Save the file

And make sure to properly eject the SD card before removing it.


Now connect your Raspberry Pi to your laptop via an Ethernet cable and connect the power to the Raspberry Pi.


PC settings:

Change the ethernet settings on your laptop to:

ip adres:




Afbeelding met tekst, software, Webpagina, Website

Automatisch gegenereerde beschrijving