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=
static domain_name_servers=

Reboot the raspberry pi.

sudo reboot

Categories: CategoriesRaspberry Pi
Notify of
Inline Feedbacks
View all comments