Jump to content

mcazoo

Member
  • Posts

    10
  • Joined

  • Last visited

Reputation Activity

  1. Like
    mcazoo reacted to jjk9 in Pi-Hole Setup Tutorial   
    Might be out of date and their may be a simpler way but this is what I can find.
    https://discourse.pi-hole.net/t/how-do-i-set-a-static-ip-address-in-raspbian-jessie-using-etc-dhcpcd-conf/239
    Despite lots of confusing information out there, it is actually pretty straightforward to set a static address in Raspbian. Being by editing the file (do not use /etc/network/interfaces anymore!) sudo vi /etc/dhcpcd.conf Then all you need to do is append this to the bottom of the file, substituting the correct IP address and interface identifier you want. interface eth0 static ip_address=192.168.1.141/24 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 Restart your Pi to apply the changes.  
×