Disabling DHCP on the router causes pi to fail to connect to the router

I'm having some trouble getting pi-hole working correctly with my router. It doesn't allow you to set the DNS server - so I am trying to use it as DHCP for my network.

The problem comes when I disable the DHCP on my router - the raspberry pi appears to be using DHCP rather than a static IP to connect to the router.

Do I need to manually set up a static IP on the rasperry pi? if so what are the steps?

Thanks

Posted May 4, 2017, 12:44 PM UTC

11
KingHawkk•

This is what I used for Ubuntu server, not sure if it is different from Rasbian. https://www.howtoforge.com/linux-basics-set-a-static-ip-on-ubuntu Make sure you set the gateway to your router its IP.

1