Raspberry Pi

C.H.I.P. and Pi-hole Gets You Network-wide Ad Blocking for $9

It’s already easy to block ads network-wide with the Pi-hole on a Raspberry Pi, but now you can do it for even less money by running it on a C.H.I.P. microcomputer, which you can buy for $9.  There is a little bit of manual work to get it on the network since it doesn’t come with an Ethernet port.  You also need to install the curl command, but once you do those two things, you can use the same installation command that you use for the Raspberry Pi.

Note that it is possible to flash your C.H.I.P. with Debian, but you need a jumper cable.  So this walkthrough assumes you have just the basic $9 C.H.I.P. and nothing else (well, maybe a banana 🍌).

Setup Pi-hole On Your C.H.I.P.

First, you will need to connect your C.H.I.P. to the network and set a static IP.  You don’t need an Ethernet cable for this to work.  And if you followed my guide, you will already have SSH and VNC enabled, so you can run these commands locally, or over ssh if you prefer to copy/paste.

First, install curl, which you will need to run the installation script.

apt-get -y install curl

Then, run the Pi-hole installation command:

curl -L | bash

Make sure you pick wlan0, which will be the interface you already set up when you connected to the network earlier.


You can verify that this is the correct interface by opening the network settings from the GUI.


Once you get to the screen asking if you want to use your current settings as a static address, choose Yes.


If you choose no, the installer will try to make /etc/dhcpcd.conf, which the default C.H.I.P. OS does not use (because it uses Network Manager and nmcli).  It might cause weird stuff to happen; I don’t really know.

Let the installer finish.  You will see some errors at the end, which you can safely ignore.

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This has something to do with the small snippet of perl that is used in the whitelist and blacklist scripts.  Even though these warnings appear, the script seems to execute just fine.

Now, just set your devices to use the C.H.I.P. as their DNS server, or change the setting in your router so all of your devices will block ads automagically when they connect to your network.

Continued Development

The Pi-hole is free, but powered by your donations.  Please consider donating to keep the project alive!

10 replies on “C.H.I.P. and Pi-hole Gets You Network-wide Ad Blocking for $9”

It works well! I did not notice a difference between the C.H.I.P. and my Pi-hole on Pi B+ or Pi 2.

My chip arrived today and I’ve tried to set it up to replace my pi as a pi-hole but the installer is blowing up massively. Has the installer changed so much that it no longer plays nice with the chip?

(Different Paul!)

I haven’t tried for a while, but it should work just fine. What sort of issues are you running into?

Apparently they have suspended support for pi-hole on the C.H.I.P for now. I just thought I’d post this in case anyone else happens across this post and have spent a couple hours with a furrowed brow as I have.

Essentially I had a fresh install of pi hole on a new chip up and working until a reboot which would then not allow the ipv4 version of the static ip to ping from outside the chip. I discovered I could ping chip.local by name but would get ipv6 responses.

I did get it working though after finding this thread and removing dhcpcd5 from the install:

If anyone else is a complete nix noob like me its “apt-get remove dhcpcd5”

Keep in mind if you update you will likely need to remove it again!

Jacob, thanks for all your guys’ time and effort.

You’re welcome and I’m sorry we had to drop support for C.H.I.P.. We are still a small team and there was a lot of extra work that went into making the platform work. I made this post before Pi-hole took off and became something, but now that we have more developers and users, it just became too difficult to support.

What a pity as it looks as if only FTL is not running….

For the rest a great product, Pihole I mean… (also the CHIP 😉



A pity FTL is not running. Or did you get it running Erik?
I´m still on Pi-Hole version 2.9.5 on my C.H.I.P.
and was thinking on updating, but why would I if FTL won’t run…

Leave a Reply