Change IP Address on Raspberry Pi

Change IP Address on Raspberry Pi

From time to time it may be necessary to change your raspberry pi to use a static ip address.

Edit the dhcpcd.conf file…

SSH into the raspberry pi and type sudo nano /etc/dhcpcd.conf

Insert the ip address information to the top of the file and save.

interface eth0
static ip_address=192.168.1.X/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

Reboot the raspberry pi.

sudo reboot

About Chris

Chris Pounds is a software engineer, entrepreneur, and tech junky. He holds a Bachelor of Science in Information Technology from Western Governors University.

Leave a comment

Your email address will not be published. Required fields are marked *