Steps

sudo vim/etc/dhcpcd.conf

add

interface eth0 
static ip_address=10.0.0.10/24 
static routers=10.0.0.1 
static domain_name_servers=10.0.0.1

save

reboot

Leave a Comment

You must be logged in to post a comment.