Get started with pi-hole the network-wide ad blocker

Getting Started with Pi-hole - Your Network-wide ad blocker

Pi-supply and Pi-hole have partnered together to bring you a complete Pi-hole solution – a device that allows you to block those annoying ads for every computer device on your local network.

The Pi-hole acts as a Domain Name System (DNS) server, something that sits in-between you and the internet. This allows the Pi-hole to intercept any outgoing or incoming DNS requests and can block or pass certain domains from accessing your device, keeping your computer and other devices safe from ads.

What you will need

Connecting your hardware

  1. Connect an Ethernet cable from your Pi-hole Box to your router
  2. Connect your Keyboard & Mouse to the USB ports on the Pi-hole Box
  3. Connect a HDMI cable to your TV/Monitor
  4. Connect a micro USB DC power supply to the Pi-hole Box

Gather your network requirements

Pi-hole needs a static IP address in order to function properly. By default your router will most likely give your device a different IP address every time it connects to the network or after a period of 30 days. What we need is for the IP address to never change when the Pi-hole is connected to your router, otherwise you would have to re-configure the Pi-hole settings every so often, and this is not practical. 

There are two ways in which you can set a static IP address on your router; you can either set it as a static address or you can use Dynamic Host Control Protocol (DHCP) reservation. The easiest and most convenient way to set a static IP is using DHCP reservation.

If you are using DHCP, this information can be found in your router's web interface:

  1. Logon to your router's web interface. This is usually a static IP address in which you put into the web browser and can be found in either your routers manual or on a sticker on the reverse side of the router hardware. You will also be required to enter a password.

  1. In the web interface navigate and locate a section called DHCP settings or something similar.

  1. Look for a reservations setting

  1. You should see a full list of connected devices from a list
  2. Click on the small tick box next to the Pi-hole (raspberry) and add the reservation

  1. The Pi-hole IP address should now be added to the reserved list, where the IP address will always be assigned to the Pi-hole. Make sure you take note of the IP address as we will need it later on in this guide.

Use Pi-hole as your DNS server

Now that we have set the Pi-hole to use a static IP address on the local network we need to make sure that every device on the network will now use the Pi-hole as its DNS server:

  1. Enter your router's configuration page and depending on on your router's interface you should see a setting or menu that says static DNS or DNS server.
  2. Here you need to enter the IP address of your Pi-hole, which we set earlier in the DHCP section.

Note: If you router does not let you change the DNS or if the setting is not there, then please refer to the FAQ section.

Configure your Pi-hole

The Pi-hole software is already pre-installed; you just need to configure it for your network. In just a few simple steps you will be up and running in no time, blocking those annoying ads:

  1. Login to your Raspberry Pi with the username and password, which is adblock and blackhole.
  2. Open up the Terminal window by clicking the icon in the toolbar or by navigating to Home > Accessories > Terminal

  1. Type in the command pihole -r and hit enter
  2. When prompted choose Reconfigure in the menu

  1. Follow the on-screen instructions to configure the Pi-hole
  2. Select a DNS server to use

  1. Make sure you also select install for the web interface

  1. Once complete you will be presented with a screen with your interface address which is:

  1. Run pihole -up to check for and install any updates to the software
  2. In order to access the settings in the web interface you will need to set a password with sudo pihole -a -p


My router does not allow me to change my DNS settings

Some internet providers provide a router that does not allow you to change the DNS, this is so that you are forced to use their default DNS server. Follow this guide here to be able to redirect the DNS server to the Pi-hole -

The site cannot be reached

Make sure that your IP address has not changed in your router settings and also that the DNS redirect is active

Why is my Pi-hole is not blocking ads?

Make sure that you have only 1 active DNS in your router otherwise any internet traffic may not be redirecting to the Pi-hole but rather to the default DNS

I cannot see my Pi-Hole on my network?

In some instances there have been cases where the Pi-Hole is not receiving an IP address from your router via DHCP. You will need to open up the Terminal window on the Pi-Hole and enter the following for one to be released:

sudo dhclient

Give us a tip!

Our learning and blog content is shared and released for free with no adverts ever, guaranteed! If this content helped your project or you just like the work we do and would like to help us grow the content and products we have available, please consider giving us a tip...


ETH: 0x7323173a7b70e391b82c811af7ebc9ef0d777643


PayPal: Donate with PayPal

Previous article Getting started with QTUM StakeBox
Next article How to install a new operating system on the StakeBox


StakeBox Staff - September 11, 2018

@Christian Default login credentials are:
Username: adblock
Password: blackhole

Christian - September 11, 2018


and what’s the root password?


Leave a comment

Comments must be approved before appearing

* Required fields