User Tools

Site Tools


Configure Static IP Address

Raspbian Jesse changed the way a static IP Address is configured. The static IP settings are now held in a file located in the /etc directory called dhcpcd.conf
To edit the dhcpcd.conf file, enter:

      sudo nano /etc/dhcpcd.conf

At the end of the file add the following lines (with your own IP Address values)

      static ip_address=
      static routers=
      static domain_name_servers=

Save the file.

To enable the changes you can either restart the network service:

      sudo /etc/init.d/networking restart

Or you can simply reboot:

      sudo reboot

configure_static_ip_address.txt · Last modified: 2023/03/09 22:35 by